Skip to content

jiro4989/align

Repository files navigation

align

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

test codecov

1. development

go version go1.11 linux/amd64

2. Usage examples

align left README.adoc | head | sed -r 's/$/</g'
:toc:                                                                     <
:sectnums:                                                                <
                                                                          <
= align                                                                   <
                                                                          <
align provides text align right or center or left command.                <
                                                                          <
== development                                                            <
                                                                          <
 go version go1.11 linux/amd64                                            <
align center -n 80 README.adoc | head | sed -r 's/$/</g'
                                     :toc:                                      <
                                   :sectnums:                                   <
                                                                                <
                                    = align                                     <
                                                                                <
           align provides text align right or center or left command.           <
                                                                                <
                                 == development                                 <
                                                                                <
                          go version go1.11 linux/amd64                         <
align right README.adoc | head
                                                                           :toc:
                                                                      :sectnums:

                                                                         = align

                      align provides text align right or center or left command.

                                                                  == development

                                                   go version go1.11 linux/amd64

3. Install

go get -u github.com/jiro4989/align

or

Download binary from Releases.

4. Help

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.