pub struct Cli {
pub check_host: bool,
pub start_host: bool,
pub list: Option<usize>,
pub print: bool,
pub follow: bool,
pub mcp_stdio: bool,
pub whoami: Option<String>,
pub dir: Option<PathBuf>,
pub env: Vec<String>,
pub read_stdin: bool,
pub args: Vec<String>,
}Fields§
§check_host: boolCheck whether a host is running for this user.
start_host: boolStart a host (foreground; ^C to stop).
list: Option<usize>List the N most recent transcripts.
print: boolShow a transcript by its name (YYYY-MM-DD-hh:mm:ss).
follow: boolWith –print, follow the transcript as new entries arrive.
mcp_stdio: boolRun a stdio MCP server that forwards tool calls to the rexec host. Requires –whoami.
whoami: Option<String>Identifier of the calling agent (required when running a command).
dir: Option<PathBuf>Working directory the command should run in (required when running a command).
env: Vec<String>Environment overrides, in VAR=value form. Repeatable.
read_stdin: boolRead the client’s stdin to EOF and send it to the host to be fed to the child’s stdin. Without this flag the child’s stdin is the PTY slave (and reads will block, as nothing is written to it).
args: Vec<String>Positional arguments. For run mode: the command and its arguments (use --).
For –print: the transcript name.
Trait Implementations§
Source§impl Args for Cli
impl Args for Cli
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 CommandFactory for Cli
impl CommandFactory for Cli
Source§impl FromArgMatches for Cli
impl FromArgMatches for Cli
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.