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

feat(cli): add command to verify an agent configuration file #729

Merged
merged 1 commit into from
Oct 27, 2021

Conversation

mirceanis
Copy link
Member

Run veramo config check in a terminal to check that the agent.yml syntax is correct and that an agent can be created from it.
In case of YML errors, the problematic line is indicated.

You can check for a different file using the -f option and also verify that a particular method can be called on the created agent using the -m option.

I also added some aliases and a more descriptive output to the veramo config create-secret-key command.

@mirceanis mirceanis force-pushed the add-key-gen-helper-to-cli branch from 4930b3f to 8aaa614 Compare October 27, 2021 17:23
Run `veramo config check` in a terminal to do a simple syntax check on the agent.yml file
@mirceanis mirceanis force-pushed the add-key-gen-helper-to-cli branch from 8aaa614 to 85d3208 Compare October 27, 2021 17:27
@codecov
Copy link

codecov bot commented Oct 27, 2021

Codecov Report

Merging #729 (85d3208) into next (88264db) will increase coverage by 11.45%.
The diff coverage is 76.01%.

@@             Coverage Diff             @@
##             next     #729       +/-   ##
===========================================
+ Coverage   67.58%   79.03%   +11.45%     
===========================================
  Files          62       85       +23     
  Lines        1530     2609     +1079     
  Branches      247      447      +200     
===========================================
+ Hits         1034     2062     +1028     
- Misses        400      545      +145     
+ Partials       96        2       -94     

@mirceanis mirceanis merged commit 2790ebc into next Oct 27, 2021
@mirceanis mirceanis deleted the add-key-gen-helper-to-cli branch October 27, 2021 17:49
@mirceanis mirceanis mentioned this pull request Nov 12, 2021
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

Successfully merging this pull request may close these issues.

2 participants