Struct cargo_ghp_upload::Args [] [src]

struct Args {
    deploy_branch: String,
    publish_branch: Vec<String>,
    publish_tags: bool,
    token: Option<String>,
    message: String,
    upload_directory: PathBuf,
    clobber_index: bool,
    verbosity: u8,
}

Upload documentation straight to GitHub Pages while maintaining branch separation and history

Fields

The branch used for GitHub Pages

Branches to publish

Publish documentation for tag builds (GitHub releases)

GitHub Personal Access token

Message for the git commit

The directory to publish the files from

Methods

impl Args
[src]

[src]

Trait Implementations

impl Debug for Args
[src]

[src]

Formats the value using the given formatter. Read more

impl StructOpt for Args
[src]

[src]

Returns the corresponding clap::App.

[src]

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