rm

    rm command for MoonX.

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

    #rm

    Remove files and directory trees for MoonX.

    moonx cli/rm@0.2.3 [OPTION]... FILE...

    #Supported scope

    Remove operands without following symbolic links. Explicit confirmation modes read stdin; recursive removal protects filesystem roots by default.

    #Options

    OptionDescription
    -r, -R, --recursiveRemove directory trees.
    -d, --dirRemove empty directories.
    -f, --forceIgnore missing files and disable prompts.
    -i / -I / --interactive[=WHEN]Ask always / once / always, once or never.
    -v, --verboseShow removals.
    --preserve-root / --no-preserve-rootEnable / disable root protection.
    --help / --versionShow help / package version.

    #Limitations

    • Implicit terminal-sensitive write-protection prompts are unsupported.
    • Final . and .. operands are refused. Earlier successful removals are not rolled back after errors.

    #Examples

    moonx cli/rm@0.2.3 temporary.txt moonx cli/rm@0.2.3 -i unwanted.txt

    Source Files