16 lines
381 B
C++
16 lines
381 B
C++
#pragma once
|
|
|
|
#include <CLIForge/CLIForge.hpp>
|
|
|
|
namespace breeze::cli
|
|
{
|
|
|
|
/// Registers every command of the spec on the engine.
|
|
void registerCommands(cliforge::Engine& engine);
|
|
|
|
/// The exit code the last command that ran a program asked for. Actions can't return one
|
|
/// (CLIForge ignores what they return), so they leave it here and main() ends with it.
|
|
int& exitCode();
|
|
|
|
}
|