MCPcopy Create free account
hub / github.com/devops-rob/target-cli / init

Function init

cmd/root.go:153–165  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

151}
152
153func 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
168func sliceOfMapsToMapHookFunc() mapstructure.DecodeHookFunc {

Callers

nothing calls this directly

Calls 1

TargetHomeCreateFunction · 0.92

Tested by

no test coverage detected