Finqu CLI
Finqu CLI is a command-line tool for working with the Finqu unified commerce platform. It provides workflows for theme development (configure, download, deploy, dev) and headless storefront development (create, build, dev) with Puck editor integration.
Install
Install globally with npm:
npm install -g @finqu/cliVerify installation:
finqu --versionQuick start (theme development)
- Sign in:
finqu sign-in- Connect your local project to a theme:
finqu theme configure-
Install the local Theme Development Kit (
finqu-theme-dev) by following the installation guide. -
Start local theme development:
finqu theme devOn first run, finqu theme dev checks whether finqu-theme-dev authentication has already been completed. If credentials are missing, it automatically runs finqu-theme-dev auth and guides you through entering your store URL and channel API key.
- (Optional) Download or deploy assets directly:
finqu theme download
finqu theme deployQuick start (storefront development)
Create a new headless storefront project:
finqu storefront create my-storefrontWhat’s in the CLI docs
- Authentication: how
finqu sign-inworks and how credentials/tokens are handled. See Authentication. - Theme: reference + examples for
finqu themecommands. See Theme. - Storefront: reference + examples for
finqu storefrontcommands. See Storefront. - Configuration:
finqu.config.json, environments, and config precedence. See Configuration. - Troubleshooting: common issues and how to debug. See Troubleshooting.
- Theme Development Kit (recommended for local theme development): install and use the local preview server. See Theme Development Kit and finqu theme dev.
Global options
These options can be used with most commands:
| Option | Description | Default |
|---|---|---|
-v, --verbose | Enable detailed logging output | false |
-e, --env <environment> | Specify the configuration environment to use | production |
-c, --config <path> | Path to the configuration file | ./finqu.config.json |
--help | Display help information | |
--version | Display version information |