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

Method registerPersistent

internal/boxcli/config.go:45–49  ·  view source on GitHub ↗
(cmd *cobra.Command)

Source from the content-addressed store, hash-verified

43}
44
45func (flags *pathFlag) registerPersistent(cmd *cobra.Command) {
46 cmd.PersistentFlags().StringVarP(
47 &flags.path, "config", "c", os.Getenv(envir.DevboxConfig), pathFlagUsage,
48 )
49}
50
51const pathFlagUsage = "path to directory containing a devbox.json config file " +
52 "(defaults to the " + envir.DevboxConfig + " env var, if set)"

Callers 3

secretsCmdFunction · 0.45
registerPersistentMethod · 0.45
servicesCmdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected