()
| 15 | } |
| 16 | |
| 17 | func newHabitCommand() *habitCommand { |
| 18 | habitCommand := &habitCommand{} |
| 19 | habitCommand.cmd = &cobra.Command{ |
| 20 | Use: "habit", |
| 21 | Short: "Manage habit completions", |
| 22 | Annotations: map[string]string{ |
| 23 | "agent_notes": "Subcommands: complete, uncomplete. Requires habit ID from calendar recordings.", |
| 24 | }, |
| 25 | } |
| 26 | |
| 27 | habitCommand.cmd.AddCommand(newHabitCompleteCommand().cmd) |
| 28 | habitCommand.cmd.AddCommand(newHabitUncompleteCommand().cmd) |
| 29 | |
| 30 | return habitCommand |
| 31 | } |
| 32 | |
| 33 | // complete |
| 34 |
no test coverage detected