pub enum LinesAction {
List {
target: Utf8PathBuf,
json: bool,
},
Open {
line: String,
base: Option<String>,
target: Utf8PathBuf,
apply: bool,
json: bool,
},
Rc {
line: String,
target: Utf8PathBuf,
json: bool,
},
Retire {
line: String,
target: Utf8PathBuf,
apply: bool,
json: bool,
},
}Expand description
The line verbs. A line is release/<major>.<minor>: cut from an
explicit base, released by hand, and retired only behind its tags.
Variants§
List
Report every release line — its tags, its tag coverage, and its seat — offline.
Fields
target: Utf8PathBufThe repository to read; any of its worktrees names it.
Open
Open release/<line> at an explicit base, seated per the recorded
workflow mode; preview by default.
Fields
base: Option<String>The commit-ish the line is cut from — the tag it patches. A line is a snapshot of a chosen commit, so there is no default.
target: Utf8PathBufThe repository to act on; any of its worktrees names it.
Rc
Report a line’s newest candidate tag and the next number a finding would mint; read-only, because a tag is never hand-authored.
Fields
target: Utf8PathBufThe repository to read; any of its worktrees names it.
Retire
Retire a line that left production: the seat before the branch, only behind its tags, and only under –apply; the remote deletion stays the operator’s.
Fields
target: Utf8PathBufThe repository to act on; any of its worktrees names it.
Trait Implementations§
Source§impl Debug for LinesAction
impl Debug for LinesAction
Source§impl FromArgMatches for LinesAction
impl FromArgMatches for LinesAction
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 LinesAction
impl Subcommand for LinesAction
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