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

Initialize a new app:

rli init my-rocketlane-app

Start development:

cd my-rocketlane-app
rli dev

Build your app:

rli build

CLI Command Reference


  1. 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

2.rli dev

Start the local development server to preview your Rocketlane app.

3.rli build

Build the app for deployment.



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 version control for your app directories to manage changes alongside RLI commands.