dirname

    dirname command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.5
    License
    Apache-2.0
    Last updated
    4 days ago
    Downloads
    130

    #dirname

    Development candidate: cli/dirname@0.2.5. Publication is separate; latest.json records the uploaded coordinates.

    Extract parent paths for MoonX.

    moonx cli/dirname@0.2.5 [-z] NAME...

    #Supported scope

    Remove the final component of each path without accessing the filesystem. An empty operand produces ..

    #Options

    OptionDescription
    -z, --zeroEnd each result with NUL.
    --help / --versionShow help / package version.

    #Argument and exit-status contract

    Ordinary option/operand errors exit 1; documented capability refusals retain their own status.

    #Limitations

    • Paths are processed textually; symbolic links are not resolved.

    #Examples

    moonx cli/dirname@0.2.5 /tmp/report.txt moonx cli/dirname@0.2.5 first/file second/file

    Source Files