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

Method LaunchCommand

internal/tools/registry.go:68–73  ·  view source on GitHub ↗

LaunchCommand returns the CLI binary name to launch. Falls back to the tool key when cli_command is empty.

()

Source from the content-addressed store, hash-verified

66// LaunchCommand returns the CLI binary name to launch. Falls back to the
67// tool key when cli_command is empty.
68func (t Tool) LaunchCommand() string {
69 if t.CLICommand != "" {
70 return t.CLICommand
71 }
72 return t.Name
73}
74
75// Registry holds the loaded tools.yaml.
76type Registry struct {

Callers 15

UninstallFunction · 0.80
IsInstalledFunction · 0.80
DetectFunction · 0.80
DetectVersionFunction · 0.80
RunFunction · 0.80
ByCLICommandMethod · 0.80
LaunchNamesMethod · 0.80
ListProvidersForToolMethod · 0.80
DryRunMethod · 0.80
UninstallMethod · 0.80
toolDTOWithFunction · 0.80
autoResolveFunction · 0.80

Calls

no outgoing calls