From 3776c119fbb27028f42ac11d923aa8fd4963da93 Mon Sep 17 00:00:00 2001 From: Oli Yu Date: Tue, 10 Dec 2024 13:29:03 -0600 Subject: [PATCH] PIPE-155 Add prefix to Pipelines naming --- src/content/docs/workers/wrangler/commands.mdx | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/src/content/docs/workers/wrangler/commands.mdx b/src/content/docs/workers/wrangler/commands.mdx index 2b18a1e9a2517a..d9c8e8f0065fb7 100644 --- a/src/content/docs/workers/wrangler/commands.mdx +++ b/src/content/docs/workers/wrangler/commands.mdx @@ -2041,17 +2041,19 @@ wrangler pipelines create --r2 [OPTIONS] - The maximum duration of a batch before data is written, in seconds. Default 15s. Maximum of 600s. - `--compression` string optional - Type of compression to apply to output files. Choices: "none", "gzip", "deflate" +- `--prefix` string optional + - Optional base path to store files in the destination bucket. - `--filepath` string optional - - The path to store files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}` + - The path to store partitioned files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}` - `--filename` string optional - - The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}-${hr}.json` + - The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}${extension}` ### `update` Update an existing pipeline ```txt -wrangler pipelines create [OPTIONS] +wrangler pipelines update [OPTIONS] ``` - `name` string required @@ -2066,10 +2068,12 @@ wrangler pipelines create [OPTIONS] - The maximum duration of a batch before data is written, in seconds. Default 15s. Maximum of 600s. - `--compression` string optional - Type of compression to apply to output files. Choices: "none", "gzip", "deflate" +- `--prefix` string optional + - Optional base path to store files in the destination bucket. - `--filepath` string optional - - The path to store files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}` + - The path to store partitioned files in the destination bucket. Defaults to `event_date=${date}/hr=${hr}` - `--filename` string optional - - The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}-${hr}.json` + - The name of the file in the bucket. Must contain `${slug}`. File extension is optional. Defaults to `${slug}${extension}` ### `delete`