Skip to main content

TaskCommand

Enum TaskCommand 

Source
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

Source§

fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>

Instantiate Self from ArgMatches, parsing the arguments as needed. Read more
Source§

fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>

Assign values from ArgMatches to self.
Source§

impl Subcommand for TaskCommand

Source§

fn augment_subcommands<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate Self via FromArgMatches::from_arg_matches_mut Read more
Source§

fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command

Append to Command so it can instantiate self via FromArgMatches::update_from_arg_matches_mut Read more
Source§

fn has_subcommand(__clap_name: &str) -> bool

Test whether Self can parse a specific subcommand

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more