CLI 1.x to 2.0 Command Mapping
Command mapping for upgrading from the legacy version (
lovrabetcommands) to the new version (rabetbasecommands). The new version uses a unifiedrabetbase <service> <command>two-level structure; flat commands have been grouped by functionality.
Command Mapping Table
Legacy (1.x lovrabet) | New (2.0 rabetbase / rb) |
|---|---|
lovrabet init | rb project init |
lovrabet create | rb project create |
lovrabet start | rb run start |
lovrabet build | rb run build |
lovrabet preview | rb run preview |
lovrabet preview --watch | rb run preview --watch |
lovrabet logout | rb auth logout |
lovrabet skill install | rb skill install |
lovrabet skills | rb skill install |
The legacy commands (
rabetbase init,rabetbase start, etc.) still work as compatibility aliases, but we recommend switching to the new commands as soon as possible.
Structural Changes Explained
The legacy version uses flat commands; the new version uses a two-level structure:
| Change | Explanation |
|---|---|
init -> project init | init is now grouped under the project command group |
start / build / preview -> run start / build / preview | Script commands are unified under run, which can execute any package.json script |
logout -> auth logout | Authentication commands are unified under auth |
skills -> skill install | Skill management is grouped under the skill command group |
New Commands in 2.0 (Not Available in 1.x)
| Command | Description |
|---|---|
rb project upgrade | Automatic migration for legacy projects (.lovrabet.json -> .rabetbase.json) |
rb run <any-script> | Execute any script from package.json (not just start/build/preview) |
rb app list/add/use/remove | Multi-app management |
rb bff new/pull/push/delete/status | Complete BFF script workflow |
rb doctor | Environment and configuration diagnostics |
rb update | CLI self-upgrade |
rb logs | Command execution history |