Rabetbase CLI 2.0 vs 1.x command mapping
A command mapping for upgrading from the old version (
lovrabetcommands) to the new one (rabetbasecommands). The new version unifies on the two-levelrabetbasestructure, with the flat commands regrouped by function.
Command mapping table
Old (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 old spellings (
rabetbase init,rabetbase start, etc.) still work as compatibility aliases, but switch to the new forms as soon as you can.
What changed structurally
The old version used **flat commands ; the new version uses a two-level structure **:
| Change | Notes |
|---|---|
init → project init | init moved 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 moved under the skill command group |
New commands in the new version (not in 1.x)
| Command | Notes |
|---|---|
rabetbase project upgrade | Automatic migration for older projects (.lovrabet.json → .rabetbase.json) |
rabetbase run <script> | Run any script in package.json (not just start/build/preview) |
rabetbase app list/add/remove, rabetbase workspace use --app <name> | Multi-app management |
rabetbase bff create/pull/push/delete/status | The full BFF script workflow |
rabetbase doctor | Environment and configuration diagnostics |
rabetbase update | Self-upgrade the CLI |
rabetbase logs | Command execution history |