MCPcopy Index your code
hub / github.com/coder/envbox / Root

Function Root

cli/root.go:7–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func Root() *cobra.Command {
8 cmd := &cobra.Command{
9 Use: "envbox",
10 SilenceErrors: true,
11 SilenceUsage: true,
12 Args: cobra.NoArgs,
13 RunE: func(cmd *cobra.Command, _ []string) error {
14 return cmd.Help()
15 },
16 }
17
18 cmd.AddCommand(dockerCmd())
19 return cmd
20}

Callers 2

NewFunction · 0.92
mainFunction · 0.92

Calls 1

dockerCmdFunction · 0.85

Tested by

no test coverage detected