CLI reference
Use php corevia help. The release does not support --help.
text
migration:status | migration:up | migration:down [--connection=name --directory=database/migrations --steps=1]
openapi:export [--title=name --version=1.0.0]
app:upgrade --from=application --output=new-directory --runtime-path=package [--dry-run | --offline]
app:new <new-directory> [--features=web|api|auth,ai --stack=bootstrap|tailwind|react --database=json|sqlite|mysql|pgsql|mongodb --runtime-path=package-directory --dry-run]
extension:check <catalog.json> [--features=id,id]
starter:upgrade [--path=existing-application] (read-only auth-starter upgrade preview)
hosting:prepare [--target=shared|vps|aws|azure --output=new-relative-storage-directory --dry-run]
hosting:check [--target=shared|vps|aws|azure --requirements=private.json --public-path=path]
auth:migrate | auth:outbox [--show=private-preview-file.json]
auth:roles --email=address --set=admin[,editor] [--tenant=id] (empty --set revokes roles)
mail:migrate | mail:status | mail:work [--once | --max=100]
starter:ai [--path=app --dry-run] | deploy:check [--multi-host]
coordination:migrate | queue:status | queue:dispatch <task> --input=file --idempotent | queue:work [--once | --max=100] [--budget-ms=20000]
starter:auth [--stack=bootstrap|tailwind|react --path=existing-project --dry-run --check]
profile:list | profile:show (COREVIA_PROFILE=web|api|worker|realtime|ai|full)
V3 foundations (unreleased): app:graph | app:compile | app:verify | app:inspect [--output=path --key-file=path]
contract:compile <manifest.json> [--output=directory --check]
Web starter: route:list | db:status | db:check <connection> | db:migrate <connection>
Corevia V2
serve [--host=127.0.0.1 --port=8081]
about | routes | modules | flow:list | doctor
flow:run <name> --input=file.json [--key=key]
flow:show <run-id> | flow:inspect <run-id>
flow:retry <run-id> <zero-based-step-index>
flow:resume <run-id> [--event=name]
realtime:start [--host=127.0.0.1 --port=8080]
realtime:stop
worker:start [--once] | worker:dispatch <flow> --input=file.json [--delay=seconds]
make:module <Name> | make:action <Name> | make:flow <Name> | make:event <Name>
config:cache | cache:clear [--env=development]
test | upgrade:check | update:check [--offline]
Generator registration
Generated modules and actions require explicit registration. Add modules to the module catalog and register action names in the module register method. CRUD, view, layout, route and admin starter generators are planned, not available commands.