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

Function generateCmd

internal/boxcli/generate.go:47–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

45}
46
47func generateCmd() *cobra.Command {
48 flags := &generateCmdFlags{}
49
50 command := &cobra.Command{
51 Use: "generate",
52 Aliases: []string{"gen"},
53 Short: "Generate supporting files for your project",
54 Args: cobra.MaximumNArgs(0),
55 PersistentPreRunE: ensureNixInstalled,
56 }
57 command.AddCommand(genAliasCmd())
58 command.AddCommand(devcontainerCmd())
59 command.AddCommand(dockerfileCmd())
60 command.AddCommand(debugCmd())
61 command.AddCommand(direnvCmd())
62 command.AddCommand(genReadmeCmd())
63 flags.config.register(command)
64
65 return command
66}
67
68func debugCmd() *cobra.Command {
69 flags := &generateCmdFlags{}

Callers 1

RootCmdFunction · 0.85

Calls 7

genAliasCmdFunction · 0.85
devcontainerCmdFunction · 0.85
dockerfileCmdFunction · 0.85
debugCmdFunction · 0.85
direnvCmdFunction · 0.85
genReadmeCmdFunction · 0.85
registerMethod · 0.45

Tested by

no test coverage detected