()
| 53 | } |
| 54 | |
| 55 | func init() { |
| 56 | // Here you will define your flags and configuration settings. |
| 57 | // Cobra supports persistent flags, which, if defined here, |
| 58 | // will be global for your application. |
| 59 | |
| 60 | // rootCmd.PersistentFlags().StringVar(&cfgFile, "config", "", "config file (default is $HOME/.16-CLI.yaml)") |
| 61 | |
| 62 | // Cobra also supports local flags, which will only run |
| 63 | // when this action is called directly. |
| 64 | rootCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle") |
| 65 | } |
nothing calls this directly
no outgoing calls
no test coverage detected