INNER CODE UNIT · Rust

version_debug_line

ngless-toolkit/ngless · src/lib.rs:64

    pub fn version_debug_line() -> String {
        format!(
            "ngless v{VERSION_STR} (full version: {VERSION_STR_LONG}; release date: {DATE_STR})"
        )
    }
}

/// Usage/help text, listing the flags this build actually supports (see `cli::parse_args`).
/// Used by `--help`/`-h` (printed to stdout) and as the usage message when no script is given
/// (printed to stderr by `cli::exec_default`).
pub(crate) fn help_text() -> String {
    format!(
        "{header}\n\
         \n\
         Usage: ngless [OPTIONS] SCRIPT [ARGS...]\n\
         \n\
         Run the ngless script SCRIPT. Any ARGS following it are exposed to the script as ARGV.\n\
         \n\

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…