pub enum Command {
Run(RunArgs),
Attach {
session: Option<SessionId>,
},
Resume {
session: Option<SessionId>,
},
Serve {
session: SessionId,
create: bool,
existing: bool,
create_or_existing: bool,
bootstrap_prompt_file: Option<PathBuf>,
bootstrap_id: Option<BootstrapId>,
mirror_extension_stderr: bool,
},
Session {
command: SessionCommand,
},
Agent {
command: AgentCommand,
},
Init {
force: bool,
},
Provider {
args: Vec<String>,
},
Dev {
command: DevCommand,
},
Component {
name: String,
initial_ui_stdio: bool,
},
}Variants§
Run(RunArgs)
Run an interactive agent session.
tau spawns a new harness daemon and attaches for this process.
Attach
Attach to a running session without taking daemon ownership.
Resume
Resume a persisted session in a new harness daemon.
Fields
Serve
Serve one fixed session in the foreground without an initial UI.
Fields
bootstrap_prompt_file: Option<PathBuf>Read one literal bootstrap prompt from this UTF-8 file after startup.
- reads stdin through EOF once. The paired bootstrap id makes this
submission durable and at-most-once across restarts.
bootstrap_id: Option<BootstrapId>Durable bootstrap generation id.
Session
Inspect sessions.
Fields
command: SessionCommandAgent
Inspect agents.
Fields
command: AgentCommandInit
Copy sample config files to ~/.config/tau/
Provider
Manage LLM providers (add, remove, list)
Dev
Developer-only commands.
Fields
command: DevCommandComponent
Run a bundled Tau component as a standalone process.
Bundled extensions are components too, but not every component is an extension; for example, the harness is a component.
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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 Command
impl Subcommand for Command
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