Skip to content

Utility for converting procfiles from v1 to v2 format

License

Notifications You must be signed in to change notification settings

funbox/init-exporter-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

init-exporter-converter CI Go Report Card License

Utility for converting init-exporter procfiles from v1 to v2 format.

Installation

From sources

To build the init-exporter-converter from scratch, make sure you have a working Go 1.18+ workspace (instructions), then:

go install github.com/funbox/init-exporter-converter@latest
sudo yum install -y https://yum.kaos.st/kaos-repo-latest.el$(grep 'CPE_NAME' /etc/os-release | tr -d '"' | cut -d':' -f5).noarch.rpm
sudo yum install init-exporter-converter

Usage

Usage: init-exporter-converter {options} procfile…

Options

  --config, -c file    Path to init-exporter config
  --in-place, -i       Edit procfile in place
  --no-colors, -nc     Disable colors in output
  --help, -h           Show this help message
  --version, -v        Show version

Examples

  init-exporter-converter -i config/Procfile.production
  Convert Procfile.production to version 2 in-place

  init-exporter-converter -c /etc/init-exporter.conf Procfile.*
  Convert all procfiles to version 2 with defaults from init-exporter config and print result to console

Build status

Branch Status
Stable CI
Unstable CI

License

MIT

Sponsored by FunBox