Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/utgwkk/justify
text alignment in terminal
https://github.com/utgwkk/justify
Last synced: about 1 month ago
JSON representation
text alignment in terminal
- Host: GitHub
- URL: https://github.com/utgwkk/justify
- Owner: utgwkk
- License: mit
- Created: 2019-10-27T04:59:47.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-02-25T04:16:34.000Z (almost 2 years ago)
- Last Synced: 2024-10-15T00:08:57.652Z (2 months ago)
- Language: Go
- Size: 19.5 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# justify
text alignment in terminal## install
```
go get github.com/utgwkk/justify/cmd/justify
```## Usage
```
$ justify < input
# or
$ command | justify
```## Options
|flag|description|
|:-|:-|
|`-aa`|Consider input as an ascii art|## Examples
```
% cat input
これが そうか
この掌にあるものが心か
% justify < input
これが そうか
この掌にあるものが心か
% cowsay Hello | ~/go/bin/justify -aa
_______
< Hello >
-------
\ ^__^
\ (oo)\_______
(__)\ )\/\
||----w |
|| ||```