MCPcopy Index your code
hub / github.com/jetify-com/devbox / addCommandAndHideConfigFlag

Function addCommandAndHideConfigFlag

internal/boxcli/global.go:50–53  ·  view source on GitHub ↗
(parent, child *cobra.Command)

Source from the content-addressed store, hash-verified

48}
49
50func addCommandAndHideConfigFlag(parent, child *cobra.Command) {
51 parent.AddCommand(child)
52 _ = child.Flags().MarkHidden("config")
53}
54
55var globalConfigPath string
56

Callers 1

globalCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected