pub struct Args {Show 31 fields
pub help: bool,
pub version: bool,
pub prefs: bool,
pub headless: bool,
pub summary: bool,
pub no_summary: bool,
pub wrap: bool,
pub no_wrap: bool,
pub reverse: bool,
pub no_reverse: bool,
pub help_line: bool,
pub no_help_line: bool,
pub list_jobs: bool,
pub completion_list_jobs: bool,
pub offline: bool,
pub init: bool,
pub listen: bool,
pub no_listen: bool,
pub send: Option<String>,
pub job: Option<ConcreteJobRef>,
pub no_default_features: bool,
pub features: Option<String>,
pub all_features: bool,
pub export_locations: bool,
pub no_export_locations: bool,
pub watch: Option<String>,
pub project: Option<String>,
pub config_toml: Option<String>,
pub generate_config_schema: bool,
pub args: Vec<String>,
pub additional_job_args: Vec<String>,
}Expand description
Launch arguments
Fields§
§help: boolPrint help information
version: boolPrint the version
prefs: boolPrint the path to the prefs file, create it if it doesn’t exist
headless: boolRun without user interface: just run the default job on change
summary: boolStart in summary mode
no_summary: boolStart in full mode (not summary)
wrap: boolStart with lines wrapped
no_wrap: boolStart with lines not wrapped
reverse: boolStart with gui vertical order reversed
no_reverse: boolStart with standard gui order
help_line: boolDisplay a help line
no_help_line: boolDo not display a help line
list_jobs: boolList available jobs
completion_list_jobs: bool§offline: boolDon’t access the network
init: boolCreate a bacon.toml file, ready to be customized
listen: boolListen on a unix socket for commands
no_listen: boolDon’t listen on a unix socket for commands
send: Option<String>Send a command on bacon’s unix socket
job: Option<ConcreteJobRef>Job to launch: check, clippy, custom ones…
no_default_features: boolIgnore features of both the package and the bacon job
features: Option<String>Comma separated list of features (if the job defines some, they’re merged)
all_features: boolActivate all available features
export_locations: boolExport locations in .bacon-locations file
no_export_locations: boolDon’t export locations
watch: Option<String>Path to watch (overriding what’s normally computed from the project’s type, bacon.toml file, etc.)
project: Option<String>Project to run jobs on, and use as working directory
config_toml: Option<String>Configuration passed as a TOML string
generate_config_schema: boolGenerate the JSON Schema for bacon configuration files
args: Vec<String>What to do: either a job, or a path, or both
additional_job_args: Vec<String>Arguments given to the job
Implementations§
Trait Implementations§
Source§impl Args for Args
impl Args for Args
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl CommandFactory for Args
impl CommandFactory for Args
Source§impl FromArgMatches for Args
impl FromArgMatches for Args
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.