claude agents command -- lists configured agents.
Summary
Functions
Run claude agents and return the raw output string.
Run claude agents and return the parsed agent list.
Types
Functions
@spec execute( ClaudeWrapper.Config.t(), keyword() ) :: {:ok, String.t()} | {:error, term()}
Run claude agents and return the raw output string.
@spec list( ClaudeWrapper.Config.t(), keyword() ) :: {:ok, [agent()]} | {:error, term()}
Run claude agents and return the parsed agent list.
Options
:setting_sources- comma-separated setting sources to load (e.g."user,project")
Examples
{:ok, agents} = ClaudeWrapper.Commands.Agents.list(config)
# => {:ok, [%{name: "Explore", model: "haiku"}, ...]}