Versions in this module Expand all Collapse all v0 v0.0.1 Jan 19, 2022 Changes in this version + const EncodingFlag + const HomeFlag + const OutputFlag + const TraceFlag + func NewCompletionCmd(rootCmd *cobra.Command, hidden bool) *cobra.Command + func RunCaptureWithArgs(cmd Executable, args []string, env map[string]string) (stdout, stderr string, err error) + func RunWithArgs(cmd Executable, args []string, env map[string]string) error + func WriteConfigVals(dir string, vals map[string]string) error + type Executable interface + Execute func() error + type Executor struct + Exit func(int) + func PrepareBaseCmd(cmd *cobra.Command, envPrefix, defaultHome string) Executor + func PrepareMainCmd(cmd *cobra.Command, envPrefix, defaultHome string) Executor + func (e Executor) Execute() error + type ExitCoder interface + ExitCode func() int