todo_app_typescript
v1.2.4
Published
This is simple todo app build with typescript and inquirer
Downloads
7
Readme
TODO CLI Application in Typescript by Gen-AI-Developer (Syed Safdar Ali Shah)
Inquirer is typescript package which is used to take different types of input from user on CLI.
Installation
Use the package manager npm to install Inquirer.
npm i inquirer
Usage
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',
]
}
]);
Contributing
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.