pub enum TaskCommand {
Show 25 variants
Build(TaskBuildArgs),
Decompose(TaskDecomposeArgs),
Refactor(TaskBuildRefactorArgs),
BuildRefactor(TaskBuildRefactorArgs),
Show(TaskShowArgs),
Ready(TaskReadyArgs),
Status(TaskStatusArgs),
Done(TaskDoneArgs),
Reject(TaskRejectArgs),
Field(TaskFieldArgs),
Edit(TaskEditArgs),
Mutate(TaskMutateArgs),
Update(TaskUpdateArgs),
Template(TaskTemplateArgs),
Clone(TaskCloneArgs),
Batch(TaskBatchArgs),
Schedule(TaskScheduleArgs),
Relate(TaskRelateArgs),
Blocks(TaskBlocksArgs),
MarkDuplicate(TaskMarkDuplicateArgs),
Split(TaskSplitArgs),
Start(TaskStartArgs),
Children(TaskChildrenArgs),
Parent(TaskParentArgs),
From(TaskFromArgs),
}Variants§
Build(TaskBuildArgs)
Build a new task from a natural language request.
Decompose(TaskDecomposeArgs)
Recursively decompose a goal or existing task into a task tree.
Refactor(TaskBuildRefactorArgs)
Automatically create refactoring tasks for large files.
BuildRefactor(TaskBuildRefactorArgs)
Automatically create refactoring tasks for large files (alternative to ‘refactor’).
Show(TaskShowArgs)
Show a task by ID (queue + done).
Ready(TaskReadyArgs)
Promote a draft task to todo.
Status(TaskStatusArgs)
Update a task’s status (draft, todo, doing, done, rejected).
Note: terminal statuses (done, rejected) complete and archive the task.
Done(TaskDoneArgs)
Complete a task as done and move it to the done archive.
Reject(TaskRejectArgs)
Complete a task as rejected and move it to the done archive.
Field(TaskFieldArgs)
Set a custom field on a task.
Edit(TaskEditArgs)
Edit any task field (default or custom).
Side effect: When auto_archive_terminal_after_days is configured in the queue settings, this command may auto-archive terminal tasks (Done/Rejected) that are older than the configured threshold. The command output will list which specific tasks were archived. Use –no-auto-archive to disable this behavior.
Mutate(TaskMutateArgs)
Apply a structured multi-field task mutation transaction.
Update(TaskUpdateArgs)
Update existing task fields based on current repository state.
Template(TaskTemplateArgs)
Manage task templates for common task types.
Clone(TaskCloneArgs)
Clone an existing task to create a new task from it.
Batch(TaskBatchArgs)
Perform batch operations on multiple tasks efficiently.
Schedule(TaskScheduleArgs)
Schedule a task to start after a specific time.
Relate(TaskRelateArgs)
Add a relationship between tasks.
Blocks(TaskBlocksArgs)
Mark a task as blocking another task (shorthand for relate <task> blocks <blocked>).
MarkDuplicate(TaskMarkDuplicateArgs)
Mark a task as a duplicate of another task (shorthand for relate <task> duplicates <original>).
Split(TaskSplitArgs)
Split a task into multiple child tasks for better granularity.
Start(TaskStartArgs)
Start work on a task (sets started_at and moves it to doing).
Children(TaskChildrenArgs)
List child tasks for a given task (based on parent_id).
Parent(TaskParentArgs)
Show the parent task for a given task (based on parent_id).
From(TaskFromArgs)
Build a task from a template with variable substitution.
This is a convenience command that combines template selection, variable substitution, and task creation in one step.
Trait Implementations§
Source§impl FromArgMatches for TaskCommand
impl FromArgMatches for TaskCommand
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 TaskCommand
impl Subcommand for TaskCommand
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