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

Function newUnsupportedMemoryCommand

internal/cli/memory.go:1226–1235  ·  view source on GitHub ↗
(use string, message string, args cobra.PositionalArgs)

Source from the content-addressed store, hash-verified

1224}
1225
1226func newUnsupportedMemoryCommand(use string, message string, args cobra.PositionalArgs) *cobra.Command {
1227 return &cobra.Command{
1228 Use: use,
1229 Short: "Reserved Memory v2 command",
1230 Args: args,
1231 RunE: func(*cobra.Command, []string) error {
1232 return errors.New(message)
1233 },
1234 }
1235}
1236
1237func addMemorySelectorFlags(cmd *cobra.Command, flags *memorySelectorFlags) {
1238 cmd.Flags().StringVar(&flags.Scope, automationScopeKey, "", "Memory scope: global, workspace, or agent")

Calls

no outgoing calls

Tested by

no test coverage detected