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

Function newMemoryDailyCommand

internal/cli/memory.go:916–943  ·  view source on GitHub ↗
(deps commandDeps)

Source from the content-addressed store, hash-verified

914}
915
916func newMemoryDailyCommand(deps commandDeps) *cobra.Command {
917 cmd := &cobra.Command{
918 Use: memoryDailyKey,
919 Short: "Inspect Memory v2 daily operation logs",
920 }
921 cmd.AddCommand(newMemoryDailyListCommand(deps))
922 cmd.AddCommand(
923 newMemoryDailyUnsupportedSelectorCommand(
924 "show <date>",
925 "memory.unsupported: daily show is not registered in Slice 1 API",
926 exactOneNonBlankArg(),
927 ),
928 )
929 cmd.AddCommand(
930 newMemoryDailyRetentionCommand("archive", "memory.unsupported: daily archive is not registered in Slice 1 API"),
931 )
932 cmd.AddCommand(
933 newMemoryDailyUnsupportedSelectorCommand(
934 "restore <date>",
935 "memory.unsupported: daily restore is not registered in Slice 1 API",
936 exactOneNonBlankArg(),
937 ),
938 )
939 cmd.AddCommand(
940 newMemoryDailyRetentionCommand("purge", "memory.unsupported: daily purge is not registered in Slice 1 API"),
941 )
942 return cmd
943}
944
945func newMemoryDailyListCommand(deps commandDeps) *cobra.Command {
946 var flags memorySelectorFlags

Callers 1

newMemoryCommandFunction · 0.85

Tested by

no test coverage detected