pub enum DistributionCommand {
Show,
Status,
Validate,
Targets,
Matrix,
Artifact {
target: String,
tag: String,
},
Releases,
Metadata {
record: PathBuf,
},
Build,
}Expand description
The subcommands of majordomus distribution.
Variants§
Show
The model: the install command, where an installation goes, and every declared target
Status
Whether the advertised one-line installation works right now, and what is missing when it does not
Validate
Every invariant of the model and of the release records; exit 10 with each violation named
Targets
Every declared target, one line each, with the artifact name it derives
Matrix
The release build matrix, as the release workflow reads it
Artifact
The archive name and root directory a target and a tag derive
Releases
Every recorded release, newest first, and the one an unpinned installation resolves to
Metadata
The public metadata one release record publishes, rendered from the record alone
Fields
Build
What this executable is: version, target triple, profile, commit
Trait Implementations§
Source§impl Debug for DistributionCommand
impl Debug for DistributionCommand
Source§impl FromArgMatches for DistributionCommand
impl FromArgMatches for DistributionCommand
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<'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>
Assign values from
ArgMatches to self.Source§impl Subcommand for DistributionCommand
impl Subcommand for DistributionCommand
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
Append to [
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
Test whether
Self can parse a specific subcommandAuto Trait Implementations§
impl Freeze for DistributionCommand
impl RefUnwindSafe for DistributionCommand
impl Send for DistributionCommand
impl Sync for DistributionCommand
impl Unpin for DistributionCommand
impl UnsafeUnpin for DistributionCommand
impl UnwindSafe for DistributionCommand
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