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

Method registerPersistent

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

Source from the content-addressed store, hash-verified

25}
26
27func (flags *configFlags) registerPersistent(cmd *cobra.Command) {
28 flags.pathFlag.registerPersistent(cmd)
29 cmd.PersistentFlags().StringVar(
30 &flags.environment, "environment", "dev", "environment to use, when supported (e.g. secrets support dev, prod, preview.)",
31 )
32}
33
34// pathFlag is a flag for specifying the path to a devbox.json file
35type pathFlag struct {

Callers

nothing calls this directly

Calls 1

registerPersistentMethod · 0.45

Tested by

no test coverage detected