pub struct DelegateArgs {
pub tasks: Vec<DelegatedTaskSpec>,
pub parent: Option<String>,
pub workspace: Option<WorkspaceModeArg>,
pub path_prefix: Option<PathBuf>,
pub agent_provider: Option<String>,
pub agent_model: Option<String>,
}Expand description
Arguments for the delegate command.
Fields§
§tasks: Vec<DelegatedTaskSpec>Child task labels to create under the current parent thread.
Each entry is either task or task:provider:model. Use the
latter form to race different agents on the same prompt:
heddle delegate “modulo:anthropic:claude-sonnet-4-5”
“modulo:openai:gpt-5-codex”
“modulo:custom:opencode”
parent: Option<String>Parent thread to delegate from (default: current thread).
workspace: Option<WorkspaceModeArg>Workspace mode for delegated child threads.
path_prefix: Option<PathBuf>Directory under which materialized child workspaces should be created.
agent_provider: Option<String>Default AI provider for delegated children (overridden per-task
when a task:provider:model form is used).
agent_model: Option<String>Default AI model for delegated children (overridden per-task
when a task:provider:model form is used).
Trait Implementations§
Source§impl Args for DelegateArgs
impl Args for DelegateArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for DelegateArgs
impl Clone for DelegateArgs
Source§fn clone(&self) -> DelegateArgs
fn clone(&self) -> DelegateArgs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DelegateArgs
impl Debug for DelegateArgs
Source§impl FromArgMatches for DelegateArgs
impl FromArgMatches for DelegateArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for DelegateArgs
impl RefUnwindSafe for DelegateArgs
impl Send for DelegateArgs
impl Sync for DelegateArgs
impl Unpin for DelegateArgs
impl UnsafeUnpin for DelegateArgs
impl UnwindSafe for DelegateArgs
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request