pub struct RunArgs {
pub config: Option<PathBuf>,
pub prompt_stdin: bool,
pub ephemeral: bool,
}Expand description
Options shared by new, attach, and resume session startup.
Fields§
§config: Option<PathBuf>Deprecated legacy extension config path; use --harness-config
overrides instead.
prompt_stdin: boolRead one prompt from stdin, submit it, print final output, and exit.
Answers go to stdout; reasoning, headers, and errors go to stderr. Each destination’s terminal state is checked independently, and dynamic bodies are sanitized only when that destination is a terminal. Pipes and files retain semantic UTF-8 bytes and existing framing.
ephemeral: boolRun without writing session membership, session metadata, session debug events, per-session logs, session-scoped extension data, or the terminal UI log to disk.
Agent transcripts, provider state, credentials, user/cache extension data, runtime sockets, and configuration state keep their normal persistence behavior.
Trait Implementations§
Source§impl Args for RunArgs
impl Args for RunArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl FromArgMatches for RunArgs
impl FromArgMatches for RunArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.