()
| 1177 | } |
| 1178 | |
| 1179 | func 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 | |
| 1195 | func newMemoryAdhocListCommand() *cobra.Command { |
| 1196 | var flags memorySelectorFlags |
no test coverage detected