-
Notifications
You must be signed in to change notification settings - Fork 762
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor pipelines commands into separate files, rename some options
**Pipelines is currently in closed beta, renaming these without providing aliases _should_ have no impact** Moving each of the subcommand handlers and options for each subcommand into its own file. This also renames many of the parameters to be more specific. The following parameters have been renamed: | Previous Name | New Name | | ---- | ---- | | access-key-id | r2-access-key-id | | secret-access-key | r2-secret-access-key | | transform | transform-worker | | r2 | r2-bucket | | prefix | r2-prefix | | binding | enable-worker-binding | | http | enable-http | | authentication | require-http-auth | | filename | file-template | | filepath | partition-template | Adds the following new option for `create` and `update` commands: ``` --cors-origins CORS origin allowlist for HTTP endpoint (use * for any origin) [array] ``` Closes https://jira.cfdata.org/browse/PIPE-160.
- Loading branch information
1 parent
19228e5
commit e7987d4
Showing
10 changed files
with
845 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
--- | ||
"wrangler": minor | ||
--- | ||
|
||
Rename wrangler pipelines <create|update> flags, add `--cors-origins` flag | ||
|
||
The following parameters have been renamed: | ||
|
||
| Previous Name | New Name | | ||
| ----------------- | --------------------- | | ||
| access-key-id | r2-access-key-id | | ||
| secret-access-key | r2-secret-access-key | | ||
| transform | transform-worker | | ||
| r2 | r2-bucket | | ||
| prefix | r2-prefix | | ||
| binding | enable-worker-binding | | ||
| http | enable-http | | ||
| authentication | require-http-auth | | ||
| filename | file-template | | ||
| filepath | partition-template | | ||
|
||
Adds the following new option for `create` and `update` commands: | ||
|
||
``` | ||
--cors-origins CORS origin allowlist for HTTP endpoint (use * for any origin) [array] | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.