Skip to content

Command reference

All commands run from your app's directory. Commands that read the app config accept --config <env> (-c) to use youcan.app.<env>.json instead of youcan.app.json, see linked configs.

Development

CommandDescription
youcan app devRun the app in dev mode: tunnel, dev store subscriptions, and live extension sync. --no-tunnel uses localhost directly.
youcan app installOpen the installation page for your dev store.
youcan app generate extensionScaffold a new extension.

Deployment

CommandDescription
youcan app deployValidate, create a version, and release it to every installed store. --message (-m) describes the version, --version names it, --no-release creates it without releasing, --force (-f) skips the safety prompts.
youcan app versionsList the app's versions and mark the active one.
youcan app release --version <v>Release a specific version by number or name, including an older one, to roll back.

Configuration

CommandDescription
youcan app config link <env>Create youcan.app.<env>.json linked to one of your apps.
youcan app config pullUpdate the config file from the active released version.
youcan app env showPrint the app's environment variables, including its API credentials.
youcan app env pullWrite those variables to an env file. --env-file <path> picks the file, .env by default.