Related to issue #5560.
We could help users with better prompting features.
We currently have a prompting feature that prompts users to fill in values for required fields... which is awesome.
However, the user always has to fill in the value manually.
💡 Idea
When an option is required and has a 'autocomplete' values, we can prompt the user to select the correct value from a list, instead of them having to type it manually. An example of this is the aad app role add command which has an --allowedMembers option with configured autocomplete.
⚙️ Implementation
We can implement this in the validateRequiredOptions function in the Command.ts file.
The autocomplete values are available there
Related to issue #5560.
We could help users with better prompting features.
We currently have a prompting feature that prompts users to fill in values for required fields... which is awesome.
However, the user always has to fill in the value manually.
💡 Idea
When an option is required and has a 'autocomplete' values, we can prompt the user to select the correct value from a list, instead of them having to type it manually. An example of this is the aad app role add command which has an
--allowedMembersoption with configured autocomplete.⚙️ Implementation
We can implement this in the
validateRequiredOptionsfunction in the Command.ts file.The autocomplete values are available there