()
| 28 | } |
| 29 | |
| 30 | func (r *RootCmd) chatContextCommand() *serpent.Command { |
| 31 | return &serpent.Command{ |
| 32 | Use: "context", |
| 33 | Short: "Manage chat context", |
| 34 | Long: "Add or clear context files and skills for an active chat session.", |
| 35 | Handler: func(i *serpent.Invocation) error { |
| 36 | return i.Command.HelpHandler(i) |
| 37 | }, |
| 38 | Children: []*serpent.Command{ |
| 39 | r.chatContextAddCommand(), |
| 40 | r.chatContextClearCommand(), |
| 41 | }, |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | func (*RootCmd) chatContextAddCommand() *serpent.Command { |
| 46 | var ( |
no test coverage detected