| 1268 | } |
| 1269 | |
| 1270 | void statusGenerator(const char* text, |
| 1271 | const char* line, |
| 1272 | std::vector<std::string>& lc, |
| 1273 | std::vector<StringRef> const& tokens) { |
| 1274 | if (tokens.size() == 1) { |
| 1275 | const char* opts[] = { "minimal", "details", "json", nullptr }; |
| 1276 | arrayGenerator(text, line, opts, lc); |
| 1277 | } |
| 1278 | } |
| 1279 | |
| 1280 | CommandFactory statusFactory( |
| 1281 | "status", |
nothing calls this directly
no test coverage detected