env

    env command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    95

    #env

    Inspect environments and launch commands for MoonX.

    moonx cli/env@0.2.3 [-i] [-0] [-u NAME] [-C DIR] [-S STRING] [NAME=VALUE]... [COMMAND [ARG]...]

    #Supported scope

    Print the environment or apply assignments/unsets and run one executable with separate arguments. The first assignment ends option scanning.

    #Options

    OptionDescription
    -i, --ignore-environmentStart with an empty environment; bare - is equivalent.
    -u, --unset=NAMERemove a variable.
    -0, --nullSeparate printed entries with NUL.
    -C, --chdir=DIRSet the child working directory.
    -S, --split-string=STRINGSplit quotes, escapes and original-environment substitutions.
    --help / --versionShow help / package version.

    #Limitations

    • --null cannot be used with a child command. Environment listing order is unspecified.
    • Split-string parsing is not shell evaluation.

    #Examples

    moonx cli/env@0.2.3 moonx cli/env@0.2.3 MODE=test moonx cli/printenv@0.2.3 MODE