Skip to main content

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:

ep [COMMAND] --[FLAG]

Command reference​

CommandAlaisDescription
loginLogin to the Composable CLI
logoutLogout of the Composable CLI
generateggenerate Elasticpath storefront
integrationintsetup Elastic Path integrations for your storefront
paymentspsetup Elastic Path payment gateways for your storefront
configinteract with stored configuration
storeinteract with Elasticpath store
feedbackFeedback to the Composable CLI
insightsopt in/out product insights

login​

Authenticate to the Composable CLI

ep login

Flags​

FlagDescription
--region, -rRegion of Elastic Path account

logout​

Logout of the Composable CLI

ep logout

generate​

Generate a new Elastic Path storefront

ep generate [project-name]

Flags​

FlagDescription
--project-name, -pThe name of the new project.
--help, -hShow help for the generate command

warning

Work in progress more coming soon