@@ -44,9 +44,7 @@ describe("wrangler", () => {
44
44
wrangler delete [script] 🗑 Delete your Worker from Cloudflare.
45
45
wrangler tail [worker] 🦚 Starts a log tailing session for a published Worker.
46
46
wrangler secret 🤫 Generate a secret that can be referenced in a Worker
47
- wrangler kv:namespace 🗂️ Interact with your Workers KV Namespaces
48
- wrangler kv:key 🔑 Individually manage Workers KV key-value pairs
49
- wrangler kv:bulk 💪 Interact with multiple Workers KV key-value pairs at once
47
+ wrangler kv 🗂️ Interact with your Workers KV Namespaces
50
48
wrangler pages ⚡️ Configure Cloudflare Pages
51
49
wrangler queues 🇶 Configure Workers Queues
52
50
wrangler r2 📦 Interact with an R2 store
@@ -97,9 +95,7 @@ describe("wrangler", () => {
97
95
wrangler delete [script] 🗑 Delete your Worker from Cloudflare.
98
96
wrangler tail [worker] 🦚 Starts a log tailing session for a published Worker.
99
97
wrangler secret 🤫 Generate a secret that can be referenced in a Worker
100
- wrangler kv:namespace 🗂️ Interact with your Workers KV Namespaces
101
- wrangler kv:key 🔑 Individually manage Workers KV key-value pairs
102
- wrangler kv:bulk 💪 Interact with multiple Workers KV key-value pairs at once
98
+ wrangler kv 🗂️ Interact with your Workers KV Namespaces
103
99
wrangler pages ⚡️ Configure Cloudflare Pages
104
100
wrangler queues 🇶 Configure Workers Queues
105
101
wrangler r2 📦 Interact with an R2 store
@@ -175,70 +171,70 @@ describe("wrangler", () => {
175
171
` ) ;
176
172
} ) ;
177
173
178
- it ( "no subcommand 'kv: namespace' should display a list of available subcommands" , async ( ) => {
179
- await runWrangler ( "kv: namespace" ) ;
174
+ it ( "no subcommand 'kv namespace' should display a list of available subcommands" , async ( ) => {
175
+ await runWrangler ( "kv namespace" ) ;
180
176
await endEventLoop ( ) ;
181
177
expect ( std . out ) . toMatchInlineSnapshot ( `
182
- "wrangler kv: namespace
178
+ "wrangler kv namespace
183
179
184
- 🗂️ Interact with your Workers KV Namespaces
180
+ 🗂️ Interact with your Workers KV Namespaces
185
181
186
- Commands:
187
- wrangler kv: namespace create <namespace> Create a new namespace
188
- wrangler kv: namespace list Outputs a list of all KV namespaces associated with your account id.
189
- wrangler kv: namespace delete Deletes a given namespace.
182
+ Commands:
183
+ wrangler kv namespace create <namespace> Create a new namespace
184
+ wrangler kv namespace list Outputs a list of all KV namespaces associated with your account id.
185
+ wrangler kv namespace delete Deletes a given namespace.
190
186
191
- Flags:
192
- -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
193
- -c, --config Path to .toml configuration file [string]
194
- -e, --env Environment to use for operations and .env files [string]
195
- -h, --help Show help [boolean]
196
- -v, --version Show version number [boolean]"
197
- ` ) ;
187
+ Flags:
188
+ -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
189
+ -c, --config Path to .toml configuration file [string]
190
+ -e, --env Environment to use for operations and .env files [string]
191
+ -h, --help Show help [boolean]
192
+ -v, --version Show version number [boolean]"
193
+ ` ) ;
198
194
} ) ;
199
195
200
- it ( "no subcommand 'kv: key' should display a list of available subcommands" , async ( ) => {
201
- await runWrangler ( "kv: key" ) ;
196
+ it ( "no subcommand 'kv key' should display a list of available subcommands" , async ( ) => {
197
+ await runWrangler ( "kv key" ) ;
202
198
await endEventLoop ( ) ;
203
199
expect ( std . out ) . toMatchInlineSnapshot ( `
204
- "wrangler kv: key
200
+ "wrangler kv key
205
201
206
- 🔑 Individually manage Workers KV key-value pairs
202
+ 🔑 Individually manage Workers KV key-value pairs
207
203
208
- Commands:
209
- wrangler kv: key put <key> [value] Writes a single key/value pair to the given namespace.
210
- wrangler kv: key list Outputs a list of all keys in a given namespace.
211
- wrangler kv: key get <key> Reads a single value by key from the given namespace.
212
- wrangler kv: key delete <key> Removes a single key value pair from the given namespace.
204
+ Commands:
205
+ wrangler kv key put <key> [value] Writes a single key/value pair to the given namespace.
206
+ wrangler kv key list Outputs a list of all keys in a given namespace.
207
+ wrangler kv key get <key> Reads a single value by key from the given namespace.
208
+ wrangler kv key delete <key> Removes a single key value pair from the given namespace.
213
209
214
- Flags:
215
- -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
216
- -c, --config Path to .toml configuration file [string]
217
- -e, --env Environment to use for operations and .env files [string]
218
- -h, --help Show help [boolean]
219
- -v, --version Show version number [boolean]"
220
- ` ) ;
210
+ Flags:
211
+ -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
212
+ -c, --config Path to .toml configuration file [string]
213
+ -e, --env Environment to use for operations and .env files [string]
214
+ -h, --help Show help [boolean]
215
+ -v, --version Show version number [boolean]"
216
+ ` ) ;
221
217
} ) ;
222
218
223
- it ( "no subcommand 'kv: bulk' should display a list of available subcommands" , async ( ) => {
224
- await runWrangler ( "kv: bulk" ) ;
219
+ it ( "no subcommand 'kv bulk' should display a list of available subcommands" , async ( ) => {
220
+ await runWrangler ( "kv bulk" ) ;
225
221
await endEventLoop ( ) ;
226
222
expect ( std . out ) . toMatchInlineSnapshot ( `
227
- "wrangler kv: bulk
223
+ "wrangler kv bulk
228
224
229
- 💪 Interact with multiple Workers KV key-value pairs at once
225
+ 💪 Interact with multiple Workers KV key-value pairs at once
230
226
231
- Commands:
232
- wrangler kv: bulk put <filename> Upload multiple key-value pairs to a namespace
233
- wrangler kv: bulk delete <filename> Delete multiple key-value pairs from a namespace
227
+ Commands:
228
+ wrangler kv bulk put <filename> Upload multiple key-value pairs to a namespace
229
+ wrangler kv bulk delete <filename> Delete multiple key-value pairs from a namespace
234
230
235
- Flags:
236
- -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
237
- -c, --config Path to .toml configuration file [string]
238
- -e, --env Environment to use for operations and .env files [string]
239
- -h, --help Show help [boolean]
240
- -v, --version Show version number [boolean]"
241
- ` ) ;
231
+ Flags:
232
+ -j, --experimental-json-config Experimental: Support wrangler.json [boolean]
233
+ -c, --config Path to .toml configuration file [string]
234
+ -e, --env Environment to use for operations and .env files [string]
235
+ -h, --help Show help [boolean]
236
+ -v, --version Show version number [boolean]"
237
+ ` ) ;
242
238
} ) ;
243
239
244
240
it ( "no subcommand 'r2' should display a list of available subcommands" , async ( ) => {
0 commit comments