install

    Copy regular files and create directories with a requested POSIX mode.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    14 hours ago
    Downloads
    9

    #install

    Copy regular files and create directories with a requested POSIX mode.

    #Usage

    moonx cli/install -m 755 tool bin/tool moonx cli/install -d -m 700 private

    #Common options

    OptionDescription
    -d, --directoryCreate directories.
    -DCreate missing leading directories for the destination.
    -m VALUE, --mode VALUESet the destination permission bits in octal.
    --helpShow help.
    --versionShow the version.

    #Notes

    Linux and macOS support regular file installation, existing target directories, -D leading directories and -d directories with numeric modes. A distinct regular destination is unlinked and recreated. Equal or unavailable file identities and existing symbolic links are refused. The destination tree must remain under caller control. Windows permission application requires additional APIs.

    Source Files