Description:
The remove command isn't user friendly because it doesn't have a high level approach to ask user for the query to be used in the selection process.
The conclusion is to try to inquire the user for the command as a dropdown unordered selection list using the inquirer npm package.
Here is the scenario to be done:
User> switchy update
CLI> enter repository name!
- option1
- option2 *Selected*
- option3
....
User> selects option2
CLI> Confirm Deletion of option2 repository (y/n)?
User> y
CLI> continuing the deleting process.
Description:
The
removecommand isn't user friendly because it doesn't have a high level approach to ask user for the query to be used in the selection process.The conclusion is to try to inquire the user for the command as a dropdown unordered selection list using the
inquirernpm package.Here is the scenario to be done: