committed by
GitHub
parent
84c3a0f4d1
commit
8e7fd6772d
@@ -396,6 +396,10 @@ pub struct CommandLineArgs {
|
||||
#[clap(long = "only", arg_enum)]
|
||||
only: Vec<Step>,
|
||||
|
||||
/// Set environment variables
|
||||
#[clap(long = "env")]
|
||||
env: Vec<String>,
|
||||
|
||||
/// Output logs
|
||||
#[clap(short = 'v', long = "verbose")]
|
||||
pub verbose: bool,
|
||||
@@ -433,6 +437,10 @@ impl CommandLineArgs {
|
||||
pub fn show_config_reference(&self) -> bool {
|
||||
self.show_config_reference
|
||||
}
|
||||
|
||||
pub fn env_variables(&self) -> &Vec<String> {
|
||||
&self.env
|
||||
}
|
||||
}
|
||||
|
||||
/// Represents the application configuration
|
||||
|
||||
Reference in New Issue
Block a user