Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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.

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.