decentralized-identity / decentralized-identity/veramo

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

Open
#359 2 comments 0 reactions 0 assignees View on GitHub
CLI enhancement good first issue pinned
Dominant language
TypeScript
Stars
543
Forks
137
Avg merge
12m
Merged PRs (30d)
2

Description

**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:
```bash
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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.