Support pre-configured list values for flags #274
-
ProposalThere are situations where the value for a flag is generally going to be 1 of a small number of possible values. For example, if you are using the Rancher provider you may only have 3 different Its proposed that we introduce a mechanism by which we define a list of possible values in the config.yaml and have the user select from the list instead. The functionality should be generally applicable to any flag value. Using Idea 1 - Explicit
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I think i prefer 1 for the following reasons:
However, if a list is referenced and the list doesn't exist then we would need to error. |
Beta Was this translation helpful? Give feedback.
-
I also prefer the first option, think it is cleaner |
Beta Was this translation helpful? Give feedback.
I also prefer the first option, think it is cleaner