You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

main.cpp 543 B

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
1234567891011121314151617181920212223
  1. #include <iostream> /**< std::cout std::cerr std::endl */
  2. #include <string> /**< std::string */
  3. #include "dbcc/dbc_iterator.h"
  4. #include "dbcc/helper/gen_helper.h"
  5. const std::string usage = "This parser is meant to be used via CLi at the moment\n"
  6. "\t./parser <FILE> <CONFIG FILE>\n";
  7. int main(int argc, char *argv[])
  8. {
  9. if (argc < 3)
  10. {
  11. std::cout << usage << std::endl;
  12. return 0;
  13. }
  14. ad::dbcc::helper::GenHelper gen(argv[1], argv[2]);
  15. std::cout << gen.GenAll() << std::endl;
  16. return 0;
  17. }