Sign in

    rm

    rm command for MoonX.

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

    Dependencies

    #rm

    Version 0.2.1 behavior is documented here. The support record separates local verification from published MoonX behavior; moonx examples use registry releases.

    Remove files, empty directories with -d, or directory trees with -r/-R. Supports force (-f) and verbose (-v) modes. Recursive deletion never follows symbolic links and refuses final dot/dot-dot operands. Windows accepts both slash and backslash separators for this operand check; on POSIX a backslash remains part of the filename. Root protection is on by default and follows --preserve-root / --no-preserve-root; an explicitly named cwd does not receive an extra repository policy. Operand failures do not prevent later safe operands from being processed; the final status records any failure. File access authorization belongs to the caller or host. Accepting --no-preserve-root does not establish a tested root-deletion contract; that destructive operation is not part of the validation fixtures. Interactive -i/-I modes are not implemented.

    #Standalone metadata

    Standalone --version prints exactly rm 0.2.1 followed by one newline. Standalone --help starts with Usage: rm, lists both metadata options, and ends with a newline. Both write to stdout, leave stdin unread, and exit with status 0. Exact-version publication and verification remain recorded separately in the support record.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io