|
ORE Studio 0.0.4
|
Commands for loading and executing shell scripts. More...
#include <script_commands.hpp>

Static Public Member Functions | |
| static void | register_commands (cli::Menu &root, cli::CliSession *&active_session) |
| Register script-related commands. | |
Commands for loading and executing shell scripts.
|
static |
Register script-related commands.
Adds the 'load' command which reads a .ores script file and executes each line as a shell command via CliSession::Feed().
| root | The root menu to add commands to. |
| active_session | Pointer to the active CLI session, set by repl::run() before the session loop starts. |