The Vitrin CLI helps you authenticate, create, build, preview, and manage themes for Zid stores.
Each command is straightforward, with copy-ready examples below.
π Authentication#
Authenticate your CLI with Zid Partner Dashboard.Opens your browser for the OAuth flow and saves credentials locally.
π¨ Theme Creation#
Create a new theme from a template.-t, --template <template> β Template to use (basic, minimal, advanced)
--no-git β Skip Git initialization
Theme Push#
Builds and pushes your theme to Zid servers, creating or updating the theme.-s, --store <email> β Dev store email to install on
-a, --activate β Activate theme after installation
-v, --version <version> β Version number (default: from theme.json)
-c, --changelog <text> β Version changelog
π οΈ Building Themes#
Build your theme into a distributable .zip package.
π Preview on Dev Store#
Preview your theme on a development store for testing.-s, --store <store-id> β Dev store email
--build β Build theme before previewing
π List Resources#
List available themes or dev stores.
π¦ Theme Installation#
Install a specific theme version on a store.
π Theme Activation#
Activate an installed theme on a store.
Temporary themes settings editing#
Since we got a little too excited to share the new themes with you when the new theme editor is still cooking, here's a quick way to upload drafted settings while building the theme through the cli:
with your theme files, add the following:in a .json file with the template name, you can add settings for the template that will be uploaded to the store during preview.
in home.json you can add the sections settings that you want reflected in the home page like so:{
"components": {
"ar": [
{
"template": "sections/....jinja",
"settings": ...,
}
],
"en": [
...
]
}
}
Modified atΒ 2026-02-17 07:02:10