Default selections for CLI variables #1118
Labels
💎 bounty 💎
cli
enhancement
New feature or request
good first issue
Good for newcomers
medium-priority
needs-team-review
A lot of operations could benefit from having the ability to select defaults.
A default context, default identity in a context, etc;
context identity list <context-id>
instead ofcontext identity list <context-id>
call <method>
instead ofcall <context> <method> --as <who>
etc..We can take advantage of the Alias API introduced in #1094 & #1114.
The alias name can be
default
.The API for defining defaults can be;
but of course, the
alias
step need not be definedand when a context has not been aliased or set as default, the required arguments to
identity use
becomes:context identity use CCG3HwvSFeVgsGkzkv1KLXfwoGKZky9m9FdKWa6vZGS --context DJaNFHW9HSt23AJj4R2YA9cERZrAEwuRiBXp8cAAQ1U8
And listing (#1117), should take this into account, showing
default
The text was updated successfully, but these errors were encountered: