From 3dbd03511f4f68ce2d411257fe6f367604d738cc Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Mon, 20 Apr 2020 01:38:19 +0200 Subject: [PATCH] Add support for running script files (indicated by .mse-script extension) from the command line. --- src/cli/cli_main.cpp | 38 ++++++++++++++++++++++++++++------- src/cli/cli_main.hpp | 13 ++++++------ src/cli/text_io_handler.cpp | 5 +++++ src/cli/text_io_handler.hpp | 6 ++++-- src/cli/win32_cli_wrapper.cpp | 1 + src/main.cpp | 9 +++++++-- 6 files changed, 55 insertions(+), 17 deletions(-) diff --git a/src/cli/cli_main.cpp b/src/cli/cli_main.cpp index f3b8cde0..7a5a117a 100644 --- a/src/cli/cli_main.cpp +++ b/src/cli/cli_main.cpp @@ -14,12 +14,15 @@ #include