Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maclong9/list
Quickly list files found in your operating system
https://github.com/maclong9/list
ls swift unix utilities
Last synced: 10 days 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 (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-15T10:44:16.000Z (7 months ago)
- Last Synced: 2025-01-16T09:27:17.116Z (14 days ago)
- Topics: ls, swift, unix, utilities
- Language: Swift
- Homepage:
- Size: 1.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwiftList
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2Fmaclong9%2Fswift-list%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/maclong9/swift-list)
A __simple__ and __fast__ rebuild of the UNIX `ls` command.
## Installation
### Manually
``` sh
sudo curl -L -o /usr/local/bin/sls https://github.com/maclong9/swift-list/releases/download/v1.0.3/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] []
```