echo

    echo command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.5
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    136

    #echo

    Print argument text through MoonX.

    #Usage

    moonx cli/echo hello world moonx cli/echo -e 'one\ntwo'

    Join arguments with spaces and append a newline by default. -n omits the newline; -e and -E control backslash escapes.

    #Common options

    OptionDescription
    -nOmit the final newline.
    -eEnable backslash escapes.
    -EDisable backslash escapes.
    --helpShow help.
    --versionShow the version.

    #Notes

    • POSIXLY_CORRECT enables escapes; only an initial -n permits option parsing in that mode.
    • -- is printed literally. --help and --version are metadata only when used alone; use printf for unambiguous option-like text.

    See the compatibility guide for the supported profile.

    Source Files