Theme Commands
All theme-related commands are grouped under finqu theme. Use them to connect a local project to a theme, sync assets,
and run the recommended local preview workflow with the Theme Development Kit.
Typical Workflow
- Sign in with
finqu sign-in. - Connect the project to a theme with
finqu theme configure. - Pull the latest theme assets with
finqu theme download. - Preview changes locally with
finqu theme dev. - Push changes back with
finqu theme deploy.
Working With Theme Files
finqu theme download, finqu theme deploy, and finqu theme delete accept [sources...] paths so you can target
individual files or directories such as assets/main.css or sections/header.liquid.
If you omit [sources...], download and deploy operate on the entire theme. Configuration is stored in .env by
default, or in the file you pass with --config.
Connect a Theme
finqu theme configure
Interactively selects a theme and stores the connection details in your configuration file.
finqu theme configureThis command walks you through choosing a theme and saving the resolved store and theme values to .env. For details,
see Configuration.
Sync Assets
finqu theme download
Downloads theme assets from the connected theme.
finqu theme download [sources...]When no sources are provided, the CLI downloads the full theme into your local directory.
finqu theme deploy
Uploads local assets to the connected theme.
finqu theme deploy [sources...]When no sources are provided, the CLI uploads the full local theme.
Note: By default,
config/settings_data.jsonandconfig/.draftare protected so local deploys do not overwrite settings edited in the Finqu admin. Use--forceonly when you intentionally want to include them.
finqu theme delete
Deletes assets from the connected theme.
finqu theme delete [sources...]Provide one or more asset paths to remove.
Examples
# Download the entire theme
finqu theme download
# Download selected files or directories
finqu theme download assets/main.css sections/header.liquid
finqu theme download assets/
# Deploy the entire local theme
finqu theme deploy
# Deploy selected files
finqu theme deploy assets/main.css sections/header.liquid
# Deploy and remove remote files that no longer exist locally
finqu theme deploy --clean
# Include protected config files
finqu theme deploy --force
# Delete selected assets
finqu theme delete assets/old-script.js sections/removed-section.liquidLocal Development
finqu theme dev
Starts the recommended local development workflow using finqu-theme-dev.
finqu theme devWhat this command does:
- Confirms that
finqu-theme-devis installed and available on yourPATH. - Checks whether
finqu-theme-devhas already been authenticated. - Starts
finqu-theme-dev authautomatically if credentials are missing. - Launches the local preview server with
finqu-theme-dev serve.
finqu-theme-dev keeps its own credentials in ~/.finqu-theme-dev/credentials.json and uses a channel API key. That is
separate from the OAuth token managed by finqu sign-in.
Examples
# Start the local development server
finqu theme dev
# Custom port and theme directory
finqu theme dev --port 8080 --dir ./themeTheme Structure
A typical Finqu theme looks like this:
theme-name/
├── assets/ # CSS, JavaScript, images, and fonts
├── blocks/ # Reusable blocks
├── config/
│ └── settings_data.json # Theme settings (protected during deploy)
├── layout/ # Layout templates
├── locales/ # Translation files
├── sections/ # Page sections
├── snippets/ # Code snippets
├── templates/ # Page templates
└── .env # CLI configuration fileNext Steps
- Theme Development Kit - Recommended local theme preview and development
- CLI Overview - General CLI documentation
- Configuration - Configuration reference
- Troubleshooting - Common issues and solutions