-
Notifications
You must be signed in to change notification settings - Fork 14
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
fix: restructured the configuration file #85
Conversation
@TimoGlastra the |
|
||
```sh | ||
aries-cli init | ||
# or | ||
aries-cli config --initialise | ||
aries-cli config --initialize | ||
``` | ||
|
||
This will create a file at `~/.config/aries-cli/config.ini` for \*NIX systems and `TODO` for Windows. It will set a default endpoint to `https://agent.community.animo.id`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For windows we now this as well now don't we?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the docs have to be rewritten. Will do at a later stage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, sounds reasonable
@@ -38,7 +21,15 @@ impl Default for Configuration { | |||
|
|||
#[derive(Debug, PartialEq, Serialize, Deserialize)] | |||
pub struct Configurations { | |||
pub configurations: Vec<Configuration>, | |||
pub configurations: BTreeMap<String, Configuration>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
@@ -1,6 +1,6 @@ | |||
configurations: | |||
- name: Default | |||
default: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
Signed-off-by: Berend Sliedrecht <[email protected]>
Signed-off-by: Berend Sliedrecht <[email protected]>
Signed-off-by: Berend Sliedrecht <[email protected]>
1cba0e4
to
c78f798
Compare
aries-cli configuration --initialize
->aries-cli configuration initialize
aries-cli configuration --view
->aries-cli configuration view
Signed-off-by: Berend Sliedrecht [email protected]