Skip to content

w3 delegation revoke command does not work #163

@magror

Description

@magror

I am using @web3-storage/w3up-cli in my Node project.
"@web3-storage/w3up-cli": "^3.0.1"

On the Github I see there is the command w3 delegation revoke <delegation-cid>

I want to delete delegations I've made because through the process of figuring out how the agent/delegation/proof system works, I ended up creating multiple delegations that have incorrect DID's as the audience.

I try running this command as follows:
yarn w3 delegation revoke bafyreibo453ep...(continued cid)

The response is:

ERROR
    Invalid command: delegation revoke bafyreibo453epwps...(continued cid)

  Run `$ w3 --help` for more info.

Other commands such as yarn w3 delegation ls work perfectly fine.

I noticed on the NPM page for @web3-storage/w3up-cli that the version on NPM is version 3.0.1 which is a year old. The current version on GitHub is version 7.2.1. Is this the cause of the delegation revoke command not working?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions