diff --git a/source/cli/main.cpp b/source/cli/main.cpp index 0434f21..887ebfb 100644 --- a/source/cli/main.cpp +++ b/source/cli/main.cpp @@ -5,6 +5,7 @@ int main(int argc, char** argv) MaaToolKitInit(); print_help(); + print_version(); bool debug = false; std::string adb; @@ -117,6 +118,13 @@ Welcome to come and create a GUI for us! :) )" << std::endl; } +void print_version() +{ + std::cout << "MaaFramework Version: " << MaaVersion() << std::endl + << "MAS Version: " << MAS_VERSION << std::endl + << std::endl; +} + MaaSize scanning_devices() { std::cout << "Scanning for Devices..." << std::endl; diff --git a/source/cli/main.h b/source/cli/main.h index 07a76e1..3b7c886 100644 --- a/source/cli/main.h +++ b/source/cli/main.h @@ -21,6 +21,8 @@ using TaskList = std::vector; void print_help(); +void print_version(); + MaaSize scanning_devices(); json::value skland_param();