pub enum Commands {
Show 38 variants
Alias(AliasCommands),
Admin(AdminCommands),
Bucket(BucketArgs),
Object(ObjectArgs),
Ls(LsArgs),
Mb(MbArgs),
Rb(RbArgs),
Cat(CatArgs),
Head(HeadArgs),
Stat(StatArgs),
Cp(Box<CpArgs>),
Get(Box<GetArgs>),
Put(Box<PutArgs>),
Mv(MvArgs),
Rm(RmArgs),
Undo(UndoArgs),
Pipe(PipeArgs),
Find(FindArgs),
Event(EventArgs),
Cors(CorsCommands),
Diff(DiffArgs),
Mirror(MirrorArgs),
Tree(TreeArgs),
Share(ShareArgs),
Sql(SqlArgs),
Version(VersionCommands),
Tag(TagCommands),
Anonymous(AnonymousCommands),
Quota(QuotaCommands),
Ilm(IlmArgs),
Replicate(ReplicateArgs),
Retention(RetentionArgs),
Legalhold(LegalHoldArgs),
Completions(CompletionsArgs),
Du(DuArgs),
Ping(PingArgs),
Ready(ReadyArgs),
Watch(WatchArgs),
}Variants§
Alias(AliasCommands)
Manage storage service aliases
Admin(AdminCommands)
Manage IAM users, policies, groups, and service accounts
Bucket(BucketArgs)
Manage bucket-oriented workflows
Object(ObjectArgs)
Manage object-oriented workflows
Ls(LsArgs)
Deprecated: use rc bucket list or rc object list
Mb(MbArgs)
Deprecated: use rc bucket create
Rb(RbArgs)
Deprecated: use rc bucket remove
Cat(CatArgs)
Deprecated: use rc object show
Head(HeadArgs)
Deprecated: use rc object head
Stat(StatArgs)
Deprecated: use rc object stat
Cp(Box<CpArgs>)
Deprecated: use rc object copy
Get(Box<GetArgs>)
Download one remote object to the local filesystem
Put(Box<PutArgs>)
Upload one or more local paths to remote object storage
Mv(MvArgs)
Deprecated: use rc object move
Rm(RmArgs)
Deprecated: use rc object remove
Undo(UndoArgs)
Restore a versioned PUT or DELETE operation without removing data history
Pipe(PipeArgs)
Stream stdin to an object
Find(FindArgs)
Deprecated: use rc object find
Event(EventArgs)
Deprecated: use rc bucket event
Cors(CorsCommands)
Deprecated: use rc bucket cors
Diff(DiffArgs)
Show differences between locations
Mirror(MirrorArgs)
Mirror objects between locations
Tree(TreeArgs)
Deprecated: use rc object tree
Deprecated: use rc object share
Sql(SqlArgs)
Run S3 Select SQL on an object
Version(VersionCommands)
Deprecated: use rc bucket version
Tag(TagCommands)
Manage bucket and object tags
Anonymous(AnonymousCommands)
Deprecated: use rc bucket anonymous
Quota(QuotaCommands)
Deprecated: use rc bucket quota
Ilm(IlmArgs)
Deprecated: use rc bucket lifecycle
Replicate(ReplicateArgs)
Deprecated: use rc bucket replication
Retention(RetentionArgs)
Manage object retention with mc-compatible command syntax
Legalhold(LegalHoldArgs)
Manage object legal hold with mc-compatible command syntax
Completions(CompletionsArgs)
Generate shell completion scripts
Du(DuArgs)
Summarize storage usage
Ping(PingArgs)
Check service liveness and round-trip latency
Ready(ReadyArgs)
Check whether required dependencies are ready
Watch(WatchArgs)
Stream live object notifications
Trait Implementations§
Source§impl FromArgMatches for Commands
impl FromArgMatches for Commands
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 Commands
impl Subcommand for Commands
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 Commands
impl RefUnwindSafe for Commands
impl Send for Commands
impl Sync for Commands
impl Unpin for Commands
impl UnsafeUnpin for Commands
impl UnwindSafe for Commands
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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