CLI Reference¶
Need a quick command? Here's everything Quadro can do from the terminal.
How this fits together¶
You have three ways to work with tasks: use these CLI commands, edit the markdown files directly, or let your AI assistant manage them through MCP. All three work with the same files in your tasks/ directory.
This page covers the CLI commands. Use them when you want quick, direct control.
Quick tip: Running quadro without any command defaults to quadro list.
Commands¶
add ¶
Create a new task with the specified title.
Creates a new task in TODO status and saves it as a markdown file. Tasks can optionally be assigned to a milestone for organization and include a description for additional context.
Examples:
list_tasks ¶
List all tasks with their status and details.
Displays a formatted table of tasks showing ID, status, title, and milestone. Tasks can be filtered by milestone and status.
Status filters can be combined to show multiple statuses. If no status filters are provided, all tasks are shown.
This is the default command when running 'quadro' without arguments.
Examples:
start ¶
done ¶
show ¶
milestones ¶
Display a summary of all milestones and their tasks.
Shows a grouped view of tasks organized by milestone, with counts of tasks in each status (TODO, PROGRESS, DONE) per milestone. Useful for tracking progress across different project phases or releases.
Only tasks that have been assigned to a milestone are included in this view. Tasks without a milestone are not shown.
Examples:
move ¶
Move a task to a different milestone.
Relocates a task's file from one milestone directory to another, or between the root directory and a milestone. The task's milestone field is updated accordingly.
Use 'root' as the target to move a task out of any milestone to the root directory.
Examples:
edit ¶
Edit a task's details in your default text editor.
Opens the task's markdown file in the system's default editor (determined by the EDITOR environment variable). You can modify the title, description, status, and milestone. Changes are validated and saved upon editor exit.
The task file is opened in markdown format with frontmatter containing metadata (status, milestone, created date) and the task body containing the title and description. If you exit the editor without saving or if no changes are made, the task remains unmodified.
Invalid modifications (e.g., invalid status values) will be rejected with an error message.
Examples:
delete ¶
Delete a task permanently.
Removes a task and its associated file from the filesystem. By default, displays the task details and prompts for confirmation before deletion to prevent accidental data loss.
WARNING: This operation is irreversible. Once deleted, the task file is permanently removed from the filesystem and cannot be recovered.
The confirmation prompt shows the full task details before deletion, allowing you to verify you're deleting the correct task. The confirmation defaults to 'No' for safety.
Examples:
Environment Variables¶
The edit command uses your EDITOR environment variable. Set it in your shell profile:
If you don't set EDITOR, Quadro will try common editors like vim, nano, or vi.
Exit Codes¶
Commands return standard exit codes:
0means success1means something went wrong (task not found, file error, etc.)
Useful if you're using Quadro in scripts.
Getting Help¶
Every command shows help with the --help flag: