dirname

    dirname command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    94

    #dirname

    Extract parent paths for MoonX.

    moonx cli/dirname@0.2.3 [-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.

    #Limitations

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

    #Examples

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

    Source Files