Built-in commands
Reactor’s native registry includes 72 commands. These references cover their arguments, options, defaults, effects and execution examples. Applications can add signatures through classes and console routes.
Run commands from the project root. The direct command and local file share the same registry and execution lifecycle:
orionis listpython -B reactor list
orionis make:console-command --helppython -B reactor make:console-command --helplist displays registered signatures; COMMAND --help inspects a signature’s parser without executing the operation. -h is its short form. Each page lists the actual declared options/aliases, including inherited generator and Database options. Long options cannot be abbreviated.
Choose a reference
Section titled “Choose a reference”| Family | Count | Coverage |
|---|---|---|
| Code generators | 24 | Create all 24 available component types from stubs. |
| Application and maintenance commands | 16 | Server, tests, inspection, clearing, keys and packages. |
| Database commands | 11 | Inspection, migrations, rollback, seeding and wiping. |
| Worker and scheduler commands | 10 | Queue table preparation, workers, failure operations, scheduler and MCP. |
| Additional internal storage commands | 4 | Token, cache, scheduler, and session tables; queue preparation remains in the worker reference. |
| Project bootstrap and recovery | 7 | Enable contexts and restore missing configuration. |
Signature index
Section titled “Signature index”Each link opens the complete options and examples for that command.
| Command | Purpose |
|---|---|
about | Show installed framework metadata. |
auth:migrate | Create internal tables for roles, permissions, their relationships, personal access tokens, and password recovery. |
bootstrap:ai | Enable MCP server routes. |
bootstrap:api | Enable API routing. |
bootstrap:config | Restore missing official configuration files. |
bootstrap:console | Enable console routes and directories. |
bootstrap:lifespan | Create and integrate lifecycle callbacks. |
bootstrap:web | Enable web routing. |
bootstrap:websocket | Enable WebSocket routing. |
cache:migrate | Create missing SQL cache and lock tables. |
clear:cache | Clear the default cache store. |
clear:logs | Remove framework log files. |
clear:testing | Remove cached test results. |
clear:views | Remove compiled view bytecode. |
db:seed | Run pending seeders. |
db:show | Inspect a database and summarize its tables. |
db:table | Show a table’s structure. |
db:wipe | Drop database user objects. |
down | Enable the HTTP maintenance state. |
env | Show the application environment. |
key:generate | Generate and persist the application encryption key. |
list | List Reactor’s loaded command registry. |
make:console-command | Create a command with a unique signature and description. |
make:console-listener | Create a console task listener. |
make:contract | Generate a service contract. |
make:database-migration | Create a timestamped migration. |
make:database-schema | Generate a reusable table definition. |
make:database-seeder | Generate a database seeder. |
make:facade | Generate a facade and its typing interface. |
make:factory | Generate a model factory. |
make:http-controller | Create a resource or invokable controller. |
make:http-middleware | Generate HTTP middleware. |
make:http-schema | Create an HTTP validation schema. |
make:http-schema-rule | Generate a custom validation rule. |
make:job | Create an asynchronous queue job. |
make:mail | Create a reusable mail class. |
make:mcp-prompt | Generate an MCP prompt. |
make:mcp-resource | Generate an MCP resource. |
make:mcp-server | Generate an MCP server. |
make:mcp-tool | Generate an MCP tool. |
make:model | Create an ORM model. |
make:provider | Create an eager or deferred provider. |
make:realtime-hub | Create a remote-method hub. |
make:realtime-socket | Create a Realtime WebSocket handler. |
make:service | Generate a service class. |
make:test | Create an application test case. |
mcp:list | List HTTP and local MCP servers. |
mcp:start | Start a local MCP server over STDIO. |
migrate | Apply pending migrations and optionally seeders. |
migrate:fresh | Rebuild history and reapply migrations. |
migrate:refresh | Roll back batches and rerun pending migrations. |
migrate:reset | Roll back every applied migration. |
migrate:rollback | Roll back the latest batch or several batches. |
migrate:status | Show applied and pending migrations. |
optimize | Validate project Python syntax. |
optimize:clear | Remove compiled application artifacts. |
packages | Install optional Orionis extras and dependency groups. |
queue:clear | Clear a queue, including delayed or reserved jobs. |
queue:failed | List terminally failed jobs. |
queue:forget | Remove a failure record. |
queue:migrate | Create missing SQL queue and failure tables while preserving data. |
queue:retry | Requeue one identified failed job. |
queue:work | Consume persisted jobs from a queue connection. |
route:list | Inspect registered HTTP routes. |
schedule:list | Inspect tasks defined by the scheduler. |
schedule:migrate | Create the native scheduler table without starting tasks. |
schedule:work | Start the scheduler process. |
seed | Run pending seeders. |
serve | Start the application’s Granian HTTP server. |
session:migrate | Create the configured SQL session table. |
test | Run application tests. |
up | Disable the HTTP maintenance state. |
Interpret outcomes
Section titled “Interpret outcomes”Reactor returns the integer returned by handle(); a non-integer return is converted to 0. An uncaught exception reaches the console failure handler and produces 1. The parser exits with 0 for help or 2 for invalid arguments.
Not every command converts internal failures into an exception or status 1: common generators print certain errors and return None. Their pages explain this limitation and command-specific statuses for packages, test, db:wipe and workers. Consider command output, exit status and the expected result together.
For calling commands from code and injecting services, see Reactor and programmatic execution.