Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file parameter to verify-included #19

Open
SteveLasker opened this issue Jul 15, 2024 · 0 comments
Open

Add file parameter to verify-included #19

SteveLasker opened this issue Jul 15, 2024 · 0 comments

Comments

@SteveLasker
Copy link
Contributor

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant