rm

    rm command for MoonX.

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

    #rm

    Remove files and directory trees through MoonX.

    #Usage

    moonx cli/rm temporary.txt moonx cli/rm --interactive=always unwanted.txt moonx cli/rm -r old-output

    Process operands without following symbolic links. Recursive removal protects filesystem roots by default; explicit confirmation reads stdin.

    #Common options

    OptionDescription
    -r, --recursiveRemove directory trees.
    -f, --forceIgnore missing files and disable prompts.
    -d, --dirRemove empty directories.
    -v, --verboseShow removals.
    --interactive VALUESelect always, once or never; a bare flag selects always.
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Terminal-sensitive write-protection prompts are unavailable. Use an explicit interactive mode when confirmation is needed.
    • Final dot/dot-dot operands and symbolic-link operands ending in a separator are refused. Earlier successful removals are not rolled back.

    See the compatibility guide for the supported profile.

    Source Files