Linux command
dstask 命令
安全
权限或系统影响较大,执行前请核对目标。
常用示例
Add
dstask add [task description]
List
dstask
Mark
dstask done [task_id]
View
dstask context [context_name]
说明
dstask is a task manager that stores todos in a Git repository, allowing for version control, synchronization across devices, and offline access. It follows the Getting Things Done (GTD) methodology with support for contexts, projects, and priorities. Tasks are stored as simple text files in a Git repository, making them portable and avoiding vendor lock-in. The tool provides a clean command-line interface for managing tasks without unnecessary complexity.
参数
- -c, --context _CONTEXT_
- Set context filter
- -p, --project _PROJECT_
- Set project filter
- -P, --priority _PRIORITY_
- Set priority: low, medium, high, critical
- -t, --tag _TAG_
- Add tag to task
- -n, --note _NOTE_
- Add note to task
- --due _DATE_
- Set due date (YYYY-MM-DD)
- -v, --verbose
- Enable verbose output
- -h, --help
- Display help and exit
- --version
- Display version and exit
FAQ
What is the dstask command used for?
dstask is a task manager that stores todos in a Git repository, allowing for version control, synchronization across devices, and offline access. It follows the Getting Things Done (GTD) methodology with support for contexts, projects, and priorities. Tasks are stored as simple text files in a Git repository, making them portable and avoiding vendor lock-in. The tool provides a clean command-line interface for managing tasks without unnecessary complexity.
How do I run a basic dstask example?
Run `dstask add [task description]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -c, --context _CONTEXT_ do in dstask?
Set context filter