`--container-repository-prefix` doesn't respect `--non-interactive`
justinyoo opened this issue Β· comments
π₯ Bug Description
Related to #112 #115 with v0.1.36-preview
.
I run the following aspirate init
command:
# Case 1
aspirate init -cr <container-registry-url> -ct latest --container-repository-prefix "" --non-interactive
# Case 2
aspirate init -cr <container-registry-url> -ct latest --non-interactive
However, although it's set with the --non-interactive
option, it still asks whether to skip the container-repository-prefix
value or not. I expected to be automatically set to null
, if the option is not passed.
π§― Possible Solution
- If the
--non-interactive
option is set, theaspirate init
command should automatically skip setting thecontainer-repository-prefix
value and set it tonull
.
Aaaand, can I also ask its short-form argument, like -crp
or -rp
on top of --container-repository-prefix
?
I've removed prefix from being a required option, and added -crp as a shortname alias
Sorry it took so long π
Version 0.1.39 has it - going out in a few
Thanks for your support! It would be a big win for me to prepare an Aspire workshop next week!
you're welcome justin π