@webflow/webflow-cli 2.4.0 → 2.5.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -470,12 +470,39 @@ naming it directly is refused. `--force` opts in to removing those too.
470
470
 
471
471
  Available on all commands:
472
472
 
473
- | Flag | Description |
474
- | --------------------- | -------------------------------------------------- |
475
- | `--no-input` | Disable interactive prompts (for CI/CD) |
476
- | `--manifest <path>` | Path to `webflow.json` (default: `./webflow.json`) |
477
- | `--skip-update-check` | Skip checking for package updates |
478
- | `--verbose` | Show detailed output |
473
+ | Flag | Description |
474
+ | --------------------- | ------------------------------------------------------------------------------------------------------- |
475
+ | `--no-input` | Disable interactive prompts (for CI/CD) |
476
+ | `--manifest <path>` | Path to `webflow.json` (default: `./webflow.json`) |
477
+ | `--skip-update-check` | Skip checking for package updates |
478
+ | `--verbose` | Show detailed output |
479
+ | `--region <us\|eu>` | Webflow region to target. See [Region targeting](#region-targeting) below. Beta (`@next`) only for now. |
480
+
481
+ ### Region targeting
482
+
483
+ US and EU are fully isolated Webflow stacks with separate accounts — the
484
+ region in force decides which hosts and OAuth application every command uses.
485
+ Resolved in this order, highest priority first:
486
+
487
+ 1. `--region <us|eu>` flag
488
+ 2. `WEBFLOW_REGION` environment variable (the CI/CD equivalent of the flag)
489
+ 3. `region` field in `webflow.json`
490
+ 4. `us` (default)
491
+
492
+ ```json
493
+ {
494
+ "region": "eu"
495
+ }
496
+ ```
497
+
498
+ `webflow auth status` shows the active region and which regions have a stored
499
+ session. `webflow auth login` authenticates against the active region's OAuth
500
+ application, and `webflow auth logout --all` clears every stored region at
501
+ once.
502
+
503
+ This is currently gated to `@next` (beta) and local development builds — EU
504
+ targeting isn't announced yet. `webflow --region eu ...` on a stable install
505
+ returns "unknown option."
479
506
 
480
507
  ---
481
508