tree command for MoonX.
moonx cli/tree -L 2 .
moonx cli/tree -J --noreport .| Option | Description |
|---|---|
| -a, --all | Include hidden entries. |
| -d, --dirs-only | List directories only. |
| -L VALUE, --level VALUE | Limit depth. |
| -J, --json | Write JSON output. |
| -P VALUE, --pattern VALUE | Include files matching a pattern. |
| -I VALUE, --ignore VALUE | Exclude matching names and subtrees. |
| --prune | Omit directories left empty by filtering. |
| --help | Show help. |
| --version | Show the version. |