feat (wip): gui
This commit is contained in:
25
src/core/CLIParser.cpp
Normal file
25
src/core/CLIParser.cpp
Normal file
@@ -0,0 +1,25 @@
|
||||
// #include <cstddef>
|
||||
// #include <getopt.h>
|
||||
// int main(int argc, char* argv[]) {
|
||||
// // CLI parsing code. TODO: move to core somewhere
|
||||
// option longopts[] = {
|
||||
// {"number", optional_argument, NULL, 'n'},
|
||||
// {"show-ends", optional_argument, NULL, 'E'}, {0}};
|
||||
//
|
||||
// while (1) {
|
||||
// const int opt = getopt_long(argc, argv, "nE::", longopts, 0);
|
||||
//
|
||||
// if (opt == -1) {
|
||||
// break;
|
||||
// }
|
||||
//
|
||||
// switch (opt) {
|
||||
// case 'n':
|
||||
// // ...
|
||||
// case 'E':
|
||||
// // ...
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// //...
|
||||
// }
|
||||
Reference in New Issue
Block a user