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) |
|---|---|
lovrabet init | rabetbase project init |
lovrabet create | rabetbase project create |
lovrabet start | rabetbase run start |
lovrabet build | rabetbase run build |
lovrabet preview | rabetbase run preview |
lovrabet preview --watch | rabetbase run preview --watch |
lovrabet logout | rabetbase auth logout |
lovrabet skill install | rabetbase skill install |
lovrabet skills | rabetbase 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 |
|---|---|
rabetbase project upgrade | Automatic migration for legacy projects (.lovrabet.json -> .rabetbase.json) |
rabetbase run <script> | Execute any script from package.json (not just start/build/preview) |
rabetbase app list/add/use/remove | Multi-app management |
rabetbase bff create/pull/push/delete/status | Complete BFF script workflow |
rabetbase doctor | Environment and configuration diagnostics |
rabetbase update | CLI self-upgrade |
rabetbase logs | Command execution history |