rmdir

    rmdir command for MoonX.

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

    #rmdir

    Remove empty directories through MoonX.

    #Usage

    moonx cli/rmdir empty-dir moonx cli/rmdir -p empty-parent/empty-child

    Attempt each operand; -p also removes empty parents until a failure or a protected working-directory/root boundary.

    #Common options

    OptionDescription
    -p, --parentsRemove empty parents after the operand.
    -I, --ignore-fail-on-non-emptyIgnore failures caused only by nonempty directories.
    -v, --verboseShow removals.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Nonempty trees are not removed. POSIX directory symlinks fail; Windows may remove a junction while leaving its target intact.
    • -I is a project alias for --ignore-fail-on-non-empty.

    See the compatibility guide for the supported profile.

    Source Files