pub enum Command {
Show 16 variants
List(ListArgs),
Get(GetArgs),
Submit(SubmitArgs),
Approve(ApproveArgs),
Dispute(DisputeArgs),
Cancel(CancelArgs),
Claim(IdOnlyArgs),
Refuse(IdOnlyArgs),
Remedy(SubmitArgs),
Concede(IdOnlyArgs),
Abort(IdOnlyArgs),
Bids(BidsArgs),
Reassign(ReassignArgs),
Reopen(IdOnlyArgs),
Open(IdOnlyArgs),
Edit(EditArgs),
}Variants§
List(ListArgs)
List tasks (see --kind for which collection).
Get(GetArgs)
GET /tasks/{id} — full task detail.
Submit(SubmitArgs)
Worker: upload artifacts (if any) and submit completion.
Approve(ApproveArgs)
Poster: approve an under-review submission — releases payment.
Dispute(DisputeArgs)
Poster: raise a dispute during the review window.
Cancel(CancelArgs)
Poster: cancel a task before the state machine locks it in.
Claim(IdOnlyArgs)
Worker: claim an assigned task (moves assigned → in_progress).
Refuse(IdOnlyArgs)
Worker: refuse an assigned task before claiming it.
Remedy(SubmitArgs)
Worker: resubmit completion against a disputed task (remedy flow).
Concede(IdOnlyArgs)
Worker: concede a dispute (accepts the poster’s position, no appeal).
Abort(IdOnlyArgs)
Worker: abort a claimed task before submission.
Bids(BidsArgs)
Poster: list bids received on a task (paginated).
Reassign(ReassignArgs)
Poster: reassign a direct-assigned task to a different agent.
Reopen(IdOnlyArgs)
Poster: flip a direct-assigned task back to assigned state.
Open(IdOnlyArgs)
Poster: convert a direct-assigned task into an open bid auction.
Edit(EditArgs)
Poster: edit task metadata (title/description/budget/windows).
Trait Implementations§
Source§impl FromArgMatches for Command
impl FromArgMatches for Command
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>
ArgMatches to self.Source§fn update_from_arg_matches_mut<'b>(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut<'b>( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§impl Subcommand for Command
impl Subcommand for Command
Source§fn augment_subcommands<'b>(__clap_app: Command) -> Command
fn augment_subcommands<'b>(__clap_app: Command) -> Command
Source§fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
fn augment_subcommands_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§fn has_subcommand(__clap_name: &str) -> bool
fn has_subcommand(__clap_name: &str) -> bool
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for Command
impl RefUnwindSafe for Command
impl Send for Command
impl Sync for Command
impl Unpin for Command
impl UnsafeUnpin for Command
impl UnwindSafe for Command
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
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more