Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kelcheone/lsgo
A minimal implementation of ls command in Go.
https://github.com/kelcheone/lsgo
Last synced: 15 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-26T20:24:28.000Z (almost 2 years ago)
- Last Synced: 2024-06-19T16:39:10.290Z (6 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.