Skip to content

feat: add 'delegation ls' and 'delegation revoke' management commands (JS -> GO) #367

@Pranav-1100

Description

@Pranav-1100

cc: @alanshaw @Peeja @hannahhoward

I would like to propose adding the remaining two delegation commands to Guppy. These help users manage the permission slips they give out right from the terminal.

Proposed Commands

  • delegation ls :- Lists all delegations created by this agent for others
  • delegation revoke :- Tells the network to permanently revoke a specific delegation CID

Additional Fix
I also plan to update delegation create so it automatically saves the newly created delegation to the local agent datastore. Right now, it doesn't save it locally, which means delegation ls wouldn't be able to find it.

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