#pragma once #include // Runs a parsed command line against the logic layer (AppCore) and prints the // result. No widget is built: the command line works on a machine without a // display, and the operations are exactly the ones the window runs. namespace cli { // `args` is the command line, program name excluded. Returns the process exit // code: 0 on success, 1 when an operation failed, 2 on a usage error. int run(const QStringList& args); } // namespace cli