Versions in this module Expand all Collapse all v0 v0.0.2 Apr 19, 2020 v0.0.1 Mar 21, 2020 Changes in this version + var ErrEmptyOutputDir = errors.New("output dir must not be an empty string") + var ErrInvalidOutputFormat = errors.New("--output must be 'yaml' or 'json'") + func AddConfigFlag(cmd *cobra.Command, val *string) + func AddForceFlag(cmd *cobra.Command, val *bool) + func Examples(s string) string + func LongDesc(s string) string + type ConfigFlags struct + ConfigPath string + func (f *ConfigFlags) AddFlags(cmd *cobra.Command) + func (f *ConfigFlags) AllowMissingConfig() + func (f *ConfigFlags) Complete() (err error) + type OutputFlags struct + Output string + func (f *OutputFlags) AddFlags(cmd *cobra.Command) + func (f *OutputFlags) Validate() error