ls

    ls command for MoonX.

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

    #ls

    List files and directories for MoonX.

    moonx cli/ls@0.2.4 [-aAdF1RCxmrtucSbqNQ] [-w WIDTH] [-T TABSIZE] [-H|-L|-P] [FILE...]

    #Supported scope

    List names with hidden-entry selection, recursion, sorting, quoting, columns and explicit color. Default output is one entry per line.

    #Options

    OptionDescription
    -a / -AInclude all dot entries / exclude . and ...
    -d / -RList directory operands themselves / recurse.
    -FAppend type indicators.
    -1 / -C / -x / -mLine / column / row / comma layout.
    -r / -t / -SReverse / time / regular-file-size sorting.
    -u / -c / --time=WORDChoose access / status-change / selected timestamp.
    -H / -L / -PFollow command-line links / all links / no links.
    -w, --width=COLS / -T, --tabsize=COLSSet layout width / tab width.
    -b / -N / -Q / --quoting-style=STYLEChoose escaping / literal / C / named quoting.
    -q / --show-control-charsReplace / retain control bytes after quoting.
    --color[=WHEN]Explicit always or never color; bare flag means always.
    --help / --versionShow help / package version.

    #Limitations

    • Long listings, ownership, permissions, inode/link counts and block counts are unsupported.
    • --color=auto is rejected. Mode/capability/link-count color selectors must be disabled in LS_COLORS where the corresponding entries occur.
    • Size sorting rejects nonregular entries. Names and ordering use C-byte rules.

    #Examples

    moonx cli/ls@0.2.4 -A moonx cli/ls@0.2.4 -R -1 src