procfile-util

command module
v0.0.0-...-2ec18eb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 6 Imported by: 0

README

procfile-util

A tool for parsing, validating, and exporting Heroku-style Procfiles.

Installation

Install on Linux or macOS with the install script:

curl -fsSL https://raw.githubusercontent.com/dokku/procfile-util/master/install.sh | sh

Or via apt (after configuring the dokku/dokku PackageCloud repository):

sudo apt-get install procfile-util

Or via go install:

go install github.com/dokku/procfile-util@latest

See the Getting started guide for binary downloads and building from source.

Usage

Validate a Procfile in the current directory:

procfile-util check

List every process type:

procfile-util list

Show the command for the web process with $PORT substituted:

procfile-util show --process-type web --default-port 3000

See the tasks reference for every subcommand and flag.

Documentation

  • Getting started - what a Procfile is, why use procfile-util, installation, and your first Procfile
  • Procfile format - syntax, comments, and strict mode
  • Tasks - one page per subcommand
  • Variable expansion - how show and expand resolve $PORT, --env-file, and --allow-getenv
  • Process managers - turning a Procfile into systemd, runit, launchd, sysv, or upstart units
  • Dokku integration - how procfile-util fits into a Dokku deploy
  • CI usage - linting Procfiles and gating CI steps on process types

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Code generated for package export by go-bindata DO NOT EDIT.
Code generated for package export by go-bindata DO NOT EDIT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL