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