Skip to content

Add file parameter to verify-included #19

Description

@SteveLasker

veracity works well with piping results into the verify-included command. When working with local files, it just requires cat file.json | veracity verify-included

To create independent, composable commands, I suggest we enable passing an existing file to the veracity command
Desired Output:

curl -sL $DATATRAILS_URL/archivist/v2/$EVENT_ID > event.json

# Show the local results
cat event.json | jq

#verify inclusion w/ith veracity
cat event.json | \
        veracity --data-url $DATATRAILS_URL/verifiabledata \
        --tenant=$PUBLIC_TENANT_ID \
        --loglevel=INFO \
        verify-included \
        ./event.json

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