MongoCLI Wizard Flag
Currently a user needs to manually insert at least all the required flags to use a mongocli command. We can implement the flag --wizard which guides the user through flags with interactive prompts.
This flag should be added to all the commands to allow the user to get interactive prompts when required flags are not provided.
The wizard flag will have the following functionalities:
- Asking to the user the required flags with interactive prompts
- Showing a list of optional flags and asking to insert their values if selected
- In case of describe commands, showing the list of resources available (mongocli atlas cluster describe, list the available clusters)
- Letting users select a specific value from a list of accepted values
- If no required flags are given, mongocli will start the wizard mode
GitHub PR: https://github.com/mongodb/mongocli/pull/511
1
vote
Andrea Angiolillo
shared this idea