Contexts:
- Almost every create command needs to provide a resource group and a few people have expressed the desire that CLI should create it if not existing
- But to create a group, we need
location which is an optional argument
Propose:
- We can let CLI handle it at base layer, and expose a configuration point like
auto-create-group. A user can set it to true, or maybe we default to true
- For the
location parameter needed to create the group, we can handle it:
a. If the location is supplied at command, use it
b. Again, we can expose a configuration point of default location and CLI will use that.
/cc: Johan Stenberg (ex-msft) (@johanste), Cole Mickens (@colemickens) , Ralph Squillace (@squillace)
Contexts:
locationwhich is an optional argumentPropose:
auto-create-group. A user can set it totrue, or maybe we default totruelocationparameter needed to create the group, we can handle it:a. If the
locationis supplied at command, use itb. Again, we can expose a configuration point of
default locationand CLI will use that./cc: Johan Stenberg (ex-msft) (@johanste), Cole Mickens (@colemickens) , Ralph Squillace (@squillace)