todo_app_typescript

1.2.4 • Public • Published

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.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i todo_app_typescript

Weekly Downloads

10

Version

1.2.4

License

MIT

Unpacked Size

20.4 kB

Total Files

6

Last publish

Collaborators

  • generative_ai_developer