pub enum TodoCommand {
Show 24 variants
Add {
title: String,
description: String,
priority: String,
tags: String,
owner: String,
due: Option<String>,
ref: String,
dir: Option<String>,
depends_on: String,
blocks: String,
parent: Option<String>,
one_shot: i32,
},
List {
status: String,
scope: Option<String>,
tags: Option<String>,
title_search: Option<String>,
dir: Option<String>,
},
Get {
id: String,
},
Show {
id: Option<String>,
id_positional: Option<String>,
},
Done {
id: Option<String>,
id_positional: Option<String>,
validated: bool,
artifact: Vec<String>,
},
Archive {
id: Option<String>,
id_positional: Option<String>,
},
Comment {
id: String,
comment: String,
},
Edit {
id: String,
title: Option<String>,
description: Option<String>,
owner: Option<String>,
category: Option<String>,
},
Claim {
id: String,
agent: Option<String>,
mode: ClaimMode,
},
ClaimStatus {
id: String,
},
Release {
id: String,
},
Rebuild,
Categories,
RegisterAgent {
agent: Option<String>,
categories: Vec<String>,
},
Ownerships {
category: Option<String>,
agent: Option<String>,
},
Heartbeat {
agent: Option<String>,
autoclaim: bool,
max_claims: usize,
},
Presence {
agent: Option<String>,
},
WorkerRun {
agent: Option<String>,
task_id: Option<String>,
max_tasks: usize,
lesson: bool,
autoclose: bool,
},
Handoff {
id: String,
to: String,
from: Option<String>,
summary: String,
},
AddOwner {
id: String,
agent: String,
claim_type: String,
},
RemoveOwner {
id: String,
agent: String,
},
ListOwners {
id: String,
},
RegisterExpertise {
agent: Option<String>,
category: String,
level: String,
},
Expertise {
agent: Option<String>,
category: Option<String>,
},
}Variants§
Add
Add a new task.
Fields
List
List tasks.
Get
Get a task by ID.
Show
Show a task by ID (compat alias for get).
Fields
Done
Mark a task done.
Fields
Archive
Archive a task (keeps audit trail).
Fields
Comment
Add a comment to a task (audit-only event).
Edit
Edit a task’s title, description, owner, or category.
Fields
Claim
Claim a task for active work (prevents other agents from interfering).
Fields
ClaimStatus
Read claim status for a task (cache-first).
Release
Release a claimed task (makes it available for others).
Rebuild
Rebuild the SQLite DB deterministically from the JSONL event log.
Categories
List available task categories.
RegisterAgent
Register an agent and claim ownership of one or more categories.
Fields
Ownerships
List current category ownership claims.
Heartbeat
Record an agent heartbeat.
Fields
Presence
List agent presence records.
WorkerRun
Run the autonomous worker loop (heartbeat -> claim -> context -> execute -> lesson).
Fields
Handoff
Transfer a task between agents and record handoff artifacts.
AddOwner
Add an additional owner to a task (supports multiple ownership).
Fields
RemoveOwner
Remove an owner from a task.
ListOwners
List all owners of a task.
RegisterExpertise
Register agent expertise level for a category.
Expertise
List agent expertise claims.
Trait Implementations§
Source§impl Debug for TodoCommand
impl Debug for TodoCommand
Source§impl FromArgMatches for TodoCommand
impl FromArgMatches for TodoCommand
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for TodoCommand
impl Subcommand for TodoCommand
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommand