From 51ce611518eba88459ed84b7fb9f09b6ea5b0487 Mon Sep 17 00:00:00 2001
From: Oliver Yu <387030+oliy@users.noreply.github.com>
Date: Tue, 10 Dec 2024 13:57:07 -0600
Subject: [PATCH] PIPE-155 Add prefix to Pipelines naming (#18656)

---
 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 <name> --r2 <r2-bucket-name> [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 <name> [OPTIONS]
+wrangler pipelines update <name> [OPTIONS]
 ```
 
 - `name` string required
@@ -2066,10 +2068,12 @@ wrangler pipelines create <name> [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`