pub struct CommonExtractArgs {
pub logging: LoggingArgs,
pub repo: PathBuf,
pub git_ref: String,
pub output: Option<PathBuf>,
}Expand description
Common arguments for the extract command.
Fields§
§logging: LoggingArgs§repo: PathBufPath to the git repository.
git_ref: StringGit ref (tag, branch, or commit SHA) to extract from.
output: Option<PathBuf>Output file path (writes JSON). Defaults to stdout.
Trait Implementations§
Source§impl Args for CommonExtractArgs
impl Args for CommonExtractArgs
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
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Clone for CommonExtractArgs
impl Clone for CommonExtractArgs
Source§fn clone(&self) -> CommonExtractArgs
fn clone(&self) -> CommonExtractArgs
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CommonExtractArgs
impl Debug for CommonExtractArgs
Source§impl FromArgMatches for CommonExtractArgs
impl FromArgMatches for CommonExtractArgs
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(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for CommonExtractArgs
impl RefUnwindSafe for CommonExtractArgs
impl Send for CommonExtractArgs
impl Sync for CommonExtractArgs
impl Unpin for CommonExtractArgs
impl UnsafeUnpin for CommonExtractArgs
impl UnwindSafe for CommonExtractArgs
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