flitz tracks
List an app's tracks, each with its newest build and its track link, and archive or unarchive a track; --app, --limit, --archived, and --json.
flitz tracks lists one app's tracks and the link that always opens each
track's newest build. A track is usually a Git branch — see
Apps and tracks.
flitz tracks # the current project's app
flitz tracks --app acme_appfeature-login feature/login 2026-09-28 14:02 1.4.0+12 https://…/acme_app/feature-login
main 2026-09-27 17:45 1.4.0+11 https://…/acme_app/main
5e0c2a9b71d4 Unassigned no publish yet https://…/acme_app/5e0c2a9b71d4One line per track, the one with the newest build first: the track key, its
name when it differs from the key, when its newest complete build started and
its version (or no publish yet), and the track link. The link always opens
the newest complete build, so it is the one to share. Unassigned holds the
publishes made without a branch. When more tracks exist than it listed, it
says so on stderr.
| Command | What it does |
|---|---|
flitz tracks | List the app's tracks. |
flitz tracks archive <track> | Hide a finished track from the listing. |
flitz tracks unarchive <track> | Bring it back. |
Flags
tracks accepts the global options, including
--json, plus these:
| Flag | Default | Purpose |
|---|---|---|
--app <key> | app: in flitz.yaml, else the pubspec name | The app whose tracks to list. |
--limit <n> | 20 | How many to list, from 1 to 200. |
--archived | — | Include archived tracks. Each shows archived before its link. |
An app with no tracks prints No tracks yet. on stderr.
--json
--json prints { "fallbackTrackKey": "…", "tracks": [ … ] }.
fallbackTrackKey is the key of the app's Unassigned track. Each track
carries key, name, trackUrl, state (live or archived), and
latest — its newest complete build, shaped like a
publishes --json entry — when it has one.
Archive a track
flitz tracks archive feature/login
flitz tracks unarchive feature/loginBoth commands, and the --archived flag, are available in CLI 0.6.2 and
later; flitz --version prints yours.
Archive a track when its line of work ends, such as a merged or closed branch.
An archived track leaves the flitz tracks listing, unless you pass
--archived, the app's page in the portal, and the panel's list of
tracks. Nothing else changes: its track link and every publish's own links keep working, and its
publishes stay in flitz publishes. unarchive brings it
back into the listing, and so does the next publish to it.
Each command takes one track, by key or by branch name — feature/login names
the track feature-login — and the app from --app, else from the current
project, as the listing does. It prints the track's line:
feature-login feature/login 2026-09-28 14:02 1.4.0+12 archived https://…/acme_app/feature-loginArchiving an archived track, or unarchiving a live one, changes nothing and
succeeds. The app's Unassigned track cannot be archived. Both commands work
under FLITZ_APIKEY, so a CI job can archive a branch's track
when its pull request closes — see
GitHub Actions.
Errors
| You see | Code | Meaning |
|---|---|---|
no app named → pass --app <key> | 1 | No --app, and the current directory has neither app: in flitz.yaml nor a pubspec.yaml name: to take the app from. |
app <key> does not exist → run flitz apps list | 1 | The key names no live or archived app. |
track <app>/<track> does not exist → run flitz tracks --app <app> --archived | 1 | archive or unarchive named a track the app does not have. A branch that never published has no track. |
track <track> is the fallback track of app <app>, …; it cannot be archived | 1 | The Unassigned track holds the publishes made without a branch, and always stays. |
name exactly one track, by track key or branch name | 1 | archive or unarchive got no track, or more than one. |
tracks and its two subcommands work for any member of the organization and
for a CI job with FLITZ_APIKEY. They need an active
organization license; while it is inactive they fail with exit 3.