You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add options to update pipelines to remove CORS (#8829)
* Add options to update pipelines to remove CORS
* Update some help text for consistency
Co-authored-by: Pranshu Maheshwari <[email protected]>
---------
Co-authored-by: Pranshu Maheshwari <[email protected]>
wrangler pipelines create <pipeline> Create a new Pipeline
281
-
wrangler pipelines list List current Pipelines
282
-
wrangler pipelines get <pipeline> Get a Pipeline configuration
283
-
wrangler pipelines update <pipeline> Update a Pipeline
284
-
wrangler pipelines delete <pipeline> Delete a Pipeline
280
+
wrangler pipelines create <pipeline> Create a new pipeline
281
+
wrangler pipelines list List all pipelines
282
+
wrangler pipelines get <pipeline> Get a pipeline's configuration
283
+
wrangler pipelines update <pipeline> Update a pipeline
284
+
wrangler pipelines delete <pipeline> Delete a pipeline
285
285
286
286
GLOBAL FLAGS
287
287
-c, --config Path to Wrangler configuration file [string]
@@ -301,7 +301,7 @@ describe("pipelines", () => {
301
301
expect(std.out).toMatchInlineSnapshot(`
302
302
"wrangler pipelines create <pipeline>
303
303
304
-
Create a new Pipeline
304
+
Create a new pipeline
305
305
306
306
POSITIONALS
307
307
pipeline The name of the new pipeline [string] [required]
@@ -324,7 +324,7 @@ describe("pipelines", () => {
324
324
--compression Compression format for output files [string] [choices: \\"none\\", \\"gzip\\", \\"deflate\\"] [default: \\"gzip\\"]
325
325
326
326
Pipeline settings
327
-
--shard-count Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15 [number]
327
+
--shard-count Number of shards for the pipeline. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15 [number]
328
328
329
329
GLOBAL FLAGS
330
330
-c, --config Path to Wrangler configuration file [string]
@@ -342,8 +342,8 @@ describe("pipelines", () => {
342
342
);
343
343
expect(requests.count).toEqual(1);
344
344
expect(std.out).toMatchInlineSnapshot(`
345
-
"🌀 Creating Pipeline named \\"my-pipeline\\"
346
-
✅ Successfully created Pipeline \\"my-pipeline\\" with ID 0001
345
+
"🌀 Creating pipeline named \\"my-pipeline\\"
346
+
✅ Successfully created pipeline \\"my-pipeline\\" with ID 0001
347
347
348
348
Id: 0001
349
349
Name: my-pipeline
@@ -364,7 +364,7 @@ describe("pipelines", () => {
364
364
Max duration: 300 seconds
365
365
Max records: 10,000,000
366
366
367
-
🎉 You can now send data to your Pipeline!
367
+
🎉 You can now send data to your pipeline!
368
368
369
369
To send data to your pipeline from a Worker, add the following to your wrangler config file:
Copy file name to clipboardExpand all lines: packages/wrangler/src/pipelines/cli/create.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -161,7 +161,7 @@ export function addCreateOptions(yargs: Argv<CommonYargsOptions>) {
161
161
.option("shard-count",{
162
162
type: "number",
163
163
describe:
164
-
"Number of pipeline shards. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15",
164
+
"Number of shards for the pipeline. More shards handle higher request volume; fewer shards produce larger output files. Defaults to 2 if unset. Minimum: 1, Maximum: 15",
165
165
demandOption: false,
166
166
})
167
167
);
@@ -277,14 +277,14 @@ export async function createPipelineHandler(
277
277
pipelineConfig.metadata.shards=args.shardCount;
278
278
}
279
279
280
-
logger.log(`🌀 Creating Pipeline named "${name}"`);
280
+
logger.log(`🌀 Creating pipeline named "${name}"`);
0 commit comments