MCPcopy Create free account
hub / github.com/Chat2AnyLLM/code-agent-manager / versionCommand

Method versionCommand

internal/cli/version.go:9–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7)
8
9func (a *App) versionCommand() *cobra.Command {
10 return &cobra.Command{
11 Use: "version",
12 Aliases: []string{"v"},
13 Short: "Display current version",
14 Args: cobra.NoArgs,
15 RunE: func(cmd *cobra.Command, args []string) error {
16 _, err := fmt.Fprintln(cmd.OutOrStdout(), a.version)
17 return err
18 },
19 }
20}

Callers 1

rootCommandMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected