9

Improve `ockam space create` by add missing argument `--identity` (`clap` comman...

 11 months ago
source link: https://github.com/build-trust/ockam/issues/6125
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Member

Current behavior

Currently ockam space [list, delete, show] commands all take an --identity flag. However the ockam space create does not, and it should. This argument allows this command to be run as the given identity name.

Desired behavior

Add the CloudOpts struct to the clap arguments list that the create command takes.

You can find the file to change here.

Check to see that the help text is updated when you run ockam space create --help.

Note that the current tests (bats and Rust) are probably not going to be affected by this change since they use a default identity. Might need to update bats tests and other tests as well.


We love helping new contributors! ❤️
If you have questions or need help as you explore, please join us on Discord. If you're looking for other issues to contribute to, please checkout our good first issues.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK