MCPcopy Create free account
hub / github.com/compozy/agh / newDaemonCommand

Function newDaemonCommand

internal/cli/daemon.go:42–52  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

40}
41
42func newDaemonCommand(deps commandDeps) *cobra.Command {
43 cmd := &cobra.Command{
44 Use: daemonDaemonKey,
45 Short: "Manage the AGH daemon",
46 }
47
48 cmd.AddCommand(newDaemonStartCommand(deps))
49 cmd.AddCommand(newDaemonRelaunchCommand(deps))
50 cmd.AddCommand(newDaemonStopCommand(deps))
51 return cmd
52}
53
54func newDaemonStartCommand(deps commandDeps) *cobra.Command {
55 var (

Callers 1

newRootCommandFunction · 0.85

Calls 3

newDaemonStartCommandFunction · 0.85
newDaemonRelaunchCommandFunction · 0.85
newDaemonStopCommandFunction · 0.85

Tested by

no test coverage detected