Skip to main content

CLI 1.x to 2.0 Command Mapping

Command mapping for upgrading from the legacy version (lovrabet commands) to the new version (rabetbase commands). The new version uses a unified rabetbase <service> <command> two-level structure; flat commands have been grouped by functionality.


Command Mapping Table

Legacy (1.x lovrabet)New (2.0 rabetbase)
lovrabet initrabetbase project init
lovrabet createrabetbase project create
lovrabet startrabetbase run start
lovrabet buildrabetbase run build
lovrabet previewrabetbase run preview
lovrabet preview --watchrabetbase run preview --watch
lovrabet logoutrabetbase auth logout
lovrabet skill installrabetbase skill install
lovrabet skillsrabetbase 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:

ChangeExplanation
init -> project initinit is now grouped under the project command group
start / build / preview -> run start / build / previewScript commands are unified under run, which can execute any package.json script
logout -> auth logoutAuthentication commands are unified under auth
skills -> skill installSkill management is grouped under the skill command group

New Commands in 2.0 (Not Available in 1.x)

CommandDescription
rabetbase project upgradeAutomatic 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/removeMulti-app management
rabetbase bff create/pull/push/delete/statusComplete BFF script workflow
rabetbase doctorEnvironment and configuration diagnostics
rabetbase updateCLI self-upgrade
rabetbase logsCommand execution history