taskercli
learning to make a cli
Usage
$ npm install -g @therealxex/taskercli
$ taskercli COMMAND
running command...
$ taskercli (-v|--version|version)
@therealxex/taskercli/0.0.9 linux-x64 node-v11.12.0
$ taskercli --help [COMMAND]
USAGE
$ taskercli COMMAND
...
Commands
taskercli add
Adds a new todo
USAGE
$ taskercli add
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
-t, --task=task task
DESCRIPTION
....
Adds a new todo to the exisiting list
See code: src/commands/add.ts
taskercli help [COMMAND]
display help for taskercli
USAGE
$ taskercli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
taskercli remove
Removes a task by id
USAGE
$ taskercli remove
OPTIONS
-f, --force
-h, --help show CLI help
-i, --id=id (required) task id to remove
-n, --name=name name to print
DESCRIPTION
...
Removes a task permanently from database by id selection
See code: src/commands/remove.ts
taskercli show
Show existing tasks
USAGE
$ taskercli show
OPTIONS
-f, --force
-h, --help show CLI help
DESCRIPTION
...
Shows all the tasks sorted by their ids
See code: src/commands/show.ts
taskercli update
Marks a task as done
USAGE
$ taskercli update
OPTIONS
-f, --force
-h, --help show CLI help
-i, --id=id task id
DESCRIPTION
...
Marks a task as done
See code: src/commands/update.ts