lat/README.md

48 lines
1.4 KiB
Markdown
Raw Normal View History

2023-04-20 14:33:28 +00:00
# lat
> lat | lazy cat - a cat clone with some quality-of-life embellishments
## About
`lat` is a solution to a problem that doesn't exist. It's the awkward middle child in-between `cat` and `bat`. It was created because the author didn't want to have to configure `bat` just to get decent file printing, but wanted a little more control than `cat` offered.
`lat` does not expect to be used. `lat` expects to be forgotten and shunted into a corner because it does not belong in the slightest.
2023-04-20 17:44:56 +00:00
## Install
`lat` is not yet at a stable version (`v1.0.0`), so it is not on any package managers.
```bash
git clone https://github.com/secondary-smiles/lat.git
cd lat
make
./build/lat -V
# now add lat to your $PATH/do whatever you want with the binary
```
2023-04-20 14:33:28 +00:00
## Helptext
2023-04-22 19:33:08 +00:00
> `lat -h`
2023-04-20 14:33:28 +00:00
```text
lat | lazy cat - a cat clone with some quality-of-life embellishments
2023-05-01 22:39:27 +00:00
usage: lat [-cltbrpneVh] [file...]
2023-04-20 14:33:28 +00:00
options:
2023-05-01 22:39:27 +00:00
-c toggle color
-l toggle line numbers
-t toggle file info headers
-b set binary mode, -b forces binary and -bb forces NOT binary
-r print everything (headers, line numbers, etc.) to stdout (or equivalent)
-p print file with the pager (uses less)
-n <name> manually set the name of the file shown in the title
-e <program> link extension to lat
-V show program version
-h display this help text
2023-04-20 14:33:28 +00:00
environment:
2023-05-01 22:39:27 +00:00
NO_COLOR, see https://no-color.org/
2023-04-20 14:33:28 +00:00
```