Skip to content

CLI Command Design: Create a Trust Claim (subcommand: claim) #6

@harlantwood

Description

@harlantwood

Usage

Create Claims

trust claim --help

Usage: trust-claim [options]

  Options:

    -h, --help                   output usage information
    --creator <creator>          DID or URL of claim creator
    --target <target>            DID or URL of claim target
    --tags <tag1, tag2>          Rating tags (at least 1 tag is required)
    --description <description>  Rating description
    --extra key=value           Extra data (can be used multiple times)
    --value <value>              Rating weight in the range 0..1
    --algorithm <algorithm>      Signing algorithm
    --private-key <key>          Private key
    --target-format <format>     opentrustclaim | reputon | trustatom | trustclaim 
    --write <store>              stdout | file | ipfs 

Note: add OpenTrustClaim fields as top level --options.

* reputons: https://www.rfc-editor.org/rfc/rfc7071

Metadata

Metadata

Assignees

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