Skip to content

Commands Reference

GDT works primarily through natural language, but also supports structured commands for common operations.

CLI Options

bash
getdone [options]
OptionDescription
(none)Start interactive mode
-p, --prompt <text>Run single command and exit
--newStart fresh session
--versionShow version
--helpShow help

Examples:

bash
# Interactive mode
getdone

# Single command
getdone -p "Add task: finish report"

# View tasks
getdone -p "Show today's tasks"

# Fresh session with command
getdone --new -p "Help me plan today"

Server Command (Web UI)

bash
getdone serve [options]
OptionDescription
--port <n>Port number (default: 3000)
--hostAllow LAN access (default: localhost only)
--openOpen browser automatically

Examples:

bash
# Start Web UI on default port
getdone serve

# Start and open browser
getdone serve --open

# Use custom port
getdone serve --port 8080

# Allow access from other devices on LAN
getdone serve --host

# Combine options
getdone serve --port 8080 --host --open

Web UI Features:

  • Visual task management with filters, sorting, and project grouping
  • Real-time AI chat with streaming responses and tool call visualization
  • Calendar view for scheduling tasks
  • Dark/Light/System theme modes
  • Project progress overview

Slash Commands

In interactive mode, commands start with /:

Basic Commands

CommandAliasesDescription
/help/h, /?Show help
/new/nStart new session
/exit/quit, /qExit GDT
/clearClear conversation (preserves long-term memory)

Task Commands

CommandAliasesDescription
/tasks/tShow pending tasks (top 10)
/contextShow current context info
/statusShow GDT status (TaskWarrior availability, etc.)
/refreshRefresh task cache

Calendar Commands

CommandAliasesDescription
/calendar/calShow smart calendar view (month + today's tasks)
/calendar month/cal mShow month calendar only
/calendar today/cal tShow today's schedule
/calendar week/cal wShow weekly schedule
/calendar next [n]/cal nShow upcoming n days (default 7)
/todayShortcut for /calendar today
/week/wShortcut for /calendar week

Memory Commands

CommandDescription
/history [today|week|month]Show conversation history summary
/forget [today|week|all]Clear specified memory range
/memoryShow memory status (debug)

Privacy Commands

CommandDescription
/privacyView privacy settings
/privacy statusDetailed privacy status
/privacy enable historyEnable conversation saving
/privacy disable historyDisable conversation saving
/privacy clear historyDelete all history
/privacy clear allDelete all GDT data

Analytics Commands

CommandDescription
/analyticsView analytics status
/analytics statusShow detailed analytics status
/analytics enableEnable anonymous usage statistics
/analytics disableDisable usage statistics
/analytics showView pending data to be sent
/analytics clearDelete all analytics data
/analytics helpShow analytics help

Data Management Commands

CommandDescription
/backupCreate a full backup of tasks, sessions, and preferences
/backup listShow available backups
/backup restore [file]Restore from a backup file
/importStart interactive import wizard
/import [source]Import from specific source (todoist, apple, ticktick, google, microsoft, omnifocus, notion, csv, json)

Document Generation Commands

CommandDescription
/prd [feature description]Generate Product Requirements Document
/product-marketing [product name]Generate product marketing document (positioning, messaging)
/tech-reviewTechnical design review

Keyboard Shortcuts

ShortcutAction
Ctrl+CExit GDT
/ Browse input history
Ctrl+AMove to line start
Ctrl+EMove to line end
Ctrl+UClear current input

Natural Language Patterns

GDT understands many ways to express the same intent. These are common patterns that work well.

Creating Tasks

Add task: finish report
Remind me to buy coffee tomorrow
New task: fix login bug
Create task: organize documents, high priority

Querying Tasks

Show my tasks
What do I have today?
Tasks due this week
High priority tasks
All tasks for Project A
What can I do @office?

Modifying Tasks

Set task 3 to high priority
Change task 5 due date to Friday
Add tag "work" to task 7
Update task 10 description to: update docs

Completing Tasks

Task 3 is done
Mark "buy milk" as completed
Finished today's meeting

Deleting Tasks

Delete task 8
Cancel "weekend party"
Remove task 12

Task Decomposition

Break down: develop new feature
Help me split "write thesis" into steps
How should I break down "prepare presentation"?
Make task 5 breakdown more detailed

GTD Workflow

# Capture
Inbox: check email
Add to inbox: schedule dentist

# Clarify
Process inbox
Handle inbox items

# View
Show inbox
Someday/maybe list
Waiting for tasks

# Reflect
Daily review
Weekly review
Show projects

Time Planning

Help me plan today's work
I have 2 hours, what should I do?
Afternoon task schedule
This week's plan

Command Details

/help

Shows quick reference:

> /help

📖 GDT 帮助

可用命令:
  /help, /h, /?     - 显示此帮助信息
  /new              - 开始新会话
  /exit, /quit, /q  - 退出 GDT
  /status           - 显示当前状态
  /tasks [filter]   - 显示任务列表
  /refresh          - 刷新任务缓存
  /privacy [cmd]    - 隐私设置

使用方式:
  直接输入问题或任务描述,GDT 会帮助您规划和管理时间。

示例:
  "今天有什么安排?"
  "帮我把这个项目拆解成可执行的任务"
  "这周应该优先完成什么?"

/tasks

Shows pending tasks from TaskWarrior:

> /tasks

Pending tasks:
- Review PR feedback
- Update documentation
- Fix login bug
- ...

/context

Shows current context information:

> /context

Context:
  Messages: 12
  Active Task: Yes
  Topics: 3 tracked

/new

Starts a fresh session:

> /new

⚠️ Starting new session will clear current context.
Save current session? [Yes/No/Cancel]

> Yes

✅ Session saved
✅ New session started

Welcome! How can I help you?

/calendar

Shows calendar views with task integration:

> /calendar

📅 2026年1月
┌────┬────┬────┬────┬────┬────┬────┐
│ 日 │ 一 │ 二 │ 三 │ 四 │ 五 │ 六 │
├────┼────┼────┼────┼────┼────┼────┤
│    │    │    │  1 │  2 │  3 │  4 │
│  5 │  6 │  7 │  8 │  9 │ 10 │ 11 │
│ 12 │ 13 │ 14 │ 15 │ 16 │ 17 │ 18 │
│[19]│ 20 │ 21 │ 22 │ 23 │ 24 │ 25 │
│ 26 │ 27 │ 28 │ 29 │ 30 │ 31 │    │
└────┴────┴────┴────┴────┴────┴────┘

📋 今日任务
● Review PR feedback          due: today   #a1b2c3d4
● Update documentation        due: today   #e5f6g7h8

Sub-commands:

CommandDescription
/calSmart view (month + today's tasks)
/cal month or /cal mMonth calendar only
/cal today or /cal tToday's schedule
/cal week or /cal wWeekly schedule with horizontal grid
/cal next [n]Upcoming n days (default 7)
/cal helpShow calendar help

Color indicators:

  • Highlighted background = Today
  • Green dates = Days with tasks
  • Gray dates = Weekends
  • Red/Yellow/Green dots = High/Medium/Low priority
  • Purple #ID = Task reference

/history

Shows conversation history summary:

> /history today

📝 Today's Conversation Summary

You discussed 3 tasks:
- Reviewed PR #53 feedback
- Fixed migration issues
- Updated documentation

Key decisions:
- Added file size validation
- Implemented debouncing for resize events

/privacy

Shows privacy settings and commands:

> /privacy

📋 Privacy Settings

Conversation history: Enabled
Encryption: Enabled
Data location: ~/.gdt/

Storage:
- Sessions: 2.3 MB
- Task context: 156 KB

Commands:
/privacy disable history  Stop saving
/privacy enable history   Resume saving
/privacy clear history    Delete history
/privacy clear all        Delete all data

/analytics

Manages anonymous usage statistics (opt-in):

> /analytics

📊 Analytics Status

Status: Enabled
Device ID: a1b2c3d4-...
Last reported: 2026-01-21

Today's stats:
• Launches: 3
• Messages: 15
• Tasks: created=5, completed=2

Sub-commands:

CommandDescription
/analytics statusShow detailed status
/analytics enableEnable analytics
/analytics disableDisable analytics
/analytics showView pending data
/analytics clearDelete all analytics data
/analytics helpShow help

What gets collected:

  • Daily launch and message counts
  • Task operation counts (created/completed/deleted)
  • Command usage frequency (command names only)
  • Anonymous device ID, version, OS type

What's never collected:

  • Task content or descriptions
  • Conversation messages
  • Personal information

TaskWarrior Integration

GDT uses TaskWarrior for storage. You can use both tools:

bash
# TaskWarrior commands work directly
task list
task add "New task"
task 1 done

Changes sync automatically between GDT and TaskWarrior.

GDT-specific attributes:

AttributeDescription
gdt.complexityComplexity score (1-10)
gdt.has_risksHas identified risks
gdt.decomposedHas been broken down

View a task's GDT metadata:

bash
task 1 info

Next Steps