Description:
The redirect 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 redirect
CLI> Type repository name!
- option1
- option2 *Selected*
- option3
....
after pressing enter key, the cli opens the repository.
Description:
The
redirectcommand 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:
after pressing enter key, the cli opens the repository.