TODO CLI APP
This is intended for managing the tasks locally. By default uses $HOME/.todo.json file to store the data. (you can change this using --config option any time)
Contains following commands
- Add (todo add) — supports
--priority low|medium|high - List (todo ls)
- Edit (todo edit) — change task text or priority
- Search (todo search) — filter by keyword
- Delete (supports space separated multiple params) (todo delete)
- Mark Complete (supports space separated multiple params) (todo complete)
- Mark Pending (supports space separated multiple params) (todo pending)
- Cobra
- Viper
- Simple table
Choose appropriate binary releases
- Rename the binary to 'todo'.
- Add the binary to your environment path and use it.
COMMAND FORMAT:
todo add "project - task - jiraLink"
todo add "YOUR_PROJECT_NAME - TASK_NAME - http://www.yourcompany.jira.com"
todo add --priority high "project - task - jiraLink"
todo edit 1 "updated project - updated task - new Jira link"
todo edit 1 --priority medium
todo edit 2 "new task text" --priority low
todo search "project-name"
todo complete 1
<!-- you can also mark multiple tasks to mark complete by passing space separated ids -->
todo complete 1 2 ..
todo pending 1
<!-- you can also mark multiple tasks back to mark pending by passing space separated ids -->
todo pending 1 2 ..
todo delete 1
<!-- you can also mark multiple tasks for deletion by passing space separated ids -->
todo delete 1 2 ..
>todo -h
TODO CLI APP (for issue -> https://github.com/dineshr93/todo/issues)
1. Add (todo add)
2. List (todo ls)
3. Edit (todo edit)
4. Search (todo search)
5. Delete (supports space separated multiple params) (todo delete)
6. Mark Complete (supports space separated multiple params) (todo complete)
7. Mark Pending (supports space separated multiple params) (todo pending)
Usage:
todo [command]
Available Commands:
add Add a todo. Format: Project - Task - JIRA link
complete Mark a task as completed (supports space separated multiple params)
delete Delete a task from the list (supports space separated multiple params)
edit Edit a todo item's task text or priority
help Help about any command
ls List all todos
pending Mark a task as pending (supports space separated multiple params)
search Search todos by keyword
Flags:
--config string config file (default is $HOME/.todo.json)
-h, --help help for todo
Use "todo [command] --help" for more information about a command.
Dinesh Ravi
- 1.0.0
- Initial Release
- 2.0.0
- Added edit, search commands
- Added priority support
- Fixed config file name to .todo.json
- Fixed DeleteSA sorting bug
- Fixed error handling in CompleteSA/PendingSA
- Replaced deprecated ioutil with os package
- Code cleanup
This project is licensed under the Apache License 2.0 or GPL-3.0 - see the LICENSE file for details
- cobra
- viper
- simpletable
- joefazee (for models under GPL-2.0)
