difftreelog
docs fix `ExtVarOpts`
in: master
1 file changed
crates/jrsonnet-cli/src/ext.rsdiffbeforeafterboth32// #[clap(help_heading = "EXTERNAL VARIABLES")]32// #[clap(help_heading = "EXTERNAL VARIABLES")]33pub struct ExtVarOpts {33pub struct ExtVarOpts {34 /// Add string external variable.34 /// Add string external variable.35 /// External variables are globally available, so prefer to use top level arguments where possible.35 /// External variables are globally available so it is preferred36 /// to use top level arguments whenever it's possible.36 /// If [=data] is not set, then it will be read from `name` env variable.37 /// If [=data] is not set then it will be read from `name` env variable.37 /// Can be accessed from code via `std.extVar("name")`38 /// Can be accessed from code via `std.extVar("name")`.38 #[clap(long, short = 'V', name = "name[=var data]", number_of_values = 1)]39 #[clap(long, short = 'V', name = "name[=var data]", number_of_values = 1)]39 ext_str: Vec<ExtStr>,40 ext_str: Vec<ExtStr>,40 /// Read string external variable from file.41 // / Read string external variable from file.41 /// See also `--ext-str`42 // / See also `--ext-str`42 // #[clap(long, name = "name[=var path]", number_of_values = 1)]43 // #[clap(long, name = "name[=var path]", number_of_values = 1)]43 // ext_str_file: Vec<ExtStr>,44 // ext_str_file: Vec<ExtStr>,44 /// Add external variable from code.45 /// Add external variable from code.