mkdir

    mkdir command for MoonX.

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

    #mkdir

    Create directories and optional parent paths through MoonX.

    #Usage

    moonx cli/mkdir -p output/reports moonx cli/mkdir -m 700 private-dir

    Attempt all operands, preserving existing directory modes with -p. Explicit mode setting is available on POSIX hosts.

    #Common options

    OptionDescription
    -p, --parentsCreate missing parent directories.
    -m VALUE, --mode VALUESet the leaf mode, numeric or supported symbolic.
    -v, --verboseShow created directories.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Symbolic modes that depend on the current umask are rejected. Restrictive parent permissions may leave already-created parents and return status 2.
    • Windows rejects -m when creation is needed; -p on existing directories remains a successful no-op.

    See the compatibility guide for the supported profile.

    Source Files