Documentation
¶
Overview ¶
Package cli implements the foreman admin CLI: migrate, jobs, queues, leader, periodic, stats, config and version commands. Commands run in process so tests can compare their output with golden files.
code := cli.Run(ctx, os.Args[1:], cli.IO{Stdout: os.Stdout, Stderr: os.Stderr, Getenv: os.Getenv}, build)
Index ¶
Constants ¶
View Source
const ( ExitOK = 0 ExitError = 1 ExitConfig = 2 )
Exit codes.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.