Skip to content

Rabetbase CLI 2.0 vs 1.x command mapping

A command mapping for upgrading from the old version (lovrabet commands) to the new one (rabetbase commands). The new version unifies on the two-level rabetbase structure, with the flat commands regrouped by function.


Command mapping table

Old (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 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 **:

ChangeNotes
initproject initinit moved under the project command group
start / build / previewrun start / build / previewScript commands are unified under run, which can execute any package.json script
logoutauth logoutAuthentication commands are unified under auth
skillsskill installSkill management moved under the skill command group

New commands in the new version (not in 1.x)

CommandNotes
rabetbase project upgradeAutomatic 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/statusThe full BFF script workflow
rabetbase doctorEnvironment and configuration diagnostics
rabetbase updateSelf-upgrade the CLI
rabetbase logsCommand execution history

基于飞书知识库同步生成,内容以飞书源文档为准