Description:
The update 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 inquirernpm package.
Here is the scenario to be done:
User> switchy update
CLI> enter repository name!
- option1
- option2 *Selected*
- option3
....
User> selects option2
CLI> enter the new path!
User> new path
CLI> continuing the updating process.
Description:
The
updatecommand 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: