Documentation ¶
Overview ¶
Package cli controls the main user entry point into both the API and interacting with it. It provides not only administrators an easy way to interact with gofer, but is the main entry point for how non-UI users interact with Gofer.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "gofer", Short: "Gofer is a distributed, continuous thing do-er.", Long: `Gofer is a distributed, continuous thing do-er. It uses a similar model to [concourse](https://concourse-ci.org/), leveraging the docker container as a key mechanism to run short-lived workloads. The benefits of this is simplicity. No foreign agents, no cluster setup, just run containers. Read more at https://clintjedwards.com/gofer. ## Configuration All global flags have an equivalent environment variable you can set instead of the flag. If both are set, the flag will have precedence. Read more about CLI configuration here: https://clintjedwards.com/gofer/cli/configuration.html. ### Environment Variables supported: ` + strings.Join(config.GetCLIEnvVars(), "\n"), Version: " ", PersistentPreRun: func(cmd *cobra.Command, _ []string) { cl.InitState(cmd) }, }
RootCmd is the base of the cli
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.