(deps commandDeps)
| 40 | } |
| 41 | |
| 42 | func 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 | |
| 54 | func newDaemonStartCommand(deps commandDeps) *cobra.Command { |
| 55 | var ( |
no test coverage detected