pub struct Cli {Show 13 fields
pub model: Option<String>,
pub reasoning: Option<ReasoningLevel>,
pub path: Option<PathBuf>,
pub verbose: bool,
pub resume: bool,
pub continue_session: bool,
pub record: Option<PathBuf>,
pub replay: Option<PathBuf>,
pub system_prompt: Option<String>,
pub system_prompt_file: Option<PathBuf>,
pub append_system_prompt: Option<String>,
pub append_system_prompt_file: Option<PathBuf>,
pub command: Option<Commands>,
}Fields§
§model: Option<String>Model to use (e.g., qwen3-coder:30b, ollama/llama3)
reasoning: Option<ReasoningLevel>Reasoning depth (none, minimal, low, medium, high, max).
Overrides the persisted default for this session; the slash
command /reasoning <level> and Alt+T can change it at runtime.
path: Option<PathBuf>Project directory (defaults to current directory)
verbose: boolVerbose output
resume: boolPick a past conversation to resume from a searchable list (this
directory’s sessions). Like claude --resume.
continue_session: boolResume the most recent conversation in this directory. Like
claude --continue.
record: Option<PathBuf>Append every reducer Msg to a JSONL file at this path for
debugging / post-mortem replay. Interactive mode only.
replay: Option<PathBuf>Replay a --record log through the pure reducer: print the
reconstructed session and a determinism verdict. Headless — no model
calls, no tool execution, no config reads (the log is self-contained).
system_prompt: Option<String>Replace Mermaid’s default system prompt for this invocation
system_prompt_file: Option<PathBuf>Replace Mermaid’s default system prompt with the contents of a file
append_system_prompt: Option<String>Append extra instructions after Mermaid’s system prompt for this invocation
append_system_prompt_file: Option<PathBuf>Append extra instructions from a file after Mermaid’s system prompt
command: Option<Commands>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.Source§impl Parser for Cli
impl Parser for Cli
Source§fn parse_from<I, T>(itr: I) -> Self
fn parse_from<I, T>(itr: I) -> Self
Source§fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error>
Source§fn update_from<I, T>(&mut self, itr: I)
fn update_from<I, T>(&mut self, itr: I)
Auto Trait Implementations§
impl Freeze for Cli
impl RefUnwindSafe for Cli
impl Send for Cli
impl Sync for Cli
impl Unpin for Cli
impl UnsafeUnpin for Cli
impl UnwindSafe for Cli
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more