[−][src]Struct cargo_create::args::Args
Fields
branch: Option<String>The git branch to checkout.
If not specified the default remote branch is used.
config_path: boolPrints the path to the user configuration file.
features: Option<Vec<String>>The list of features to use.
The items are space delimited.
force: boolIf true overwrites the target folder even if it is non-empty.
git: Option<String>The git repository to use as a template.
A branch can optionally be set by appending an @<branch name>.
interactive: boolWhether to start the questioning process.
name: Option<String>The name of the project to generate.
parameters: Vec<String>Catch-all for custom variables.
profile: Option<String>The profile to use
verbosity: u8The verbosity of the logs.
Implementations
impl Args[src]
pub fn log_filter_from_verbose(&self) -> LevelFilter[src]
Returns the log filter for the given verbosity level.
Trait Implementations
impl Clap for Args[src]
fn parse() -> Self[src]
fn try_parse() -> Result<Self, Error>[src]
fn parse_from<I, T>(itr: I) -> Self where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone, [src]
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
fn try_parse_from<I, T>(itr: I) -> Result<Self, Error> where
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone, [src]
I: IntoIterator<Item = T>,
T: Into<OsString> + Clone,
impl Debug for Args[src]
impl FromArgMatches for Args[src]
fn from_arg_matches(matches: &ArgMatches) -> Self[src]
impl IntoApp for Args[src]
Auto Trait Implementations
impl RefUnwindSafe for Args
impl Send for Args
impl Sync for Args
impl Unpin for Args
impl UnwindSafe for Args
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,