Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bas080/flush
Format shell scripts
https://github.com/bas080/flush
bash formatting
Last synced: 21 days ago
JSON representation
Format shell scripts
- Host: GitHub
- URL: https://github.com/bas080/flush
- Owner: bas080
- License: gpl-3.0
- Created: 2020-05-28T10:24:21.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-05-20T12:11:54.000Z (over 3 years ago)
- Last Synced: 2023-03-25T10:16:50.902Z (almost 2 years ago)
- Topics: bash, formatting
- Language: Shell
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.bd
- License: LICENSE
Awesome Lists containing this project
README
#!/usr/bin/env barkdown
# Flush
> Formatter / beatifier for your shell scripts.
This is an answer to a [Stackoverflow][1] question.
## Usage
Stdin your bash script into the flush process. It will then stdout the
formatted version of the script.```bash
$ ./flush < flush
```> Notice that it does strip the comments.
## Installation
Place the `flush` file in a directory that is on your PATH and make it
executable.[1]:https://stackoverflow.com/questions/12046886/code-formatter-beautifier-for-bash-in-command-line