pub struct AutoModeConfigCommand;Expand description
Print the effective auto-mode config as JSON.
Emits your settings where set and defaults otherwise, merged.
§Example
use claude_wrapper::{AutoModeConfigCommand, Claude, ClaudeCommand};
let claude = Claude::builder().build()?;
let output = AutoModeConfigCommand::new().execute(&claude).await?;
println!("{}", output.stdout);Implementations§
Trait Implementations§
Source§impl Clone for AutoModeConfigCommand
impl Clone for AutoModeConfigCommand
Source§fn clone(&self) -> AutoModeConfigCommand
fn clone(&self) -> AutoModeConfigCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AutoModeConfigCommand
impl Debug for AutoModeConfigCommand
Source§impl Default for AutoModeConfigCommand
impl Default for AutoModeConfigCommand
Source§fn default() -> AutoModeConfigCommand
fn default() -> AutoModeConfigCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AutoModeConfigCommand
impl RefUnwindSafe for AutoModeConfigCommand
impl Send for AutoModeConfigCommand
impl Sync for AutoModeConfigCommand
impl Unpin for AutoModeConfigCommand
impl UnsafeUnpin for AutoModeConfigCommand
impl UnwindSafe for AutoModeConfigCommand
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
Source§impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
impl<T> ClaudeCommandSyncExt for Twhere
T: ClaudeCommand<Output = CommandOutput>,
Source§fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
fn execute_sync(&self, claude: &Claude) -> Result<CommandOutput, Error>
Blocking analog of
ClaudeCommand::execute for commands
producing CommandOutput.