https://github.com/kelcheone/lsgo
A minimal implementation of ls command in Go.
https://github.com/kelcheone/lsgo
Last synced: 2 days ago
JSON representation
A minimal implementation of ls command in Go.
- Host: GitHub
- URL: https://github.com/kelcheone/lsgo
- Owner: kelcheone
- Created: 2023-02-26T20:24:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T20:24:28.000Z (over 2 years ago)
- Last Synced: 2025-02-21T04:33:50.905Z (5 months ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LSGO
A minimal implementation of `ls` equivalent in Go.
## Usage
```bash
go build .
./lsgo
```Commands are as follows:
```bash
./lsgo -h
Usage: lsgo [OPTION]... [FILE]...
-ls List files in current directory
-l List files in current directory with long format
-la List files in current directory with long format and hidden files
-a List files in current directory with hidden files
-r List files in current directory in reverse order
-s List files in current directory with size
-S List files in current directory with size in reverse order```
Exemption: Working with `*` and `?` is not supported yet.