1.0.1 • Published 3 years ago
asad-todo-cli v1.0.1
asad-cli
Todo App CLI
- First where you want to use this package create a todos.jsos file
then put and array [] brackets in file and then use
Usage
$ npm install -g asad-todo-cli
$ asad-cli COMMAND
running command...
$ asad-cli (-v|--version|version)
asad-todo-cli/1.0.0 win32-x64 node-v14.17.0
$ asad-cli --help [COMMAND]
USAGE
$ asad-cli COMMAND
...
Commands
asad-cli add [TODO]
asad-cli hello [FILE]
asad-cli help [COMMAND]
asad-cli interact
asad-cli list
asad-cli remove [INDEX]
asad-cli add [TODO]
Add new todo to list
USAGE
$ asad-cli add [TODO]
OPTIONS
-d, --done
See code: src/commands/add.ts
asad-cli hello [FILE]
describe the command here
USAGE
$ asad-cli hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ asad-cli hello
hello world from ./src/hello.ts!
See code: src/commands/hello.ts
asad-cli help [COMMAND]
display help for asad-cli
USAGE
$ asad-cli help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
asad-cli interact
Enter the interacting mode
USAGE
$ asad-cli interact
See code: src/commands/interact.ts
asad-cli list
Print out all todos
USAGE
$ asad-cli list
See code: src/commands/list.ts
asad-cli remove [INDEX]
Remove a todo from list
USAGE
$ asad-cli remove [INDEX]
See code: src/commands/remove.ts