| 20 | }; |
| 21 | |
| 22 | int main(int argc, char** argv) { |
| 23 | if (argc < 3) { |
| 24 | Cerr << "usage: " << argv[0] << " outfile [key=value]+" << Endl; |
| 25 | |
| 26 | return 1; |
| 27 | } |
| 28 | |
| 29 | TFixedBufferFileOutput out(argv[1]); |
| 30 | |
| 31 | argv = argv + 2; |
| 32 | out << "#include <library/cpp/resource/registry.h>\n\n"; |
| 33 | |
| 34 | while (*argv) { |
| 35 | TVector<TString> items = StringSplitter(TString(*(argv))).Split('=').Limit(2).ToList<TString>(); |
| 36 | GenOne(items[0], items[1], out); |
| 37 | argv++; |
| 38 | } |
| 39 | } |
nothing calls this directly
no test coverage detected