pub enum Commands {
Show 19 variants
New {
name: String,
description: Option<String>,
ticket: Option<String>,
ticket_url: Option<String>,
template: Option<String>,
},
List {
all: bool,
},
Switch {
task_ref: String,
},
Status {
id: Option<String>,
json: bool,
all: bool,
},
Desc {
description: Option<String>,
task: Option<i64>,
},
Ticket {
ticket_id: String,
url: String,
task: Option<i64>,
},
Archive {
task_ref: Option<String>,
force: bool,
},
Todo(TodoCommands),
Link(LinkCommands),
Scrap(ScrapCommands),
Sync {
legacy: bool,
},
Migrate(MigrateCommands),
Repo(RepoCommands),
Alias(AliasCommands),
LlmHelp,
Completion {
shell: Shell,
dynamic: bool,
},
Complete {
completion_type: CompletionType,
},
Config(ConfigCommands),
Webui {
port: u16,
open: bool,
},
}Variants§
New
Create a new task and switch to it
Fields
List
List tasks
Switch
Switch to a different task
Status
Show detailed information about the current task
Fields
Desc
View or set task description
Fields
Ticket
Link a ticket to a task
Fields
Archive
Archive a task
Fields
Todo(TodoCommands)
TODO management
Link(LinkCommands)
Link management
Scrap(ScrapCommands)
Scrap (work notes) management
Sync
Sync repositories and setup task branches
Migrate(MigrateCommands)
Migrate data between workflow models
Repo(RepoCommands)
Repository management
Alias(AliasCommands)
Task alias management
LlmHelp
Show help optimized for LLM agents
Completion
Generate shell completion script
Fields
Complete
Output completion candidates (hidden, for shell completion scripts)
Fields
§
completion_type: CompletionTypeType of completion data to output
Config(ConfigCommands)
Configuration management
Webui
Start web-based user interface
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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>
Assign values from
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>
Assign values from
ArgMatches to self.Source§impl Subcommand for Commands
impl Subcommand for Commands
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
Append to
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more