()
| 151 | } |
| 152 | |
| 153 | func init() { |
| 154 | cobra.OnInitialize(initConfig) |
| 155 | targetdir.TargetHomeCreate() |
| 156 | |
| 157 | rootCmd.AddCommand(vaultCmd) |
| 158 | rootCmd.AddCommand(nomadCmd) |
| 159 | rootCmd.AddCommand(consulCmd) |
| 160 | rootCmd.AddCommand(configlCmd) |
| 161 | rootCmd.AddCommand(boundaryCmd) |
| 162 | rootCmd.AddCommand(terraformCmd) |
| 163 | rootCmd.AddCommand(versionCmd) |
| 164 | |
| 165 | } |
| 166 | |
| 167 | // sliceOfMapsToMapHookFunc merges a slice of maps to a map |
| 168 | func sliceOfMapsToMapHookFunc() mapstructure.DecodeHookFunc { |
nothing calls this directly
no test coverage detected