touch

    touch command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.7
    License
    Apache-2.0
    Last updated
    3 days ago
    Downloads
    203

    #touch

    Create missing empty files through MoonX.

    #Usage

    moonx cli/touch new-file.txt moonx cli/touch -c missing-file.txt

    Create missing files in operand order. With -c, missing files are skipped without creation.

    #Common options

    OptionDescription
    -c, --no-createSkip missing files without creating them.
    --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • Existing files fail even with -c: timestamp updates are unsupported.
    • -a, -m, -d, -r, -t and --time are recognized but rejected before mutation. Earlier successful creates remain after later failures.

    Build from source with the MoonBit 1.0 RC1 toolchain.

    See the compatibility guide for the supported profile.

    Source Files