Composable CLI commands for storefront development
This reference lists the commands that you can use to build storefronts with Composable CLI.
Command Overview
Composable CLI accelerates your time to market by providing the following features:
- Create new Next.js storefronts
- Easy setup and configuration of Elastic Path Products and Integrations
Command Syntax
If you've installed Composable CLI globally you can run all commands using your package manager:
- Alais
- Standard
ep [COMMAND] --[FLAG]
composable-cli [COMMAND] --[FLAG]
Command reference
| Command | Alias | Description |
|---|---|---|
| login | Login to the Composable CLI | |
| logout | Logout of the Composable CLI | |
| generate | g | generate Elasticpath storefront |
| integration | int | setup Elastic Path integrations for your storefront |
| payments | p | setup Elastic Path payment gateways for your storefront |
| config | interact with stored configuration | |
| store | interact with Elasticpath store | |
| feedback | Feedback to the Composable CLI | |
| insights | opt in/out product insights |
login
Authenticate to the Composable CLI
ep login
Flags
| Flag | Description |
|---|---|
| --region, -r | Region of Elastic Path account |
logout
Logout of the Composable CLI
ep logout
generate
Generate a new Elastic Path storefront
ep generate [project-name]
Flags
| Flag | Description |
|---|---|
| --project-name, -p | The name of the new project. |
| --help, -h | Show help for the generate command |
caution
Work in progress more coming soon