Inquirer is typescript package which is used to take different types of input from user on CLI.
Use the package manager npm to install Inquirer.
npm i inquirer
const answers = await inquirer.prompt([
{
type: 'list',
name: 'todo_name',
choices: [
'*> View TODOs',
'*> Add TODO',
'*> Del TODO',
'*> Move to Complete',
'*> View Completed TODOs',
'*> Exit TODO',
]
}
]);
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.