()
| 1087 | } |
| 1088 | |
| 1089 | func newMemoryExtractorDisableCommand() *cobra.Command { |
| 1090 | var sessionID string |
| 1091 | cmd := newUnsupportedMemoryCommand( |
| 1092 | "disable --session <id>", |
| 1093 | "memory.unsupported: extractor disable is not registered in Slice 1 API", |
| 1094 | cobra.NoArgs, |
| 1095 | ) |
| 1096 | cmd.Flags().StringVar(&sessionID, "session", "", "Session whose extractor should be disabled") |
| 1097 | mustMarkFlagRequired(cmd, "session") |
| 1098 | return cmd |
| 1099 | } |
| 1100 | |
| 1101 | func newMemoryProviderCommand(deps commandDeps) *cobra.Command { |
| 1102 | cmd := &cobra.Command{ |
no test coverage detected