Skip to content

Add sections support - #1

Open
jawsh84 wants to merge 2 commits into
splaice:mainfrom
jawsh84:feat/sections-support
Open

Add sections support#1
jawsh84 wants to merge 2 commits into
splaice:mainfrom
jawsh84:feat/sections-support

Conversation

@jawsh84

@jawsh84 jawsh84 commented Mar 22, 2026

Copy link
Copy Markdown

Summary

  • New td sections --project <name|id> command to list sections in a project
  • New td sections add "Name" --project <name|id> subcommand to create sections
  • --section <id> flag on td add to place new tasks in a section
  • --section <id> flag on td update to move existing tasks to a section
  • API layer: CreateSection, MoveTask methods
  • Formatter: Sections, SectionCreated output functions
  • Updated td agent reference with new commands

The API layer already had GetSections and SectionID on CreateTaskRequest — this wires them up to the CLI and fills in the missing pieces (create, move, format).

Test plan

  • td sections --project Personal lists sections
  • td sections add "Test" --project Personal creates a section
  • td add "test task" --project <id> --section <id> places task in section
  • td update <task-id> --section <id> moves task to a different section
  • go test ./... passes
  • --json flag works on sections list
  • Project name resolution works (not just IDs)

🤖 Generated with Claude Code

jawsh84 and others added 2 commits March 22, 2026 14:03
New `td sections` command to list and create sections in a project.
Adds --section flag to `add` and `update` for placing/moving tasks.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant