Skip to content
Myr

fix undefined cfgFile in documentation (#924)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Gregoire Mahe · committed by Joshua Harshman · parent 993cc53 · Browse files · 1 file+2 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:README.md+2 added
216 unmodified lines
217 "github.com/spf13/cobra"218 "github.com/spf13/viper"219)220221var cfgFile string222223func init() {224 cobra.OnInitialize(initConfig)225 rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.cobra.yaml)")226 rootCmd.PersistentFlags().StringVarP(&projectBase, "projectbase", "b", "", "base project directory eg. github.com/spf13/")
518 unmodified lines