Skip to content

Discrepancy in claim, discover and trust commands in CLI #28

@addievo

Description

@addievo

Specification

Currently the claim command in Polykey-CLI uses the following syntax

npm run polykey -- identities claim github.com GITHUBUSERNAME

Whereas the discover and trust commands use

npm run polykey -- identities discover github.com:ANOTHERGITHUBUSERNAME
npm run polykey -- identities trust github.com:ANOTHERGITHUBUSERNAME

The claim command is out of sync of trust and discover, as they both utilize a COLON to separate provider and identity, whereas the claim command uses a space, this discrepancy is a bug.

Tasks

  1. src/identities/CommandClaim.ts to alter the input args to be in-line with trust and discover.
  2. ...
  3. ...

After this change, all the identity related functions of polykey would be syntactically identical.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions