Struct ptagslib::bin::Opt[][src]

pub struct Opt {
    pub thread: usize,
    pub output: PathBuf,
    pub dir: PathBuf,
    pub stat: bool,
    pub bin_ctags: PathBuf,
    pub bin_git: PathBuf,
    pub opt_ctags: Vec<String>,
    pub opt_git: Vec<String>,
    pub opt_git_lfs: Vec<String>,
    pub verbose: bool,
    pub exclude_lfs: bool,
    pub include_untracked: bool,
    pub include_ignored: bool,
    pub include_submodule: bool,
    pub validate_utf8: bool,
    pub unsorted: bool,
    pub exclude: Vec<String>,
    pub completion: Option<String>,
    pub config: bool,
}

Fields

Number of threads

Output filename ( filename '-' means output to stdout )

Search directory

Show statistics

Path to ctags binary

Path to git binary

Options passed to ctags

Options passed to git

Options passed to git-lfs

Verbose mode

Exclude git-lfs tracked files

Include untracked files

Include ignored files

Include submodule files

Validate UTF8 sequence of tag file

Disable tags sort

Glob pattern of exclude file ( ex. --exclude '*.rs' )

Generate shell completion file

Generate configuration sample file

Trait Implementations

impl Debug for Opt
[src]

Formats the value using the given formatter. Read more

impl StructOpt for Opt
[src]

Returns the corresponding clap::App.

Creates the struct from clap::ArgMatches. It cannot fail with a parameter generated by clap by construction. Read more

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

impl StructOptToml for Opt
[src]

Merge the struct from TOML and the struct from args

Creates the struct from clap::ArgMatches with initial values from TOML.

Creates the struct from command line arguments with initial values from TOML.

Creates the struct from iterator with initial values from TOML.

impl Default for Opt
[src]

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for Opt

impl Sync for Opt