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

Function newMemoryAdhocCommand

internal/cli/memory.go:1179–1193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1177}
1178
1179func newMemoryAdhocCommand() *cobra.Command {
1180 cmd := &cobra.Command{
1181 Use: memoryAdhocKey,
1182 Short: "Inspect ad-hoc Memory v2 notes",
1183 }
1184 cmd.AddCommand(newMemoryAdhocListCommand())
1185 cmd.AddCommand(
1186 newUnsupportedMemoryCommand(
1187 "show <slug>",
1188 "memory.unsupported: adhoc show is not registered in Slice 1 API",
1189 exactOneNonBlankArg(),
1190 ),
1191 )
1192 return cmd
1193}
1194
1195func newMemoryAdhocListCommand() *cobra.Command {
1196 var flags memorySelectorFlags

Callers 1

newMemoryCommandFunction · 0.85

Calls 3

exactOneNonBlankArgFunction · 0.85

Tested by

no test coverage detected