todo-cli-node
v1.0.1
Published
todo cli application
Downloads
3
Readme
todo-cli-node
todo cli application
Usage
$ npm install -g todo-cli-node
$ todo-cli-node COMMAND
running command...
$ todo-cli-node (-v|--version|version)
todo-cli-node/1.0.1 win32-x64 node-v10.16.3
$ todo-cli-node --help [COMMAND]
USAGE
$ todo-cli-node COMMAND
...
Commands
todo-cli-node add
todo-cli-node done
todo-cli-node help [COMMAND]
todo-cli-node remove
todo-cli-node show
todo-cli-node add
Adds a new todo
USAGE
$ todo-cli-node add
OPTIONS
-n, --task=task task
DESCRIPTION
...
Adds a new todo to the exiting list
See code: src\commands\add.js
todo-cli-node done
Marks a task as done
USAGE
$ todo-cli-node done
OPTIONS
-n, --id=id task id
DESCRIPTION
...
Marks a task as done
See code: src\commands\done.js
todo-cli-node help [COMMAND]
display help for todo-cli-node
USAGE
$ todo-cli-node help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
todo-cli-node remove
Removes a task by id
USAGE
$ todo-cli-node remove
OPTIONS
-n, --id=id (required) task id
DESCRIPTION
...
Removes a task permanently from db by id
See code: src\commands\remove.js
todo-cli-node show
Shows existing tasks
USAGE
$ todo-cli-node show
DESCRIPTION
...
Show all the tasks sorted by their ids
See code: src\commands\show.js