Struct cargo_make::types::CliArgs [] [src]

pub struct CliArgs {
    pub build_file: String,
    pub task: String,
    pub log_level: String,
    pub cwd: Option<String>,
    pub env: Option<Vec<String>>,
    pub disable_workspace: bool,
    pub print_only: bool,
    pub list_all_steps: bool,
    pub disable_check_for_updates: bool,
    pub experimental: bool,
}

Holds CLI args

Fields

The external Makefile.toml path

The task to invoke

Log level name

Current working directory

Environment variables

Prevent workspace support

Only print the execution plan

List all known steps

Disables the update check during startup

Allows access unsupported experimental predefined tasks

Methods

impl CliArgs
[src]

[src]

Creates and returns a new instance.

Trait Implementations

impl Debug for CliArgs
[src]

[src]

Formats the value using the given formatter. Read more

impl Clone for CliArgs
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more