This reference is generated from Tringify CLI v0.5.48: every command, its usage line, what it does and every flag, exactly as the CLI defines them. Run tringify <command> --help for the same details in your terminal, and tringify version to see which version you have. Commands that act on one app take --app ID, or read app_id from tringify.app.json.
Account#
tringify login#
tringify login [--store]
Sign in with your Tringify account in the browser. Without --store you choose a developer organization; with --store you choose a store.
Flag |
Default |
What it does |
|---|---|---|
|
— |
sign in to a store instead of a developer organization |
tringify logout#
tringify logout [--store ID | --all]
Revoke access and remove the saved login. Without flags this signs out of the developer organization.
Flag |
Default |
What it does |
|---|---|---|
|
— |
sign out of every organization and store |
|
— |
sign out of this store |
tringify whoami#
tringify whoami
Show the developer organization and stores you are signed in to, checked against Tringify.
Themes#
tringify theme init#
tringify theme init [DIR] [--name NAME] [--from SOURCE]
Create a new theme from Canvas, Tringify's default theme (github.com/tringify/canvas), or from a local theme with --from. The new theme gets its own name, version 1.0.0, draft status and a new README; it is built and validated before DIR is created.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
— |
local theme directory to start from (default: download Canvas, the default theme) |
|
— |
theme display name (default: derived from DIR) |
tringify theme preview#
tringify theme preview [DIR] [--port 9292] [--preset NAME] [--host ADDRESS]
Serve a local preview with sample content. It rebuilds in a temporary copy whenever the theme's sources change. Press Ctrl+C to stop.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
|
specific IPv4 interface; pass this computer's LAN address to preview from another device |
|
|
port |
|
— |
theme style preset name |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
tringify theme build#
tringify theme build [DIR]
Compile src/sections/
tringify theme check#
tringify theme check [DIR] [--mode sealed|development]
Validate the compiled theme, as it is, with the same rules used when a theme is uploaded. Run build first after editing src/.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
|
themecheck mode: sealed (upload rules) or development |
tringify theme package#
tringify theme package [DIR] [OUTPUT] [--output FILE]
Build the section sources in a temporary copy, validate the theme and write an upload-ready ZIP. A failed validation never replaces an existing package. Outputs inside the theme must be under dist/.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
|
themecheck mode: sealed (upload rules) or development |
|
— |
ZIP path (default: dist/ |
tringify theme context#
tringify theme context [DIR] [--page PAGE] [--state STATE] [--entity HANDLE] [--preset NAME]
Print the exact sample data (CTX) the preview gives one page.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
— |
product, collection, article, or page handle (default: the first in the demo pack) |
|
|
template page type |
|
— |
theme style preset name |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
|
— |
gate page state: default, ok, invalid_email, consent_required, required, incorrect, retry_later or unavailable |
tringify theme contract#
tringify theme contract
Print the theme author contract as JSON: CTX roots and fields, editor setting types and hosted form actions.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
tringify theme components#
tringify theme components [DIR] [--check]
Copy the shared storefront components (date picker, account tabs) into the section sources that mark them with {%- comment -%}tf:shared NAME{%- endcomment -%}{%- comment -%}/tf:shared NAME{%- endcomment -%}. Run theme build afterwards. --check changes nothing and fails when a section is out of date.
Flag |
Default |
What it does |
|---|---|---|
|
— |
change nothing; fail when a section is out of date |
tringify theme reference#
tringify theme reference [DIR]
Write the theme's reference pages (docs/ref-*.md: theme settings, styles, page templates, sections and blocks) from the built theme and docs-src/descriptions.json, for tringify theme docs push. Run theme build first. Every other .md file in docs/ is left alone. Fails when a section, block or style has no description.
tringify theme push#
tringify theme push --store STORE_ID [--storefront ID] [DIR]
Package the theme and add it to a store as a new, unpublished theme. Use a development store. The store's live theme does not change.
Flag |
Default |
What it does |
|---|---|---|
|
— |
store ID (required) |
|
— |
storefront ID (default: the store's primary storefront) |
tringify theme dev#
tringify theme dev --store STORE_ID [--storefront ID] [--theme THEME_ID] [DIR]
Sync the theme into an unpublished theme on a store while you edit. The first run adds the theme; after that every saved change is built, validated and synced. The store's published theme is never changed. Press Ctrl+C to stop.
Flag |
Default |
What it does |
|---|---|---|
|
|
how often to look for changes |
|
— |
store ID (required; use a development store) |
|
— |
storefront ID (default: the store's primary storefront) |
|
— |
sync into this unpublished theme instead of the one theme dev added |
|
— |
also add the theme's demo products and collections to the store (development stores only) |
tringify theme pull#
tringify theme pull --store STORE_ID --theme THEME_ID [--storefront ID] [DIR]
tringify theme pull --listing ID [--version X.Y.Z] [DIR]
Download a store theme's published files, or the exact package a version of your listing was published with, into a new directory.
Flag |
Default |
What it does |
|---|---|---|
|
— |
theme listing ID, to download a published version instead of a store theme |
|
— |
store ID |
|
— |
storefront ID (default: the store's primary storefront) |
|
— |
theme ID (see the store admin URL, or omit to list the store's themes) |
|
— |
with --listing: the version to download (default: the newest published) |
tringify theme diff#
tringify theme diff --listing ID [--version X.Y.Z] [DIR]
Compare the theme with a published version of your listing: the files publishing would add, change or remove. Without --version it compares with the newest published version.
Flag |
Default |
What it does |
|---|---|---|
|
— |
theme listing ID (see |
|
— |
published version to compare with (default: the newest) |
tringify theme listings#
tringify theme listings
List the theme listings in your developer organization.
tringify theme create#
tringify theme create --name NAME --slug SLUG [--support-url URL] [--terms-url URL]
Create a free theme listing in your developer organization. Publish versions to it with tringify theme publish.
Flag |
Default |
What it does |
|---|---|---|
|
— |
listing name shown in the Theme Store |
|
— |
URL name, lowercase letters, numbers and hyphens |
|
— |
where merchants get help |
|
— |
terms of use page |
tringify theme update#
tringify theme update --listing ID [--oidc] [--tagline T] [--description D] [--category SLUG] [--screenshot FILE]... [--style-cover STYLE=FILE]... [--hero FILE] [--style-hero STYLE=FILE]...
Change a listing's text, category, links, screenshots, style covers and hero images. Only the parts you pass change. Screenshots and covers are 1280×720 PNG, JPEG or WebP; passing --screenshot replaces all screenshots, in the order given, and passing --style-cover replaces all covers. Hero images are the tall pictures the Theme Store hero shows for a featured theme: 1200×1500 (4:5); --hero sets the theme's own, --style-hero one style's (the style needs a cover). In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing, and --listing is optional.
Flag |
Default |
What it does |
|---|---|---|
|
— |
category slug or ID (see |
|
— |
listing description |
|
— |
read the description from this file |
|
— |
the theme's own hero image (1200×1500) for the Theme Store hero |
|
— |
theme listing ID (see |
|
— |
new listing name |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
screenshot image; repeat for each, in display order |
|
— |
a style's cover as STYLE=FILE, where STYLE is the preset name; repeat for each style |
|
— |
a style's hero image as STYLE=FILE; repeat for each style |
|
— |
where merchants get help |
|
— |
one-line tagline |
|
— |
terms of use page |
tringify theme categories#
tringify theme categories
List the Theme Store categories, for tringify theme update --category.
tringify theme docs#
tringify theme docs [push] --listing ID [--draft] [--oidc] [DIR] | theme docs status --listing ID [--oidc]
Publish the theme's documentation on themes-support.tringify.com/tringify app docs push: one file per page, the file name (without .md) is the page address, and each file starts with front matter (---, title: ..., order: N, ---). The pages are saved as the draft and submitted; Tringify reviews them before they go live. --draft only saves the draft. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing, and --listing is optional.
Flag |
Default |
What it does |
|---|---|---|
|
— |
save the draft without submitting it |
|
— |
theme listing ID (see |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
tringify theme docs status#
tringify theme docs status --listing ID [--oidc]
Show the theme documentation's published version, submission and draft. With trusted publishing (--oidc, or a GitHub Actions job with permissions: id-token: write) --listing is optional.
Flag |
Default |
What it does |
|---|---|---|
|
— |
theme listing ID; optional with trusted publishing |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
tringify theme submit#
tringify theme submit --listing ID
Submit a listing for Theme Store review.
Flag |
Default |
What it does |
|---|---|---|
|
— |
theme listing ID (see |
tringify theme publish#
tringify theme publish --listing ID --version X.Y.Z [--notes TEXT | --notes-file FILE] [--yes] [--oidc] [DIR]
Package the theme from a clean git checkout and publish it as a new version of an existing listing. It first shows the files that change compared with the newest published version and asks before publishing; --yes publishes without asking (needed when not in a terminal and with trusted publishing). It must run from a clean commit; the commit is shown in the output, not in the release notes. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing: no login, and --listing is optional because the publishing token names the listing.
Flag |
Default |
What it does |
|---|---|---|
|
— |
mark the version as containing breaking changes |
|
— |
also install the published version into this organization development store (not with trusted publishing) |
|
— |
theme listing ID (see |
|
— |
release notes |
|
— |
read the release notes from this file (- for standard input), for example an annotated tag's message |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
version to publish, for example 1.2.0; a leading v (v1.2.0, a tag name) is ignored |
|
— |
publish without showing the changes and asking first (needed when not in a terminal and with trusted publishing) |
Apps#
tringify app list#
tringify app list
List your organization's apps.
tringify app create#
tringify app create --name NAME [--handle HANDLE] --type standard|sales_channel --distribution private|marketplace [--category ID --subcategory ID] [--json]
Create an app in your organization. Its handle, the unique name in its App Store address and its project directory, is made from the name unless you choose one with --handle; it cannot change later. Sales channel apps need a category and subcategory (list them with tringify app categories); the subcategory sets the channel type. Run tringify app init --app ID next to start a project for it.
Flag |
Default |
What it does |
|---|---|---|
|
— |
category ID (see |
|
— |
short description |
|
— |
private (install links) or marketplace (App Store listing) |
|
— |
the app's handle: lowercase letters, numbers and hyphens (default: made from the name) |
|
— |
print the result as JSON, for scripts and piping into a secret store |
|
— |
app name |
|
— |
subcategory ID (see |
|
— |
standard or sales_channel |
tringify app categories#
tringify app categories [--type standard|sales_channel] [--json]
List the category and subcategory IDs to pass to tringify app create. A sales channel app's subcategory sets its channel type.
Flag |
Default |
What it does |
|---|---|---|
|
— |
print the result as JSON |
|
— |
only subcategories for this app type: standard or sales_channel |
tringify app init#
tringify app init --app ID [DIR]
Create a project for an app from the Tringify app starter (github.com/tringify/app-starter): a TypeScript Cloudflare Worker with an embedded admin page, signed webhook handling and Store API calls. Writes the app's configuration to tringify.app.json, with app block sources in blocks/, and adds an example template block, blocks/instalments.vasc, that shows the product price split into payments. Create the app first with tringify app create (or in the Developer Portal).
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (see |
tringify app config pull#
tringify app config pull [--app ID] [--file PATH]
Write the app's draft configuration to tringify.app.json, with each app block's source in blocks/
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in the file) |
|
|
configuration file |
|
— |
overwrite without asking |
tringify app config push#
tringify app config push [--file PATH] [--yes] [--oidc]
Replace the app's draft configuration with tringify.app.json and the block sources it names. Runs tringify app config check first and pushes nothing if it finds a problem. Shows what changes and asks first; --yes replaces without asking (needed when not in a terminal and with trusted publishing). Fields left out of the file are cleared. The draft goes live only when you release it. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the file's app_id.
Flag |
Default |
What it does |
|---|---|---|
|
|
configuration file |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
|
— |
replace without asking (needed when not in a terminal and with trusted publishing) |
tringify app config check#
tringify app config check [--file PATH] [--oidc]
Check tringify.app.json and the block sources it names without changing the draft: the app blocks first (see tringify app block check), then the whole configuration, which the Developer API checks exactly as it would on push, for example event delivery and the click IDs and cookies it declares under server_events.attribution. A problem is printed with the field it concerns, such as server_events.attribution.cookies. app config push runs this check first. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the file's app_id.
Flag |
Default |
What it does |
|---|---|---|
|
|
configuration file |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
tringify app block check#
tringify app block check [--file PATH]
Check the app's blocks with the rules the app platform applies when the configuration is pushed: each declaration (mode, pages, surface), and each source file compiled as a block that reads only the data its mode allows and writes only the markup app blocks may use. Problems are printed as FILE:LINE: message. app config push and app release run this check first.
Flag |
Default |
What it does |
|---|---|---|
|
|
configuration file |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
tringify app block context#
tringify app block context [--page product] [--theme DIR] [--entity HANDLE]
Print the sample data each of the app's blocks receives on a page: the page's sample data cut to the ctx_needs roots the block declares. A template block may read shop, routes, product and collection; a hosted_surface block may also read cart. Uses the built-in sample catalog, or a theme's demo content with --theme.
Flag |
Default |
What it does |
|---|---|---|
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
— |
product, collection, article, or page handle (default: the first in the sample data) |
|
|
configuration file |
|
|
page type: product, collection, cart, page, account, blog or home |
|
— |
theme style preset name, with --theme |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
|
— |
theme directory whose demo content to use (default: the built-in sample catalog) |
tringify app block preview#
tringify app block preview [--theme DIR] [--page product] [--after TYPE] [--port 9292]
Serve a local preview of the app's blocks inside a theme, rendered as a store renders them: each block that lists --page goes into that page's app block slot, reads only the data its mode allows, and must pass the app markup policy and the page's app block budget; template blocks get the tf-ab-* styles. Uses Canvas, the default theme (the one tringify theme init starts from, downloaded from github.com/tringify/canvas), unless --theme names another theme. The preview rebuilds when tringify.app.json, a block source or the theme changes. Press Ctrl+C to stop.
Flag |
Default |
What it does |
|---|---|---|
|
|
theme block type the app blocks follow in the slot; last when the slot has none |
|
— |
path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools) |
|
|
configuration file |
|
|
specific IPv4 interface; pass this computer's LAN address to preview from another device |
|
|
page type whose app block slot shows the blocks |
|
|
port |
|
— |
theme style preset name |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
|
— |
theme directory (default: Canvas, the default theme) |
tringify app install-link#
tringify app install-link [--store DOMAIN] [--draft] [--expires CHOICE] [--uses N]
Create a link that installs the app on a store. A private app installs its current draft. A marketplace app installs its published version, or with --draft its current draft, which only development and transfer stores of your organization can install. Without --expires and --uses the link gets the Developer Portal's defaults.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
— |
marketplace apps: install the current draft instead of the published version |
|
— |
how long the link works, for example 7d or never; a value the API does not offer is refused with the list of choices |
|
|
configuration file |
|
— |
only this store may use the link, for example my-store.mytringify.com |
|
|
how many installs the link allows; 0 for unlimited |
tringify app release#
tringify app release [--bump patch|minor|major | --version X.Y.Z] [--notes TEXT | --notes-file FILE] [--yes] [--oidc]
Release the app's draft. Checks the draft's app blocks first (see tringify app block check) and releases nothing if they have problems. A marketplace app submits it as a new version: the previous version number with the part you name in --bump increased, where major marks the version as breaking; or exactly the version you name in --version (v1.2.0 from a tag works too), which must be the next patch, minor or major version after the newest one. A private app releases it as a new version to every store that has the app, after asking (--yes releases without asking; needed when not in a terminal and with trusted publishing); Tringify numbers private updates, so --bump and --version are for marketplace apps. Stores move to a new version by themselves; one that asks for more access waits until the store approves it. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the app.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
— |
marketplace apps: patch, minor or major |
|
|
configuration file |
|
— |
release notes shown to stores |
|
— |
read the release notes from this file (- for standard input), for example an annotated tag's message |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools) |
|
— |
marketplace apps: release exactly this version, for example 1.2.0 or v1.2.0 (instead of --bump) |
|
— |
release without asking (needed when not in a terminal and with trusted publishing) |
tringify app versions#
tringify app versions
List the app's versions, newest first. For a private app, each version shows how many stores run it, how many are waiting to approve the more access it asks for, how many moved on to a later version, and its release notes.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app listing show#
tringify app listing show [--app ID]
Show the app's App Store listing.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app listing update#
tringify app listing update [--app ID] [--name NAME] [--icon FILE] [--screenshot FILE]... [--tagline T] [--description D] [--category ID --subcategory ID]
Change the app's App Store listing. Only the parts you pass change. --name renames the app (its name in the App Store, Store Admin and the Developer Portal). The icon is a 512×512 PNG, JPEG or WebP; passing --screenshot replaces all screenshots, in the order given. --category and --subcategory (see tringify app categories) place a standard app in the App Store; a sales channel app's category is set when it is created. The change reaches the App Store with the next tringify app release and tringify app publish.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
— |
App Store category ID (see |
|
— |
listing description |
|
— |
read the description from this file |
|
|
configuration file |
|
— |
app icon image, 512×512 |
|
— |
the app's name |
|
— |
screenshot image; repeat for each, in display order |
|
— |
short description |
|
— |
App Store subcategory ID, within --category |
|
— |
where merchants email for help |
|
— |
one-line tagline |
tringify app privacy push#
tringify app privacy push [--file privacy.md] [--submit] [--app ID]
Save a markdown file as the draft of the app's privacy policy on its Tringify support site. With --submit the draft is also submitted for review; once approved, it is published as the new version and stores that installed the app are notified.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
|
markdown file |
|
— |
also submit the draft for review |
tringify app privacy status#
tringify app privacy status [--app ID]
Show the draft, the submission in review and the published version of the app's privacy policy on its Tringify support site.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app terms push#
tringify app terms push [--file terms.md] [--submit] [--app ID]
Save a markdown file as the draft of the app's terms of service on its Tringify support site. With --submit the draft is also submitted for review; once approved, it is published as the new version and stores that installed the app are notified.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
|
markdown file |
|
— |
also submit the draft for review |
tringify app terms status#
tringify app terms status [--app ID]
Show the draft, the submission in review and the published version of the app's terms of service on its Tringify support site.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app docs push#
tringify app docs push [--dir docs] [--submit] [--app ID] [--oidc]
Save the docs/*.md files as the draft of the app's documentation on its Tringify support site. Each file is one page: its name without .md is the page's address (lowercase letters, numbers and hyphens), and it starts with front matter giving the title and, optionally, the position:
title: Getting started order: 1
Pages are ordered by order, then by file name; the first is the docs home. Only the .md files directly in the folder are pushed. With --submit the draft is also submitted for review; once approved, it is published as the new version. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the app.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
|
folder of markdown pages |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
|
— |
also submit the draft for review |
tringify app docs status#
tringify app docs status [--app ID] [--oidc]
Show the draft, the submission in review and the published version of the app's documentation on its Tringify support site. In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the app.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
tringify app api push#
tringify app api push [--dir api] [--submit] [--app ID]
Save the api/*.md files as the draft of your app's API reference on its Tringify support site. If your app offers an API, its reference is hosted there, and only there. Each file is one page: its name without .md is the page's address (lowercase letters, numbers and hyphens), and it starts with front matter giving the title and, optionally, the position:
title: Authentication order: 1
Pages are ordered by order, then by file name; the first is the reference's home page. Only the .md files directly in the folder are pushed. With --submit the draft is also submitted for review; once approved, it is published as the new version.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
|
folder of markdown pages |
|
— |
also submit the draft for review |
tringify app api status#
tringify app api status [--app ID]
Show the draft, the submission in review and the published version of the app's API reference on its Tringify support site.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app publish#
tringify app publish VERSION [--oidc]
Publish an approved version so stores can install or update to it. VERSION may have a leading v (v1.2.0, a tag name). In a GitHub Actions job with permissions: id-token: write (or with --oidc) it uses trusted publishing for the app.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
use trusted publishing: exchange this GitHub Actions job's ID token for a short-lived publishing token (no login or secret). On by default in a GitHub Actions job that has the id-token: write permission |
tringify app webhook test#
tringify app webhook test
Send a signed app.test webhook to the app's webhook URL and report the answer.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
tringify app webhook rotate-key#
tringify app webhook rotate-key [--pipe-to COMMAND | --json]
Issue a new webhook signing secret. For 72 hours, webhooks and other signed requests also carry a second signature made with the previous secret, so your app keeps verifying while you deploy the new one; the output says exactly when signatures made with the previous secret stop. Rotating again during that time stops signatures made with the oldest secret at once. Run tringify app webhook finish-rotation once the new secret is deployed. The new secret is shown only in this command's output, or, with --pipe-to, handed to your secret store without being shown.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
print the result as JSON, for scripts and piping into a secret store |
|
— |
command that stores the new secret, given on its standard input; the secret is not printed |
tringify app webhook finish-rotation#
tringify app webhook finish-rotation [--app ID] [--yes]
Stop signing requests with the previous webhook signing secret now instead of when its 72 hours end. Afterwards requests carry only the new secret's signature, so run this once the new secret is deployed everywhere you verify signatures.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
finish without asking |
tringify app secret rotate#
tringify app secret rotate [--pipe-to COMMAND | --json]
Issue a new client secret. For 72 hours the previous secret keeps working too, so your app keeps exchanging codes while you deploy the new one; the output says exactly when the previous secret stops working. Rotating again during that time stops the oldest secret at once. Run tringify app secret finish-rotation once the new secret is deployed, or right away if the previous secret was exposed. The new secret is shown only in this command's output, or, with --pipe-to, handed to your secret store without being shown.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
— |
verification code from your authenticator app (asked for when omitted) |
|
|
configuration file |
|
— |
print the result as JSON, for scripts and piping into a secret store |
|
— |
command that stores the new secret, given on its standard input; the secret is not printed |
tringify app secret finish-rotation#
tringify app secret finish-rotation [--app ID] [--yes]
Stop accepting the previous client secret now instead of when its 72 hours end. Run this once the new secret is deployed everywhere, or right away if the previous secret was exposed.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
revoke without asking |
tringify app deliveries#
tringify app deliveries [--data] [--status failed] [--store STORE] [--delivery ID] [--event ID] [--cursor CURSOR]
List webhook deliveries to the app, newest first: lifecycle deliveries, or with --data store data deliveries. If some stores can't be reached, a note on stderr says their deliveries are missing from the list.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
— |
continue a list where the previous page ended (printed after a page) |
|
— |
list store data deliveries instead of lifecycle deliveries |
|
— |
only the delivery with this ID |
|
— |
data deliveries: only deliveries of the event with this ID |
|
— |
only deliveries of this event type |
|
|
configuration file |
|
|
how many to list per page (at most 100) |
|
— |
only deliveries with this status, such as failed, retrying or delivered |
|
— |
only deliveries to this store: its ID, its domain, or part of its name |
tringify app retire#
tringify app retire [--app ID] [--json]
Check whether the app can be retired and open the Developer Portal to retire it. A retired app leaves the App Store and accepts no new installs or versions; stores that installed it keep using it until they uninstall. Retiring cannot be undone. Any app that was ever used is retired, not deleted. You confirm in the Developer Portal's Danger Zone because it needs your email code or passkey; set TRINGIFY_NO_BROWSER=1 to only print the link. Needs the Delete Apps permission; if the API refuses with a permission error, run tringify login again to grant it.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
print the platform's answer as JSON and open nothing |
tringify app delete#
tringify app delete [--app ID] [--json]
Check whether the app can be deleted and open the Developer Portal to delete it. Only an app that was never used by any store can be deleted; any other app can only be retired (tringify app retire). You confirm in the Developer Portal's Danger Zone because it needs your email code or passkey; set TRINGIFY_NO_BROWSER=1 to only print the link. Needs the Delete Apps permission; if the API refuses with a permission error, run tringify login again to grant it.
Flag |
Default |
What it does |
|---|---|---|
|
— |
app ID (default: app_id in tringify.app.json) |
|
|
configuration file |
|
— |
print the platform's answer as JSON and open nothing |
Merchant support#
tringify support cases list#
tringify support cases list [--status STATUS] [--app ID | --theme ID] [--assignee me|unassigned|ID] [--store ID] [--search TEXT]
List your organization's support cases, most recently updated first.
Flag |
Default |
What it does |
|---|---|---|
|
— |
only cases about this app |
|
— |
me, unassigned, or a member's account ID |
|
— |
print the result as JSON |
|
|
cases per page: 25, 50 or 100 |
|
|
page number |
|
— |
match the subject, store name or case number |
|
|
needs_reply, waiting_for_merchant, with_tringify, solved, closed, active or all |
|
— |
only cases from this store ID |
|
— |
only cases about this theme (its Theme Store listing ID) |
tringify support cases get#
tringify support cases get CASE [--json]
Show a case: its messages, your team's notes, and what the merchant shared.
Flag |
Default |
What it does |
|---|---|---|
|
— |
print the result as JSON |
tringify support cases reply#
tringify support cases reply CASE --message TEXT | --message-file PATH
Reply to the merchant. They get it by email and in the Help Center, signed with your name and your organization's.
Flag |
Default |
What it does |
|---|---|---|
|
— |
the text |
|
— |
read the text from this file (- for standard input) |
|
— |
mark the case solved with this reply |
tringify support cases note#
tringify support cases note CASE --message TEXT | --message-file PATH
Add an internal note. Only your team and Tringify support see it.
Flag |
Default |
What it does |
|---|---|---|
|
— |
the text |
|
— |
read the text from this file (- for standard input) |
tringify support cases solve#
tringify support cases solve CASE
Mark the case solved. The merchant can open it again within 7 days.
tringify support cases reopen#
tringify support cases reopen CASE
Open a case solved in the last 7 days again.
tringify support cases assign#
tringify support cases assign CASE --to ACCOUNT_ID|me|none
Assign the case to a member with Support access, to yourself, or to no one.
Flag |
Default |
What it does |
|---|---|---|
|
— |
a member's account ID, me, or none |
tringify support settings get#
tringify support settings get [--json]
Show your organization's support settings: response target, support hours, auto-reply and where cases can start.
Flag |
Default |
What it does |
|---|---|---|
|
— |
print the result as JSON |
Development stores#
tringify store list#
tringify store list
List your organization's development stores.
tringify store create#
tringify store create --name NAME --country CC --currency CUR [--subdomain SUB] [--timezone ZONE] [--billing-currency CUR]
Create a development store for your organization and wait until it is ready.
Flag |
Default |
What it does |
|---|---|---|
|
— |
organization billing currency (default: the only one offered) |
|
— |
store country, for example IN or GB (required) |
|
— |
store currency, for example INR (required) |
|
— |
store name (required) |
|
— |
store address, SUB.mytringify.com (default: from the name) |
|
— |
store time zone, for example Asia/Kolkata (default: this computer's time zone) |