Install or update with npm install -g https://dashboard.flitzy.app/flitzy-cli.tgz. Without --name, the app name comes from flitzy.json or the folder name.
| Command |
|
flitzy login --token <token> |
Save the token in ~/.config/flitzy/config.json (mode 600). |
flitzy whoami |
Account or organization, role, plan, tokens, usage and limits. |
flitzy billing |
Plan (Free or Pro), usage and limits. |
flitzy billing upgrade [--no-open] |
Open Stripe Checkout to upgrade to Pro. |
flitzy billing portal [--no-open] |
Open the Stripe customer portal: invoices, payment method, cancel. |
flitzy billing connect [--no-open] |
Connect your Stripe account to sell in your apps. |
flitzy billing status [--app a] |
Your Stripe account, or what an app sells and to how many customers. |
flitzy billing enable --app a --price 9.99 [--interval month|year|once] [--currency eur] |
Sell access to an app. |
flitzy billing disable --app a |
Stop selling; paying customers keep access. |
flitzy billing dashboard |
Your Stripe dashboard: payouts, customers, refunds. |
flitzy token create [--name n] [--days n] |
A new token, shown once. |
flitzy token revoke <token-id> |
|
flitzy team tokens |
Every token of the organization (organization admins). |
flitzy team revoke <token-id> |
Revoke a member’s token (organization admins). |
| Command |
|
flitzy deploy [dir] |
Build and deploy. Options below. |
flitzy ls |
Your apps. |
flitzy status <name> [--json] |
Health, crash reason, CPU and memory, pods, warnings, last deploys. |
flitzy logs <name> [--tail n] |
Recent output. |
flitzy logs <name> -f [--tail n] [-t] |
Follow live; -t adds timestamps. |
flitzy history <name> [--limit n] |
Past deploys. |
flitzy history <name> <deploy-id> |
Full build and rollout log of one deploy. |
flitzy env <name> |
Variable names. |
flitzy env <name> K=V … [--unset K …] |
Set and remove variables; restarts the app. |
flitzy access <name> [private|public] |
Who can open the app: everyone, or only your team. |
flitzy volume rm <name> --yes |
Delete the volume and its data. |
flitzy rm <name> --yes |
Delete the app. |
flitzy audit [name] [--action a] [--limit n] [--json] |
Activity log. |
| Option |
|
--name <name> |
App name and subdomain. |
--port <port> |
Port, if the app ignores $PORT. |
--env K=V |
Set a variable before deploying; repeatable. |
--volume |
Add a 2 GB volume at /data. |
--private / --public |
Only your team can open the app (private apps), or everyone again. |
--link-db <db> |
Link a managed database; repeatable. |
--volume and --link-db are saved in flitzy.json.
| Command |
|
flitzy db create <db> --type postgres|redis |
Create a database. |
flitzy db list |
Status, linked apps. |
flitzy db link <db> <app> [--env NAME] |
Put the connection string into the app; restarts it. |
flitzy db unlink <db> <app> |
|
flitzy db url <db> |
Full connection string (recorded in the activity log). |
flitzy db delete <db> --yes |
Delete with all data. |
| Variable |
|
FLITZY_TOKEN |
Use this token instead of the saved one. |
FLITZY_URL |
Another API than https://api.flitzy.app. |