todo-cli-js
v0.0.7
Published
A todo manager on the command-line interface.
Downloads
5
Readme
todo-cli-js
A todo manager on the command-line interface.
Usage
$ npm install -g todo-cli-js
$ todo COMMAND
running command...
$ todo (--version)
todo-cli-js/0.0.7 linux-x64 node-v16.14.2
$ todo --help [COMMAND]
USAGE
$ todo COMMAND
...
Commands
todo add
Add a todo item.
USAGE
$ todo add -d <value> [-s done|undone] [-t <value>]
FLAGS
-d, --description=<value> (required) Description of todo.
-s, --status=(done|undone) [default: undone] Status of todo's.
-t, --tags=<value> Tags of todo.
DESCRIPTION
Add a todo item.
EXAMPLES
$ todo add -d 'A new todo.'
See code: dist/commands/add/index.ts
todo edit
List todo items.
USAGE
$ todo edit -i <value> [-s all|done|undone] [-t <value>] [-d <value>]
FLAGS
-d, --description=<value> Description of todo.
-i, --id=<value> (required) Id of todo.
-s, --status=(all|done|undone) Status of todos'.
-t, --tags=<value> Tags of todo.
DESCRIPTION
List todo items.
EXAMPLES
$ todo edit -i 233 -s done -d "A new description"
See code: dist/commands/edit/index.ts
todo help [COMMAND]
Display help for todo.
USAGE
$ todo help [COMMAND] [-n]
ARGUMENTS
COMMAND Command to show help for.
FLAGS
-n, --nested-commands Include all nested commands in the output.
DESCRIPTION
Display help for todo.
See code: @oclif/plugin-help
todo ls
List todo items.
USAGE
$ todo ls [-i <value>] [-s all|done|undone] [-t <value>] [-d <value>]
FLAGS
-d, --description=<value> Description of todo.
-i, --id=<value> Id of todo.
-s, --status=(all|done|undone) [default: undone] Status of todos'.
-t, --tags=<value> Tags of todo.
DESCRIPTION
List todo items.
EXAMPLES
$ todo ls -s all
See code: dist/commands/ls/index.ts
todo rm
Remove a todo item.
USAGE
$ todo rm [-i <value>]
FLAGS
-i, --id=<value> Id of todo.
DESCRIPTION
Remove a todo item.
EXAMPLES
$ todo rm -i 233
See code: dist/commands/rm/index.ts
License
MIT