fnl/docs/readme.md
Eduard Urbach 5ce5787e27
All checks were successful
/ test (push) Successful in 8s
Updated documentation
2025-06-20 15:06:16 +02:00

51 lines
No EOL
535 B
Markdown

# fnl
Add or remove final newlines.
## Installation
```shell
cargo install fnl
```
## Usage
### Single file
Show status:
```shell
fnl file.txt
```
Add final newline:
```shell
fnl --add file.txt
```
Remove final newline:
```shell
fnl --remove file.txt
```
### Multiple files
You can supply a list of files using `find` or `rg`:
```shell
find . -type f | xargs fnl
```
```shell
rg --files | xargs fnl
```
## License
Please see the [license documentation](https://urbach.dev/license).
## Copyright
© 2025 Eduard Urbach