From b9243748c11a6391068e6501c96040021572297d Mon Sep 17 00:00:00 2001 From: Martin Dobrev Date: Mon, 26 Oct 2020 22:03:28 +0200 Subject: Add example usage of command line --- JSImpl/src/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'JSImpl/src/main.cpp') diff --git a/JSImpl/src/main.cpp b/JSImpl/src/main.cpp index c1cfe64..6ed1122 100644 --- a/JSImpl/src/main.cpp +++ b/JSImpl/src/main.cpp @@ -227,6 +227,9 @@ private: int main(int argc, char* argv[]) { + // You can try => + // Working dir: $(ProjectDir) + // Command arguments: --input ./../examples/code.js --output ./../examples/some.ast --ast CammandLineApp cmd; cmd.RunAsCommandLine(argc, argv); //auto r = Tokenize("a#4", {true ,true}); -- cgit v1.3.1-23-gd82d