Documentation Index
Fetch the complete documentation index at: https://docs.launchmystore.io/llms.txt
Use this file to discover all available pages before exploring further.
CLI Setup
The LaunchMyStore CLI (lms) helps you develop, test, and deploy apps from the command line.
The CLI is coming soon! This documentation previews the planned features.
Installation
Authentication
Log in with your developer account:Creating an App
Create a new app project:- Choose a name and handle
- Select a template (Node.js, React, Remix, Extension-only)
- Configure OAuth scopes
- Choose extension types
- Download the template
- Register your app with LaunchMyStore
- Create
.lmsrc.jsonconfig file - Generate
.envwith credentials
Development Server
Start the development server with a secure tunnel:- Starts your local dev server
- Creates a Cloudflare tunnel for webhook testing
- Updates your app’s redirect URLs automatically
- Watches for extension changes
Commands Reference
App Commands
| Command | Description |
|---|---|
lms app create | Create a new app |
lms app dev | Start dev server with tunnel |
lms app deploy | Deploy to production |
lms app info | Show app details |
lms app list | List your apps |
Auth Commands
| Command | Description |
|---|---|
lms auth login | Authenticate with LaunchMyStore |
lms auth logout | Clear stored credentials |
lms auth whoami | Show current user |
Extension Commands
| Command | Description |
|---|---|
lms extension create | Create new extension |
lms extension push | Push extensions to store |
lms extension list | List extensions |
Function Commands
| Command | Description |
|---|---|
lms function create | Create new function |
lms function test | Test function in sandbox |
lms function deploy | Deploy function |
lms function logs | View function logs |
Webhook Commands
| Command | Description |
|---|---|
lms webhook list | List registered webhooks |
lms webhook trigger | Trigger test webhook |
Configuration
The CLI uses.lmsrc.json for project configuration:
Environment Variables
| Variable | Description |
|---|---|
LMS_CLIENT_ID | Your app’s Client ID |
LMS_CLIENT_SECRET | Your app’s Client Secret |
LMS_APP_URL | App URL (auto-set in dev mode) |
LMS_SCOPES | OAuth scopes |
Troubleshooting
'lms' command not found
'lms' command not found
Make sure npm global bin is in your PATH:
Authentication expired
Authentication expired
Run
lms auth login to re-authenticate.Tunnel not starting
Tunnel not starting
Check that port 3000 is available, or use
--port to specify another port.