Skip to content
/ procfmt Public

a Bash script that reformats a Foreman Procfile

License

Notifications You must be signed in to change notification settings

laser/procfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

procfmt

I'm getting totally sick of reformatting these Procfiles by hand

-- me

About

This project includes a Foreman Procfile formatter, written in Bash. It does only a few things, but these are things that were very annoying to do by hand, such as:

  1. Left-align the commands
  2. Alpha-sort the environment variables

Demo

procfmt

Requirements

This is a Bash script, and uses Bash arrays. Other than that, is has no dependencies.

Usage

$ cat Procfile | ./procfmt.sh --ignore feedbin_clock > ./Procfile.formatted

About

a Bash script that reformats a Foreman Procfile

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages