jiro4989 / align

Simple text align CLI
MIT License
6 stars 1 forks source link
align cli go text

:toc: :sectnums:

= align

align is text align command. align [left|center|right]-justify text files. or does stdin too.

image:https://github.com/jiro4989/align/workflows/test/badge.svg[test] image:https://codecov.io/gh/jiro4989/align/branch/master/graph/badge.svg[codecov, link="https://codecov.io/gh/jiro4989/align"]

== development

go version go1.11 linux/amd64

== Usage examples

[source,bash] align left README.adoc | head | sed -r 's/$/</g'

[quote]

:toc: < :sectnums: < < = align < < align provides text align right or center or left command. < < == development < < go version go1.11 linux/amd64 <

[source,bash] align center -n 80 README.adoc | head | sed -r 's/$/</g'

[quote]

                                 :toc:                                      <
                               :sectnums:                                   <
                                                                            <
                                = align                                     <
                                                                            <
       align provides text align right or center or left command.           <
                                                                            <
                             == development                                 <
                                                                            <
                      go version go1.11 linux/amd64                         <

[source,bash] align right README.adoc | head

[quote]

                                                                       :toc:
                                                                  :sectnums:

                                                                     = align

                  align provides text align right or center or left command.

                                                              == development

                                               go version go1.11 linux/amd64

== Install

[source,bash] go get -u github.com/jiro4989/align

or

Download binary from https://github.com/jiro4989/align/releases[Releases].

== Help

[source]

align is text align command. align [left|center|right]-justify text files. or does stdin too.

Repository: https://github.com/jiro4989/align Author: jiro4989

Usage: align [command]

Examples: align right README.md

Available Commands: center Align center command from file or stdin help Help about any command left Align left command from file or stdin right Align right command from file or stdin vertical-bottom Align vertical bottom command from file or stdin vertical-center Align vertical center command from file or stdin vertical-top Align vertical top command from file or stdin

Flags: -h, --help help for align --version version for align

Use "align [command] --help" for more information about a command.