Skip to content

CLI reference

ry preview

Markdown

One preview address per branch - opened by a push, closed by itself.

ry preview [options] [command]

Show the previews of an app and when each one expires.

ry preview list [options] [app]

Arguments:

  • [app]: The app (default: “app” from rytiv.json in this directory or above).

Example:

ry preview list web

Open a preview for a branch without waiting for a push.

ry preview create [options] [app]

Arguments:

  • [app]: The app (default: “app” from rytiv.json in this directory or above).

Options:

  • --branch <branch>: The branch this preview follows.

Example:

ry preview create web --branch feature/login

Close a preview now instead of waiting for the branch to go.

ry preview destroy [options] <app> <branch>

Options:

  • -y, --yes: Skip confirmation (required for automation).

Example:

ry preview destroy web feature/login