pub enum ReleaseCommand {
Changelog {
version: Option<String>,
},
Version,
Analyze {
since: Option<String>,
explain: bool,
},
Next {
base: String,
head: String,
},
Bump {
level: Option<String>,
exact: Option<String>,
dry_run: bool,
},
}Expand description
The subcommands of majordomus release.
Variants§
Changelog
The changelog, composed from the layer’s release records, the decisions dated inside each release’s window, and the conventional commits in its range
Version
The version the crate manifest declares, whether the projection the shell tool reads states it, any version written by hand where the tool’s files live, and the bump the commits since the last release imply
Analyze
What the public contract did since the last release, and the smallest version this tree may therefore declare
Fields
Next
The version a landing of HEAD onto the trunk allocates, and why: the trunk’s version, the measured movement, the policy floor and any exemption (ADR 0134)
Bump
Raise the version in the one place it is authored, to at least what the public contract requires; scripts/derive derives the rest
Trait Implementations§
Source§impl Debug for ReleaseCommand
impl Debug for ReleaseCommand
Source§impl FromArgMatches for ReleaseCommand
impl FromArgMatches for ReleaseCommand
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 ReleaseCommand
impl Subcommand for ReleaseCommand
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 subcommand