Skip to content

jacobdufault/go-reflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-reflow

A simple utility to reformat comments. Accepts input on stdin, writes output to stdout.

Install

$ go install github.com/jacobdufault/go-reflow
$ go-reflow --help

Usage

Usage of go-reflow:
  -tab-size int
        Size of a tab (\t) character (default 2)
  -width int
        Width to reflow text to (default 80)

Example

$ echo " # foo bar baz a baaa barara" | go-reflow -width 20
 # foo bar baz a
 # baaa barara

About

Simple command line utility to reflow comments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages