(cmd *cobra.Command, flags *memorySelectorFlags)
| 1235 | } |
| 1236 | |
| 1237 | func addMemorySelectorFlags(cmd *cobra.Command, flags *memorySelectorFlags) { |
| 1238 | cmd.Flags().StringVar(&flags.Scope, automationScopeKey, "", "Memory scope: global, workspace, or agent") |
| 1239 | cmd.Flags().StringVar(&flags.Workspace, "workspace", "", "Workspace ID or path for workspace-bound memory") |
| 1240 | cmd.Flags().StringVar(&flags.Agent, "agent", "", "Agent name for agent-scoped memory") |
| 1241 | cmd.Flags().StringVar(&flags.AgentTier, "agent-tier", "", "Agent memory tier: workspace or global") |
| 1242 | } |
| 1243 | |
| 1244 | func resolveMemorySelectorFlags( |
| 1245 | deps commandDeps, |
no outgoing calls
no test coverage detected