-
Notifications
You must be signed in to change notification settings - Fork 0
CLI Options
Wylie Standage-Beier edited this page Dec 11, 2025
·
2 revisions
Command line options for TaskFlow.
taskflow [OPTIONS]taskflow --help
taskflow -hShows all available options.
taskflow --version
taskflow -VShows version information.
taskflow --backend json
taskflow --backend yaml
taskflow --backend sqlite
taskflow --backend markdownOverride the configured storage backend.
taskflow --data-dir /path/to/data
taskflow -d ~/Dropbox/taskflowUse a custom data directory.
taskflow --view today
taskflow --view upcoming
taskflow --view all
taskflow --view overdue
taskflow --view calendartaskflow --filter "tag:work"
taskflow --filter "project:Home"
taskflow --filter "priority:high"
# Complex boolean filters
taskflow --filter "priority:high AND !status:done"
taskflow --filter "(tags:bug OR tags:urgent) AND project:backend"
# Date ranges
taskflow --filter "due:2025-01-01..2025-03-31"
# Numeric ranges
taskflow --filter "estimate:30..120"See Views-and-Filtering#Advanced-Filter-DSL for complete filter DSL documentation.
taskflow --search "report"Add a task without entering the TUI:
taskflow --add "Buy groceries due:tomorrow #personal"
taskflow -a "Call mom @Personal !high"Uses Quick-Add-Syntax for parsing.
taskflow --config /path/to/config.toml
taskflow -c ~/.config/taskflow/work.tomltaskflow --no-configStart with default settings.
taskflow --list
taskflow -lPrint tasks to stdout and exit.
taskflow --list --filter "due:today"
taskflow -l --filter "tag:urgent"taskflow --list --jsonOutput tasks as JSON.
taskflow --quiet
taskflow -qSuppress non-essential output.
taskflow --export tasks.csv
taskflow --export tasks.json
taskflow --export tasks.icstaskflow --import tasks.csv
taskflow --import calendar.icstaskflow --verbose
taskflow -v
taskflow -vv # More verbose
taskflow -vvv # Debug leveltaskflow --log-file /tmp/taskflow.logtaskflow --dry-run --import tasks.csvPreview import without making changes.
Generate shell completion scripts:
taskflow --completions bash > ~/.local/share/bash-completion/completions/taskflowtaskflow --completions zsh > ~/.zfunc/_taskflowtaskflow --completions fish > ~/.config/fish/completions/taskflow.fish# See today's tasks
taskflow --view today
# Add a quick task
taskflow -a "Review PR #work !high due:today"
# List overdue tasks
taskflow -l --filter "overdue"# Count pending tasks
taskflow --list --json | jq '.[] | select(.status=="todo")' | wc -l
# Export for backup
taskflow --export ~/backup/tasks-$(date +%Y%m%d).json
# Import from calendar
taskflow --import ~/calendar-export.ics# Work profile
alias tf-work='taskflow --config ~/.config/taskflow/work.toml'
# Personal profile
alias tf-home='taskflow --config ~/.config/taskflow/home.toml'# Run from USB drive
taskflow --data-dir /media/usb/taskflow --config /media/usb/taskflow/config.toml| Option | Short | Description |
|---|---|---|
--help |
-h |
Show help |
--version |
-V |
Show version |
--backend |
Storage backend | |
--data-dir |
-d |
Data directory |
--config |
-c |
Config file |
--no-config |
Use defaults | |
--view |
Starting view | |
--filter |
Apply filter | |
--search |
Search query | |
--add |
-a |
Quick add task |
--list |
-l |
List and exit |
--json |
JSON output | |
--quiet |
-q |
Quiet mode |
--verbose |
-v |
Verbose output |
--export |
Export data | |
--import |
Import data | |
--completions |
Shell completions |
| Variable | Description |
|---|---|
TASKFLOW_DATA_DIR |
Data directory |
TASKFLOW_CONFIG |
Config file path |
TASKFLOW_BACKEND |
Storage backend |
NO_COLOR |
Disable colors |
TERM |
Terminal type |
- Installation - Installation guide
- Configuration - Config file options
- Quick-Add-Syntax - Task creation syntax
- Import-Export - Data import/export