Skip to content
This repository has been archived by the owner on Sep 29, 2023. It is now read-only.
/ indent Public archive

A CLI tool that adds spaces from a filename to stdout

License

Notifications You must be signed in to change notification settings

Jmainguy/indent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

indent

Go Report Card Release Coverage Status

A tool to indent a file to stdout using spaces.

Usage

Usage of ./indent:
  -filename string
    	Filename to read
  -indent int
    	Amount of spaces to indent
# Example
indent --filename ~/tmp/logstash/syslog/values.yaml --indent 8 >> templates/syslog.yaml

PreBuilt Binaries

Grab Binaries from The Releases Page

Install

Homebrew

brew install jmainguy/tap/indent

Build

export GO111MODULE=on
go build