MCPcopy Index your code
hub / github.com/coder/coder / chatContextCommand

Method chatContextCommand

cli/exp_chat.go:30–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30func (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
45func (*RootCmd) chatContextAddCommand() *serpent.Command {
46 var (

Callers 1

chatCommandMethod · 0.95

Calls 2

chatContextAddCommandMethod · 0.95

Tested by

no test coverage detected