pub struct McpListCommand;Expand description
List configured MCP servers.
§Example
use claude_wrapper::{Claude, ClaudeCommand, McpListCommand};
let claude = Claude::builder().build()?;
let output = McpListCommand::new().execute(&claude).await?;
println!("{}", output.stdout);Implementations§
Trait Implementations§
Source§impl ClaudeCommand for McpListCommand
impl ClaudeCommand for McpListCommand
Source§impl Clone for McpListCommand
impl Clone for McpListCommand
Source§fn clone(&self) -> McpListCommand
fn clone(&self) -> McpListCommand
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 McpListCommand
impl Debug for McpListCommand
Source§impl Default for McpListCommand
impl Default for McpListCommand
Source§fn default() -> McpListCommand
fn default() -> McpListCommand
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for McpListCommand
impl RefUnwindSafe for McpListCommand
impl Send for McpListCommand
impl Sync for McpListCommand
impl Unpin for McpListCommand
impl UnsafeUnpin for McpListCommand
impl UnwindSafe for McpListCommand
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