basename command for MoonX.
moonx cli/basename@0.2.3 [-a] [-s SUFFIX] [-z] NAME [SUFFIX]| Option | Description |
|---|---|
| -a, --multiple | Process each operand separately. |
| -s, --suffix=SUFFIX | Remove a matching suffix; implies multiple operands. |
| -z, --zero | End each result with NUL. |
| --help / --version | Show help / package version. |
moonx cli/basename@0.2.3 /tmp/report.txt
moonx cli/basename@0.2.3 -s .txt report.txt notes.txt