pub struct IntegrateArgs {
pub branch: String,
pub target: Utf8PathBuf,
pub message: Option<String>,
pub local: bool,
pub forge: bool,
pub apply: bool,
pub json: bool,
}Expand description
Move one implementation onto the trunk, through the recorded authority.
Fields§
§branch: StringThe branch to integrate.
target: Utf8PathBufThe target repository.
message: Option<String>The trunk commit’s message. A local integration writes it as the squash commit, so it must be a Conventional Commit the landed guards admit, scoped wherever the record names a release. Required for a local integration under the squash merge form, and refused under rebase, where every commit of the branch keeps its own message.
local: boolIntegrate locally for this one execution, whatever the record says. It writes no record and changes no landed byte.
forge: boolIntegrate at the forge for this one execution, whatever the record says.
apply: boolPerform the integration. Without it the command reports what it would do and writes nothing.
json: boolEmit one JSON object on stdout instead of the human report.
Trait Implementations§
Source§impl Args for IntegrateArgs
impl Args for IntegrateArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for IntegrateArgs
impl Debug for IntegrateArgs
Source§impl FromArgMatches for IntegrateArgs
impl FromArgMatches for IntegrateArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.