veramo icon indicating copy to clipboard operation
veramo copied to clipboard

[proposal] @veramo/cli should use a default config location

Open mirceanis opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Please describe.

Right now, if you want to use a veramo command in the terminal, you have to point to a config file or run the command from a folder that has a valid agent.yml file.

Describe the solution you'd like

It would be much more useful if some commands that don't require too much overhead could be run from anywhere. (I'm thinking of resolving a DID or verifying a signature)

Describe alternatives you've considered

an alternative would be to use an alias:

veramo config create --filename ~/.veramo/agent.yml
echo "alias vrm=\"veramo --config $HOME/.veramo/agent.yml"\" >> ~/.bashrc
source ~/.bashrc

and then use vrm for ephemeral commands

mirceanis avatar Jan 29 '21 16:01 mirceanis

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 18 '21 23:04 stale[bot]

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 10 '21 20:07 stale[bot]