Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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 |
|| ||

```