CLI Commands¶
aurum is the released command interface for project creation, local
execution, installation, Forge delivery, and lifecycle operations.
Repository-only service-stack commands appear in the generated inventory but
are not part of the installed product workflow documented here.
The command-name tables below are generated from the CLI dispatch. Option details are maintained against the command definitions and validated by the documentation build.
Top-level commands¶
Command |
Description |
|---|---|
|
Show CLI/runtime information or project information. |
|
scaffold a new project from template |
|
Print the Aurum CLI version. |
|
Show Aurum CLI help. |
|
Compile a project directory. |
|
Install a project locally (alias for aurum push local). |
|
Run a project (local directory or installed instance). |
|
Stop an installed project. |
|
Show control-plane summary or project status. |
|
List installed projects. |
|
Start a local Aurum service stack. |
|
Stop a local Aurum service stack. |
|
Remove an installed project. |
|
Show project logs. |
|
push source to a remote server and register the version |
aurum daemon subcommands¶
Subcommand |
Description |
|---|---|
|
Install the aurumd systemd user unit. |
|
Show daemon systemd and RPC status. |
|
Start the daemon. |
|
Stop the daemon. |
|
Restart the daemon. |
|
Enable the daemon unit. |
|
Disable the daemon unit. |
|
Show daemon logs. |
aurum remote subcommands¶
Subcommand |
Description |
|---|---|
|
register a remote server |
|
list registered remotes |
|
remove a registered remote |
|
show remote details |
Runtime control commands¶
These act on a running project (pause / resume apply to REPLAY projects, freeze / unfreeze to LIVE projects).
Command |
Description |
|---|---|
|
Pause a REPLAY project. |
|
Resume a REPLAY project. |
|
Freeze a LIVE project. |
|
Unfreeze a LIVE project. |
Shell completion¶
aurum completion prints a completion script for the requested shell.
Shell |
Description |
|---|---|
|
Generate bash completion script |
|
Generate zsh completion script |
Global option¶
--home <path> selects the Aurum home for the command. Resolution order is
the option, AURUM_HOME, then ~/.aurum.
Project creation and compilation¶
aurum create <name> creates CMakeLists.txt, main.cpp, and
config.hpp in a new directory.
aurum compile <dir> compiles one project without starting it.
Option |
Meaning |
|---|---|
|
Override the target resolved from |
|
Use an explicit project build directory. |
|
Resolve an existing executable without invoking CMake. |
|
Discard the Aurum-managed CMake cache before compiling. |
Local run¶
aurum run [project] has two modes. A directory runs that source project in
the foreground. An installed project name asks aurumd to start the
registered instance. The default project argument is the current directory.
Option |
Meaning |
|---|---|
|
Override the CMake target in directory mode. |
|
Set the build directory in directory mode. |
|
Run an existing executable in directory mode. |
|
Clear the managed compile cache first. |
|
Foreground level: |
|
Enable the local journal for the foreground run. |
|
Select a credential document for startup. |
|
Select an installed version. |
|
Run the installed project on a registered Forge target. |
|
Wait for process-state convergence. |
|
Bound the convergence wait; default |
|
Forward remaining arguments to a foreground project executable. |
Install and remove¶
aurum install [dir] compiles and registers a version in the selected Aurum
home. It accepts the compile options above plus:
Option |
Meaning |
|---|---|
|
Replace an existing local registration without prompting. |
|
Mark the installed instance for retention after completion. |
|
Retention for an ephemeral instance; default |
Source archive and instance identity options used by remote delivery are not a normal interactive install interface.
aurum remove [remote] <project> removes a stopped installed version.
--version <version>selects one version when several exist.--server <remote>routes the command over SSH; do not combine it with a positional remote.-f, --forceskips confirmation but does not remove a running instance.
Forge delivery and remotes¶
aurum push [project] [remote] packages the project source, checks that its
declared version does not already exist, transfers it over SSH, and registers
it on the target. With no operands it uses the current directory and default
remote.
aurum remote add prod aurum@forge.example.com --default
aurum push ./signal-watch prod
Remote registry commands:
Command |
Meaning |
|---|---|
|
Register an SSH target. |
|
List registered targets. |
|
Show one target and its reachable project inventory. |
|
Remove the local registry entry. |
Remote names begin with a lowercase letter and contain only lowercase letters,
digits, and hyphens. The registry is $AURUM_HOME/remotes.toml. SSH host
keys, user keys, and any proxy route come from the normal SSH environment.
Inventory and lifecycle¶
Command |
Meaning |
|---|---|
|
List installed instances. |
|
Show the inventory or one project’s synthesized state. |
|
Show CLI/runtime configuration or delegate to project status. |
|
Request graceful stop. |
|
Read project output. |
status accepts --version, --server, and --json. stop
accepts --version, --server, --wait, and --timeout-ms.
Project log options are:
--tailfollows the log;--journalreads the managed service journal;--versionand--serverselect the instance;--jsonrequests machine-readable output where supported.
Project logs do not use -f. That short option belongs only to daemon logs.
Runtime controls¶
pause and resume apply to installed REPLAY instances. freeze
and unfreeze apply to installed LIVE instances. Each command takes a
project and optional --version. These controls act on the selected local
Aurum home; they do not expose --server.
Daemon¶
aurum daemon manages the released per-user aurumd service:
Command |
Meaning |
|---|---|
|
Install or update the user service definition. |
|
Show service and RPC reachability. |
|
Change current service state. |
|
Change login-time activation, optionally current state too. |
|
Read daemon logs, optionally following them. |
daemon install accepts --binary, --reconcile-policy
(observe or enforce), --store-backend (file or sqlite),
--http-host, --port, --advertise-host, and --now.
Completion and version¶
aurum completion bash and aurum completion zsh print a shell completion
script. aurum version prints the installed CLI version and aurum help
prints command help.