[][src]Struct ffizer::CmdOpt

pub struct CmdOpt {
    pub verbose: usize,
    pub confirm: AskConfirmation,
    pub x_always_default_value: bool,
    pub offline: bool,
    pub src_uri: SourceUri,
    pub src_rev: String,
    pub src_folder: Option<PathBuf>,
    pub dst_folder: PathBuf,
}

Fields

Verbose mode (-v, -vv (very verbose / level debug), -vvv) print on stderr

ask confirmation 'never' or 'always'

should not ask for valiables values, always use defautl value or empty (experimental)

in offline, only local templates or cached templates are used

uri / path of the template

git revision of the template

path of the folder under the source uri to use for template

destination folder (created if doesn't exist)

Trait Implementations

impl Clone for CmdOpt
[src]

Performs copy-assignment from source. Read more

impl Default for CmdOpt
[src]

impl Debug for CmdOpt
[src]

impl StructOpt for CmdOpt
[src]

Gets the struct from the command line arguments. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Print the error message and quit the program in case of failure. Read more

Gets the struct from any iterator such as a Vec of your making. Read more

Auto Trait Implementations

impl Send for CmdOpt

impl Sync for CmdOpt

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> SendSyncUnwindSafe for T where
    T: Send + Sync + UnwindSafe + ?Sized
[src]