https://github.com/maclong9/list
Quickly list files found in your operating system
https://github.com/maclong9/list
cli ls unix
Last synced: 4 months ago
JSON representation
Quickly list files found in your operating system
- Host: GitHub
- URL: https://github.com/maclong9/list
- Owner: maclong9
- License: apache-2.0
- Created: 2024-06-02T09:25:02.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-22T17:13:12.000Z (5 months ago)
- Last Synced: 2025-03-14T00:34:41.675Z (4 months ago)
- Topics: cli, ls, unix
- Language: Swift
- Homepage:
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftList
[](https://swiftpackageindex.com/maclong9/list)
A __simple__ and __fast__ rebuild of the UNIX `ls` command.
## Installation
### Manually
``` sh
mkdir /usr/local/bin && sudo curl -L -o /usr/local/bin/sls https://github.com/maclong9/swift-list/releases/download/v1.1.0/sls
sudo chmod +x /usr/local/bin/sls
```### With Mint
``` sh
mint install maclong9/swift-list
```> [!NOTE]
> You can also clone the repository and build the package yourself before moving to your executables.## Usage
``` sh
sls [--all] [--long] [--recurse] [--color] [--icons] [--one-line] []
```### Options
- `-a, --all`: Display all files, including hidden.
- `-l, --long`: Display file attributes, one file per line
- `-r, --recurse`: Recurse into directories.
- `-c, --color`: Colorize the output.
- `-i, --icons`: Display icons denoting file type.
- `-o, --one-line`: Display each file on its own line.
- `-h, --help`: Show help information.### Recommended Options
These options provide the best readability while still giving detailed information.
``` sh
sls -cli [-ra] []
```