Skip to content

Commit

Permalink
[Workers] Update wrangler global flags
Browse files Browse the repository at this point in the history
This commit updates the global falgs section of wrangler
commands, by specifying that `--experimental-json-config`
now supports `wrangler.jsonc` files as well.
  • Loading branch information
CarmenPopoviciu committed Jul 24, 2024
1 parent fdc999f commit dbef209
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions content/workers/wrangler/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ The following global flags work on every command, with some exceptions for `page
- `--config` {{<type>}}string{{</type>}} {{<prop-meta>}}(not supported by Pages){{</prop-meta>}}
- Path to `.toml` configuration file.
- `--experimental-json-config` {{<type>}}boolean{{</type>}} {{<prop-meta>}}(not supported by Pages){{</prop-meta>}}
- ⚠️ This is an experimental command. Read configuration from a `wrangler.json` file, instead of `wrangler.toml`. `wrangler.json` is a [JSONC](https://code.visualstudio.com/docs/languages/json#_json-with-comments) file.
- ⚠️ This is an experimental command. Read configuration from a `wrangler.json` or `wrangler.jsonc` file, instead of `wrangler.toml`. `wrangler.json` is a [JSONC](https://code.visualstudio.com/docs/languages/json#_json-with-comments) file.

{{</definitions>}}

Expand Down Expand Up @@ -1683,7 +1683,7 @@ wrangler r2 object delete <OBJECT_PATH> [OPTIONS]
## `secret`
Manage the secret variables for a Worker.
Manage the secret variables for a Worker.
This action creates a new [version](/workers/configuration/versions-and-deployments/#versions) of the Worker and [deploys](/workers/configuration/versions-and-deployments/#deployments) it immediately. To only create a new version of the Worker, use the [`wrangler versions secret`](/workers/wrangler/commands/#secret-put) commands.
Expand Down

0 comments on commit dbef209

Please sign in to comment.