Description:
The search 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 searching process.
The conclusion is to try to inquire the user for the command as a dropdown unordered search list using the inquirer npm package.
Here is the scenario to be done:
User> switchy search
CLI> Type repository name!
- option1
- option2
- option3
....
or it won't display any thing if the repository doesn't exist.
Note: the command exits once the user pressed enter except that the query is running while user pressing any thing else.
Description:
The
searchcommand isn't user friendly because it doesn't have a high level approach to ask user for the query to be used in the searching process.The conclusion is to try to inquire the user for the command as a dropdown unordered search list using the
inquirernpm package.Here is the scenario to be done:
or it won't display any thing if the repository doesn't exist.