Sign in

    sleep

    sleep command for MoonX.

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

    Dependencies

    #sleep for moonx

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

    Pause for a number of seconds:

    moonx cli/sleep 2 moonx cli/sleep 0.5 moonx cli/sleep 1m 30s # arguments are summed

    NUMBER may be fractional; suffixes s, m, h, d scale it. With multiple arguments, sleeps for their sum.

    --help and --version are handled without sleeping. The version token matches the package version in moon.mod. -- explicitly ends option parsing before a duration operand.

    #Standalone metadata

    Standalone --version prints exactly sleep 0.2.1 followed by one newline. Standalone --help starts with Usage: sleep, 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.

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io