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

Function newMemoryDailyRetentionCommand

internal/cli/memory.go:1217–1224  ·  view source on GitHub ↗
(use string, message string)

Source from the content-addressed store, hash-verified

1215}
1216
1217func newMemoryDailyRetentionCommand(use string, message string) *cobra.Command {
1218 var olderThan string
1219 var dryRun bool
1220 cmd := newUnsupportedMemoryCommand(use, message, cobra.NoArgs)
1221 cmd.Flags().StringVar(&olderThan, "older-than", "", "Retention age threshold")
1222 cmd.Flags().BoolVar(&dryRun, "dry-run", false, "Show retention work without applying it")
1223 return cmd
1224}
1225
1226func newUnsupportedMemoryCommand(use string, message string, args cobra.PositionalArgs) *cobra.Command {
1227 return &cobra.Command{

Callers 1

newMemoryDailyCommandFunction · 0.85

Calls 1

Tested by

no test coverage detected