Rocketlane CLI
The Rocketlane CLI (RLI) is the official command-line tool for building, testing, and deploying apps for the Rocketlane Marketplace. It streamlines your development workflow with a suite of easy-to-use commands for initializing projects, starting local development, and deploying to production.
Quick Start
- Install RLI globally:
npm install -g @rocketlane/rli
- Log in to Rocketlane:
rli login
- Initialize a new app:
rli init my-rocketlane-app
- Start development:
cd my-rocketlane-app
rli dev
- Build and deploy your app:
rli build
rli deploy
CLI Command Reference
rli login
Authenticate with your Rocketlane account.
Options:
-t, --token <string>
: Provide an authentication token directly
rli logout
Log out from your Rocketlane account.
rli init
Initialize a new Rocketlane app project.
Options:
-t, --template <string>
: Select a template (default: "basic")-d, --dir <string>
: Specify the target directory
For more options, run:
rli init --help
rli dev
Start the local development server to preview your Rocketlane app.
rli build
Build the app for deployment.
rli deploy
Deploy your built app to the Rocketlane Marketplace.
rli list
View a list of all apps associated with your Rocketlane account.
License
This CLI is licensed under a private license. Please refer to Rocketlane’s developer terms for usage and contribution guidelines.
Tips & Notes
- Always run
rli build
before deploying to ensure your app is production-ready. - Use
rli list
to quickly verify deployment status and app identifiers. - Use version control for your app directories to manage changes alongside RLI commands.
Updated about 1 month ago