@jstak/taskcli
v1.0.6
Published
Create and track your easy-to-use portable TODO list
Readme
Task CLI
Description
This program creates and tracks an easy-to-use portable todo list
Requirements
- Any GNU/Linux Debian based OS (other OSes not tested)
- NodeJS v12.22.9 or newer
Installation
npm i --global @jstak/taskcliUsage
Syntax
task command <command options>
commands:
add <description>
returns ID of the new task
update <id> <description>
delete <id>
list [todo | in-progress | done]
if no status is provided, list all tasks
mark [todo | in-progress | done] <id>
Caveats:
For multi-word descriptions, wrap <description> in single or double quotation marks.
ID should be a positive integer.Q&A
What happens if update, delete, or mark is called with a non-existent ID? (error code, message, silent ignore)?
R: The programs gives you a warning and returns normally, displaying the correct syntax (TODO: Improve this, it's not necessary to show the syntax if the ID is invalid. It adds unnecessary information to the user.)
How and where is the data stored?
R: As a JSON file in the $HOME/.local/share/taskcli folder, otherwise, check $XDG_DATA_HOME path.
