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 env_file: Option<String>, pub disable_workspace: bool, pub disable_on_error: bool, pub print_only: bool, pub list_all_steps: bool, pub disable_check_for_updates: bool, pub experimental: bool, }
Holds CLI args
Fields
build_file: String
The external Makefile.toml path
task: String
The task to invoke
log_level: String
Log level name
cwd: Option<String>
Current working directory
env: Option<Vec<String>>
Environment variables
env_file: Option<String>
Environment variables file
disable_workspace: bool
Prevent workspace support
disable_on_error: bool
Prevent on error flow even if defined in config section
print_only: bool
Only print the execution plan
list_all_steps: bool
List all known steps
disable_check_for_updates: bool
Disables the update check during startup
experimental: bool
Allows access unsupported experimental predefined tasks
Methods
impl CliArgs
[src]
impl CliArgs
Trait Implementations
impl Debug for CliArgs
[src]
impl Debug for CliArgs
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for CliArgs
[src]
impl Clone for CliArgs