pub enum ReleaseCommand {
Run {
version: Option<String>,
target: Option<String>,
},
Check {
target: Option<String>,
},
Notes {
version: String,
prev_tag: Option<String>,
target: Option<String>,
},
Bump {
version: String,
target: Option<String>,
},
Tag {
version: String,
target: Option<String>,
},
Status {
target: Option<String>,
},
}Variants§
Run
Run the full release workflow end-to-end
Fields
Check
Check if PRs have merged since the last tag
Notes
Generate release notes for a version
Bump
Bump version in manifest files
Tag
Create a git tag and push it
Status
Check release workflow status
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>
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 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
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 ReleaseCommand
impl RefUnwindSafe for ReleaseCommand
impl Send for ReleaseCommand
impl Sync for ReleaseCommand
impl Unpin for ReleaseCommand
impl UnsafeUnpin for ReleaseCommand
impl UnwindSafe for ReleaseCommand
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