pub struct DoctorCommand {}Expand description
Run claude doctor to check CLI health.
§Example
use claude_wrapper::{Claude, ClaudeCommand, DoctorCommand};
let claude = Claude::builder().build()?;
let output = DoctorCommand::new().execute(&claude).await?;
println!("{}", output.stdout);Implementations§
Source§impl DoctorCommand
impl DoctorCommand
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a new DoctorCommand.
Trait Implementations§
Source§impl ClaudeCommand for DoctorCommand
impl ClaudeCommand for DoctorCommand
Source§impl Clone for DoctorCommand
impl Clone for DoctorCommand
Source§impl Debug for DoctorCommand
impl Debug for DoctorCommand
Auto Trait Implementations§
impl Freeze for DoctorCommand
impl RefUnwindSafe for DoctorCommand
impl Send for DoctorCommand
impl Sync for DoctorCommand
impl Unpin for DoctorCommand
impl UnsafeUnpin for DoctorCommand
impl UnwindSafe for DoctorCommand
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.