Command reference

Every tringify command with its flags, generated from the CLI.

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#

bash
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

--store

—

sign in to a store instead of a developer organization

tringify logout#

bash
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

--all

—

sign out of every organization and store

--store

—

sign out of this store

tringify whoami#

bash
tringify whoami

Show the developer organization and stores you are signed in to, checked against Tringify.

Themes#

tringify theme init#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--from

—

local theme directory to start from (default: download Canvas, the default theme)

--name

—

theme display name (default: derived from DIR)

tringify theme preview#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--host

127.0.0.1

specific IPv4 interface; pass this computer's LAN address to preview from another device

--port

9292

port

--preset

—

theme style preset name

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

tringify theme build#

bash
tringify theme build [DIR]

Compile src/sections// (body.html, style.css, schema.json) into sections/.vasc and update the section list in theme.json.

tringify theme check#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--mode

sealed

themecheck mode: sealed (upload rules) or development

tringify theme package#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--mode

sealed

themecheck mode: sealed (upload rules) or development

--output

—

ZIP path (default: dist/.zip)

tringify theme context#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--entity

—

product, collection, article, or page handle (default: the first in the demo pack)

--page

home

template page type

--preset

—

theme style preset name

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

--state

—

gate page state: default, ok, invalid_email, consent_required, required, incorrect, retry_later or unavailable

tringify theme contract#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

tringify theme components#

bash
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

--check

—

change nothing; fail when a section is out of date

tringify theme reference#

bash
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#

bash
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

—

store ID (required)

--storefront

—

storefront ID (default: the store's primary storefront)

tringify theme dev#

bash
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

--interval

1s

how often to look for changes

--store

—

store ID (required; use a development store)

--storefront

—

storefront ID (default: the store's primary storefront)

--theme

—

sync into this unpublished theme instead of the one theme dev added

--with-demo

—

also add the theme's demo products and collections to the store (development stores only)

tringify theme pull#

bash
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

--listing

—

theme listing ID, to download a published version instead of a store theme

--store

—

store ID

--storefront

—

storefront ID (default: the store's primary storefront)

--theme

—

theme ID (see the store admin URL, or omit to list the store's themes)

--version

—

with --listing: the version to download (default: the newest published)

tringify theme diff#

bash
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

--listing

—

theme listing ID (see tringify theme listings)

--version

—

published version to compare with (default: the newest)

tringify theme listings#

bash
tringify theme listings

List the theme listings in your developer organization.

tringify theme create#

bash
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

--name

—

listing name shown in the Theme Store

--slug

—

URL name, lowercase letters, numbers and hyphens

--support-url

—

where merchants get help

--terms-url

—

terms of use page

tringify theme update#

bash
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

—

category slug or ID (see tringify theme categories)

--description

—

listing description

--description-file

—

read the description from this file

--hero

—

the theme's own hero image (1200×1500) for the Theme Store hero

--listing

—

theme listing ID (see tringify theme listings); optional with trusted publishing

--name

—

new listing name

--oidc

—

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

—

screenshot image; repeat for each, in display order

--style-cover

—

a style's cover as STYLE=FILE, where STYLE is the preset name; repeat for each style

--style-hero

—

a style's hero image as STYLE=FILE; repeat for each style

--support-url

—

where merchants get help

--tagline

—

one-line tagline

--terms-url

—

terms of use page

tringify theme categories#

bash
tringify theme categories

List the Theme Store categories, for tringify theme update --category.

tringify theme docs#

bash
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//docs from the .md files in DIR (default ./docs), the same format as 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

--draft

—

save the draft without submitting it

--listing

—

theme listing ID (see tringify theme listings); optional with trusted publishing

--oidc

—

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#

bash
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

--listing

—

theme listing ID; optional with trusted publishing

--oidc

—

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#

bash
tringify theme submit --listing ID

Submit a listing for Theme Store review.

Flag

Default

What it does

--listing

—

theme listing ID (see tringify theme listings)

tringify theme publish#

bash
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

--breaking

—

mark the version as containing breaking changes

--install-store

—

also install the published version into this organization development store (not with trusted publishing)

--listing

—

theme listing ID (see tringify theme listings); optional with trusted publishing

--notes

—

release notes

--notes-file

—

read the release notes from this file (- for standard input), for example an annotated tag's message

--oidc

—

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

—

version to publish, for example 1.2.0; a leading v (v1.2.0, a tag name) is ignored

--yes

—

publish without showing the changes and asking first (needed when not in a terminal and with trusted publishing)

Apps#

tringify app list#

bash
tringify app list

List your organization's apps.

tringify app create#

bash
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

—

category ID (see tringify app categories)

--description

—

short description

--distribution

—

private (install links) or marketplace (App Store listing)

--handle

—

the app's handle: lowercase letters, numbers and hyphens (default: made from the name)

--json

—

print the result as JSON, for scripts and piping into a secret store

--name

—

app name

--subcategory

—

subcategory ID (see tringify app categories)

--type

—

standard or sales_channel

tringify app categories#

bash
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

--json

—

print the result as JSON

--type

—

only subcategories for this app type: standard or sales_channel

tringify app init#

bash
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

—

app ID (see tringify app list)

tringify app config pull#

bash
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/.vasc beside it. If the files exist and differ, shows what would change and asks first.

Flag

Default

What it does

--app

—

app ID (default: app_id in the file)

--file

tringify.app.json

configuration file

--yes

—

overwrite without asking

tringify app config push#

bash
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

--file

tringify.app.json

configuration file

--oidc

—

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

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

--yes

—

replace without asking (needed when not in a terminal and with trusted publishing)

tringify app config check#

bash
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

--file

tringify.app.json

configuration file

--oidc

—

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

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

tringify app block check#

bash
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

--file

tringify.app.json

configuration file

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

tringify app block context#

bash
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

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--entity

—

product, collection, article, or page handle (default: the first in the sample data)

--file

tringify.app.json

configuration file

--page

product

page type: product, collection, cart, page, account, blog or home

--preset

—

theme style preset name, with --theme

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

--theme

—

theme directory whose demo content to use (default: the built-in sample catalog)

tringify app block preview#

bash
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

--after

price

theme block type the app blocks follow in the slot; last when the slot has none

--checker

—

path to themecheck (default: TRINGIFY_THEME_CHECK, PATH, or the downloaded theme tools)

--file

tringify.app.json

configuration file

--host

127.0.0.1

specific IPv4 interface; pass this computer's LAN address to preview from another device

--page

product

page type whose app block slot shows the blocks

--port

9292

port

--preset

—

theme style preset name

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

--theme

—

theme directory (default: Canvas, the default theme)

bash
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

—

app ID (default: app_id in tringify.app.json)

--draft

—

marketplace apps: install the current draft instead of the published version

--expires

—

how long the link works, for example 7d or never; a value the API does not offer is refused with the list of choices

--file

tringify.app.json

configuration file

--store

—

only this store may use the link, for example my-store.mytringify.com

--uses

-1

how many installs the link allows; 0 for unlimited

tringify app release#

bash
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

—

app ID (default: app_id in tringify.app.json)

--bump

—

marketplace apps: patch, minor or major

--file

tringify.app.json

configuration file

--notes

—

release notes shown to stores

--notes-file

—

read the release notes from this file (- for standard input), for example an annotated tag's message

--oidc

—

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

--renderer

—

path to theme-preview-render (default: TRINGIFY_THEME_PREVIEW, PATH, or the downloaded theme tools)

--version

—

marketplace apps: release exactly this version, for example 1.2.0 or v1.2.0 (instead of --bump)

--yes

—

release without asking (needed when not in a terminal and with trusted publishing)

tringify app versions#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

tringify app listing show#

bash
tringify app listing show [--app ID]

Show the app's App Store listing.

Flag

Default

What it does

--app

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

tringify app listing update#

bash
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

—

app ID (default: app_id in tringify.app.json)

--category

—

App Store category ID (see tringify app categories)

--description

—

listing description

--description-file

—

read the description from this file

--file

tringify.app.json

configuration file

--icon

—

app icon image, 512×512

--name

—

the app's name

--screenshot

—

screenshot image; repeat for each, in display order

--short-description

—

short description

--subcategory

—

App Store subcategory ID, within --category

--support-email

—

where merchants email for help

--tagline

—

one-line tagline

tringify app privacy push#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

--file

privacy.md

markdown file

--submit

—

also submit the draft for review

tringify app privacy status#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

tringify app terms push#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

--file

terms.md

markdown file

--submit

—

also submit the draft for review

tringify app terms status#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

tringify app docs push#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

--dir

docs

folder of markdown pages

--oidc

—

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

--submit

—

also submit the draft for review

tringify app docs status#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

--oidc

—

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#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

--dir

api

folder of markdown pages

--submit

—

also submit the draft for review

tringify app api status#

bash
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

—

app ID (default: app_id in tringify.app.json)

--config

tringify.app.json

configuration file

tringify app publish#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--oidc

—

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#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

tringify app webhook rotate-key#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--json

—

print the result as JSON, for scripts and piping into a secret store

--pipe-to

—

command that stores the new secret, given on its standard input; the secret is not printed

tringify app webhook finish-rotation#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--yes

—

finish without asking

tringify app secret rotate#

bash
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

—

app ID (default: app_id in tringify.app.json)

--code

—

verification code from your authenticator app (asked for when omitted)

--file

tringify.app.json

configuration file

--json

—

print the result as JSON, for scripts and piping into a secret store

--pipe-to

—

command that stores the new secret, given on its standard input; the secret is not printed

tringify app secret finish-rotation#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--yes

—

revoke without asking

tringify app deliveries#

bash
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

—

app ID (default: app_id in tringify.app.json)

--cursor

—

continue a list where the previous page ended (printed after a page)

--data

—

list store data deliveries instead of lifecycle deliveries

--delivery

—

only the delivery with this ID

--event

—

data deliveries: only deliveries of the event with this ID

--event-type

—

only deliveries of this event type

--file

tringify.app.json

configuration file

--limit

20

how many to list per page (at most 100)

--status

—

only deliveries with this status, such as failed, retrying or delivered

--store

—

only deliveries to this store: its ID, its domain, or part of its name

tringify app retire#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--json

—

print the platform's answer as JSON and open nothing

tringify app delete#

bash
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

—

app ID (default: app_id in tringify.app.json)

--file

tringify.app.json

configuration file

--json

—

print the platform's answer as JSON and open nothing

Merchant support#

tringify support cases list#

bash
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

--app

—

only cases about this app

--assignee

—

me, unassigned, or a member's account ID

--json

—

print the result as JSON

--limit

25

cases per page: 25, 50 or 100

--page

1

page number

--search

—

match the subject, store name or case number

--status

needs_reply

needs_reply, waiting_for_merchant, with_tringify, solved, closed, active or all

--store

—

only cases from this store ID

--theme

—

only cases about this theme (its Theme Store listing ID)

tringify support cases get#

bash
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

--json

—

print the result as JSON

tringify support cases reply#

bash
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

--message

—

the text

--message-file

—

read the text from this file (- for standard input)

--solve

—

mark the case solved with this reply

tringify support cases note#

bash
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

--message

—

the text

--message-file

—

read the text from this file (- for standard input)

tringify support cases solve#

bash
tringify support cases solve CASE

Mark the case solved. The merchant can open it again within 7 days.

tringify support cases reopen#

bash
tringify support cases reopen CASE

Open a case solved in the last 7 days again.

tringify support cases assign#

bash
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

--to

—

a member's account ID, me, or none

tringify support settings get#

bash
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

--json

—

print the result as JSON

Development stores#

tringify store list#

bash
tringify store list

List your organization's development stores.

tringify store create#

bash
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

--billing-currency

—

organization billing currency (default: the only one offered)

--country

—

store country, for example IN or GB (required)

--currency

—

store currency, for example INR (required)

--name

—

store name (required)

--subdomain

—

store address, SUB.mytringify.com (default: from the name)

--timezone

—

store time zone, for example Asia/Kolkata (default: this computer's time zone)