difftreelog
docs Add missing docs to lib.rs of CLI
in: master
1 file changed
crates/jrsonnet-cli/src/lib.rsdiffbeforeafterboth26 )]26 )]27 pub evaluate: bool,27 pub evaluate: bool,282829 #[clap(about = "Path to the file to be compiled if `--evaluate` is unset, \29 #[clap(30 otherwise code itself")]30 about = "Path to the file to be compiled if `--evaluate` is unset, otherwise code itself"31 )]31 pub input: String,32 pub input: String,32}33}37 /// Disable standard library.38 /// Disable standard library.38 /// By default standard library will be available via global `std` variable.39 /// By default standard library will be available via global `std` variable.39 /// Note that standard library will still be loaded40 /// Note that standard library will still be loaded40 /// if chosen manifestification method is not `none`41 /// if chosen manifestification method is not `none`.41 #[clap(long)]42 #[clap(long)]42 no_stdlib: bool,43 no_stdlib: bool,434444 /// Maximal allowed number of stack frames,45 /// Maximal allowed number of stack frames,45 /// stack overflow error will be raised if this number gets exceeded46 /// stack overflow error will be raised if this number gets exceeded.46 #[clap(long, short = 's', default_value = "200")]47 #[clap(long, short = 's', default_value = "200")]47 max_stack: usize,48 max_stack: usize,484949 /// Library search dirs.50 /// Library search dirs.50 /// Any not found `imported` file will be searched in these.51 /// Any not found `imported` file will be searched in these.51 /// This can also be specified via `JSONNET_PATH` variable,52 /// This can also be specified via `JSONNET_PATH` variable,52 /// which should contain a colon-separated (semicolon-separated on Windows) list of directories53 /// which should contain a colon-separated (semicolon-separated on Windows) list of directories.53 #[clap(long, short = 'J')]54 #[clap(long, short = 'J')]54 jpath: Vec<PathBuf>,55 jpath: Vec<PathBuf>,55}56}