Skip to content

sewh/indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

indent

A simple command line tool to indent input from stdin and output it to stdout. It was written for use in the acme text editor.

Installation

go get github.com/sewh/indent
go install github.com/sewh/indent

# ensure $(go env GOPATH)/bin is in your path...

indent

Usage

# To indent:

indent +

# To unindent:

indent -

# You can also add a number to the end to use spaces instead of tabs. The number you provide
# is the amount of spaces that are added or removed.

indent + 4

indent - 2

About

A simple tool to indent and unindent stdin

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages