Skip to content

Commit 6b28de1

Browse files
Fix colouration and copy for beta status (#11641)
* fix colour of open-beta command status * remove space between open-beta and private-beta * add changeset * add missing space * post review fixups
1 parent 6c590a0 commit 6b28de1

39 files changed

+99
-94
lines changed

.changeset/hip-cows-sink.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"wrangler": patch
3+
---
4+
5+
update command status text and formatting

packages/wrangler/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Errors are caught at the top-level and formatted for the console.
137137

138138
### Status / Deprecation
139139

140-
Status can be alpha, private-beta, open-beta, or stable. Breaking changes can freely be made in alpha or private-beta. Try avoid breaking changes in open-beta but are acceptable and should be called out in [a changeset](../../CONTRIBUTING.md#Changesets).
140+
Status can be alpha, "private beta", "open beta", or stable. Breaking changes can freely be made in alpha or "private beta". Try avoid breaking changes in "open beta" but are acceptable and should be called out in [a changeset](../../CONTRIBUTING.md#Changesets).
141141

142142
Stable commands should never have breaking changes.
143143

packages/wrangler/src/__tests__/cert.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,10 +477,10 @@ describe("wrangler", () => {
477477
expect(std.out).toMatchInlineSnapshot(`
478478
"wrangler cert
479479
480-
🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open-beta]
480+
🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open beta]
481481
482482
COMMANDS
483-
wrangler cert upload Upload a new cert [open-beta]
483+
wrangler cert upload Upload a new cert [open beta]
484484
wrangler cert list List uploaded mTLS certificates
485485
wrangler cert delete Delete an mTLS certificate
486486

packages/wrangler/src/__tests__/containers/registries.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ describe("containers registries configure", () => {
3434
expect(std.out).toMatchInlineSnapshot(`
3535
"wrangler containers
3636
37-
📦 Manage Containers [open-beta]
37+
📦 Manage Containers [open beta]
3838
3939
COMMANDS
4040
wrangler containers build PATH Build a container image

packages/wrangler/src/__tests__/experimental-commands-api.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ describe("experimental_getWranglerCommands", () => {
121121
expect([
122122
"experimental",
123123
"alpha",
124-
"private-beta",
125-
"open-beta",
124+
"private beta",
125+
"open beta",
126126
"stable",
127127
]).toContain(metadata.status);
128128
}

packages/wrangler/src/__tests__/index.test.ts

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -57,17 +57,17 @@ describe("wrangler", () => {
5757
wrangler d1 🗄 Manage Workers D1 databases
5858
wrangler vectorize 🧮 Manage Vectorize indexes
5959
wrangler hyperdrive 🚀 Manage Hyperdrive databases
60-
wrangler cert 🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open-beta]
60+
wrangler cert 🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open beta]
6161
wrangler pages ⚡️ Configure Cloudflare Pages
6262
wrangler mtls-certificate 🪪 Manage certificates used for mTLS connections
63-
wrangler containers 📦 Manage Containers [open-beta]
63+
wrangler containers 📦 Manage Containers [open beta]
6464
wrangler pubsub 📮 Manage Pub/Sub brokers [private beta]
6565
wrangler dispatch-namespace 🏗️ Manage dispatch namespaces
6666
wrangler ai 🤖 Manage AI models
67-
wrangler secrets-store 🔐 Manage the Secrets Store [open-beta]
67+
wrangler secrets-store 🔐 Manage the Secrets Store [open beta]
6868
wrangler workflows 🔁 Manage Workflows
69-
wrangler pipelines 🚰 Manage Cloudflare Pipelines [open-beta]
70-
wrangler vpc 🌐 Manage VPC [open-beta]
69+
wrangler pipelines 🚰 Manage Cloudflare Pipelines [open beta]
70+
wrangler vpc 🌐 Manage VPC [open beta]
7171
wrangler login 🔓 Login to Cloudflare
7272
wrangler logout 🚪 Logout from Cloudflare
7373
wrangler whoami 🕵️ Retrieve your user information
@@ -121,17 +121,17 @@ describe("wrangler", () => {
121121
wrangler d1 🗄 Manage Workers D1 databases
122122
wrangler vectorize 🧮 Manage Vectorize indexes
123123
wrangler hyperdrive 🚀 Manage Hyperdrive databases
124-
wrangler cert 🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open-beta]
124+
wrangler cert 🪪 Manage client mTLS certificates and CA certificate chains used for secured connections [open beta]
125125
wrangler pages ⚡️ Configure Cloudflare Pages
126126
wrangler mtls-certificate 🪪 Manage certificates used for mTLS connections
127-
wrangler containers 📦 Manage Containers [open-beta]
127+
wrangler containers 📦 Manage Containers [open beta]
128128
wrangler pubsub 📮 Manage Pub/Sub brokers [private beta]
129129
wrangler dispatch-namespace 🏗️ Manage dispatch namespaces
130130
wrangler ai 🤖 Manage AI models
131-
wrangler secrets-store 🔐 Manage the Secrets Store [open-beta]
131+
wrangler secrets-store 🔐 Manage the Secrets Store [open beta]
132132
wrangler workflows 🔁 Manage Workflows
133-
wrangler pipelines 🚰 Manage Cloudflare Pipelines [open-beta]
134-
wrangler vpc 🌐 Manage VPC [open-beta]
133+
wrangler pipelines 🚰 Manage Cloudflare Pipelines [open beta]
134+
wrangler vpc 🌐 Manage VPC [open beta]
135135
wrangler login 🔓 Login to Cloudflare
136136
wrangler logout 🚪 Logout from Cloudflare
137137
wrangler whoami 🕵️ Retrieve your user information
@@ -275,7 +275,7 @@ describe("wrangler", () => {
275275
Interact with multiple Workers KV key-value pairs at once
276276
277277
COMMANDS
278-
wrangler kv bulk get <filename> Gets multiple key-value pairs from a namespace [open-beta]
278+
wrangler kv bulk get <filename> Gets multiple key-value pairs from a namespace [open beta]
279279
wrangler kv bulk put <filename> Upload multiple key-value pairs to a namespace
280280
wrangler kv bulk delete <filename> Delete multiple key-value pairs from a namespace
281281
@@ -300,7 +300,7 @@ describe("wrangler", () => {
300300
COMMANDS
301301
wrangler r2 object Manage R2 objects
302302
wrangler r2 bucket Manage R2 buckets
303-
wrangler r2 sql Send queries and manage R2 SQL [open-beta]
303+
wrangler r2 sql Send queries and manage R2 SQL [open beta]
304304
305305
GLOBAL FLAGS
306306
-c, --config Path to Wrangler configuration file [string]

packages/wrangler/src/__tests__/kv/bulk.test.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ describe("kv", () => {
587587
Success!"
588588
`);
589589
expect(std.warn).toMatchInlineSnapshot(`
590-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
590+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
591591
592592
"
593593
`);
@@ -614,7 +614,7 @@ describe("kv", () => {
614614
Success!"
615615
`);
616616
expect(std.warn).toMatchInlineSnapshot(`
617-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
617+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
618618
619619
"
620620
`);
@@ -635,7 +635,7 @@ describe("kv", () => {
635635
`);
636636
expect(std.out).toMatchInlineSnapshot(`""`);
637637
expect(std.warn).toMatchInlineSnapshot(`
638-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
638+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
639639
640640
"
641641
`);
@@ -657,7 +657,7 @@ describe("kv", () => {
657657
`);
658658
expect(std.out).toMatchInlineSnapshot(`""`);
659659
expect(std.warn).toMatchInlineSnapshot(`
660-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
660+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler kv bulk get\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
661661
662662
"
663663
`);

packages/wrangler/src/__tests__/pipelines.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -510,7 +510,7 @@ describe("wrangler pipelines", () => {
510510

511511
expect(std.err).toMatchInlineSnapshot(`""`);
512512
expect(std.warn).toMatchInlineSnapshot(`
513-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines list\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
513+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines list\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
514514
515515
516516
▲ [WARNING] ⚠️ You have legacy pipelines. Consider creating new pipelines by running 'wrangler pipelines setup'.
@@ -709,7 +709,7 @@ describe("wrangler pipelines", () => {
709709

710710
expect(std.err).toMatchInlineSnapshot(`""`);
711711
expect(std.warn).toMatchInlineSnapshot(`
712-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines get\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
712+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines get\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
713713
714714
715715
▲ [WARNING] ⚠️ This is a legacy pipeline. Consider creating a new pipeline by running 'wrangler pipelines setup'.
@@ -1034,7 +1034,7 @@ describe("wrangler pipelines", () => {
10341034

10351035
expect(std.err).toMatchInlineSnapshot(`""`);
10361036
expect(std.warn).toMatchInlineSnapshot(`
1037-
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines update\` is an open-beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
1037+
"[33m▲ [43;33m[[43;30mWARNING[43;33m][0m [1m🚧 \`wrangler pipelines update\` is an open beta command. Please report any issues to https://github.com/cloudflare/workers-sdk/issues/new/choose[0m
10381038
10391039
10401040
▲ [WARNING] ⚠️ Updating legacy pipeline. Consider recreating with 'wrangler pipelines setup'.

packages/wrangler/src/__tests__/r2/bucket.test.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ describe("r2", () => {
106106
wrangler r2 bucket info <bucket> Get information about an R2 bucket
107107
wrangler r2 bucket delete <bucket> Delete an R2 bucket
108108
wrangler r2 bucket sippy Manage Sippy incremental migration on an R2 bucket
109-
wrangler r2 bucket catalog Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open-beta]
109+
wrangler r2 bucket catalog Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open beta]
110110
wrangler r2 bucket notification Manage event notification rules for an R2 bucket
111111
wrangler r2 bucket domain Manage custom domains for an R2 bucket
112112
wrangler r2 bucket dev-url Manage public access via the r2.dev URL for an R2 bucket
@@ -148,7 +148,7 @@ describe("r2", () => {
148148
wrangler r2 bucket info <bucket> Get information about an R2 bucket
149149
wrangler r2 bucket delete <bucket> Delete an R2 bucket
150150
wrangler r2 bucket sippy Manage Sippy incremental migration on an R2 bucket
151-
wrangler r2 bucket catalog Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open-beta]
151+
wrangler r2 bucket catalog Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open beta]
152152
wrangler r2 bucket notification Manage event notification rules for an R2 bucket
153153
wrangler r2 bucket domain Manage custom domains for an R2 bucket
154154
wrangler r2 bucket dev-url Manage public access via the r2.dev URL for an R2 bucket
@@ -959,13 +959,13 @@ describe("r2", () => {
959959
"
960960
wrangler r2 bucket catalog
961961
962-
Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open-beta]
962+
Manage the data catalog for your R2 buckets - provides an Iceberg REST interface for query engines like Spark and PyIceberg [open beta]
963963
964964
COMMANDS
965-
wrangler r2 bucket catalog enable <bucket> Enable the data catalog on an R2 bucket [open-beta]
966-
wrangler r2 bucket catalog disable <bucket> Disable the data catalog for an R2 bucket [open-beta]
967-
wrangler r2 bucket catalog get <bucket> Get the status of the data catalog for an R2 bucket [open-beta]
968-
wrangler r2 bucket catalog compaction Control settings for automatic file compaction maintenance jobs for your R2 data catalog [open-beta]
965+
wrangler r2 bucket catalog enable <bucket> Enable the data catalog on an R2 bucket [open beta]
966+
wrangler r2 bucket catalog disable <bucket> Disable the data catalog for an R2 bucket [open beta]
967+
wrangler r2 bucket catalog get <bucket> Get the status of the data catalog for an R2 bucket [open beta]
968+
wrangler r2 bucket catalog compaction Control settings for automatic file compaction maintenance jobs for your R2 data catalog [open beta]
969969
970970
GLOBAL FLAGS
971971
-c, --config Path to Wrangler configuration file [string]
@@ -1024,7 +1024,7 @@ describe("r2", () => {
10241024
"
10251025
wrangler r2 bucket catalog enable <bucket>
10261026
1027-
Enable the data catalog on an R2 bucket [open-beta]
1027+
Enable the data catalog on an R2 bucket [open beta]
10281028
10291029
POSITIONALS
10301030
bucket The name of the bucket to enable [string] [required]
@@ -1057,7 +1057,7 @@ describe("r2", () => {
10571057
"
10581058
wrangler r2 bucket catalog disable <bucket>
10591059
1060-
Disable the data catalog for an R2 bucket [open-beta]
1060+
Disable the data catalog for an R2 bucket [open beta]
10611061
10621062
POSITIONALS
10631063
bucket The name of the bucket to disable the data catalog for [string] [required]
@@ -1155,7 +1155,7 @@ describe("r2", () => {
11551155
"
11561156
wrangler r2 bucket catalog get <bucket>
11571157
1158-
Get the status of the data catalog for an R2 bucket [open-beta]
1158+
Get the status of the data catalog for an R2 bucket [open beta]
11591159
11601160
POSITIONALS
11611161
bucket The name of the R2 bucket whose data catalog status to retrieve [string] [required]
@@ -1264,11 +1264,11 @@ describe("r2", () => {
12641264
"
12651265
wrangler r2 bucket catalog compaction
12661266
1267-
Control settings for automatic file compaction maintenance jobs for your R2 data catalog [open-beta]
1267+
Control settings for automatic file compaction maintenance jobs for your R2 data catalog [open beta]
12681268
12691269
COMMANDS
1270-
wrangler r2 bucket catalog compaction enable <bucket> [namespace] [table] Enable automatic file compaction for your R2 data catalog or a specific table [open-beta]
1271-
wrangler r2 bucket catalog compaction disable <bucket> [namespace] [table] Disable automatic file compaction for your R2 data catalog or a specific table [open-beta]
1270+
wrangler r2 bucket catalog compaction enable <bucket> [namespace] [table] Enable automatic file compaction for your R2 data catalog or a specific table [open beta]
1271+
wrangler r2 bucket catalog compaction disable <bucket> [namespace] [table] Disable automatic file compaction for your R2 data catalog or a specific table [open beta]
12721272
12731273
GLOBAL FLAGS
12741274
-c, --config Path to Wrangler configuration file [string]
@@ -1341,7 +1341,7 @@ describe("r2", () => {
13411341
"
13421342
wrangler r2 bucket catalog compaction enable <bucket> [namespace] [table]
13431343
1344-
Enable automatic file compaction for your R2 data catalog or a specific table [open-beta]
1344+
Enable automatic file compaction for your R2 data catalog or a specific table [open beta]
13451345
13461346
POSITIONALS
13471347
bucket The name of the bucket which contains the catalog [string] [required]
@@ -1477,7 +1477,7 @@ describe("r2", () => {
14771477
"
14781478
wrangler r2 bucket catalog compaction disable <bucket> [namespace] [table]
14791479
1480-
Disable automatic file compaction for your R2 data catalog or a specific table [open-beta]
1480+
Disable automatic file compaction for your R2 data catalog or a specific table [open beta]
14811481
14821482
POSITIONALS
14831483
bucket The name of the bucket which contains the catalog [string] [required]

packages/wrangler/src/__tests__/r2/help.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ describe("r2", () => {
2323
COMMANDS
2424
wrangler r2 object Manage R2 objects
2525
wrangler r2 bucket Manage R2 buckets
26-
wrangler r2 sql Send queries and manage R2 SQL [open-beta]
26+
wrangler r2 sql Send queries and manage R2 SQL [open beta]
2727
2828
GLOBAL FLAGS
2929
-c, --config Path to Wrangler configuration file [string]
@@ -54,7 +54,7 @@ describe("r2", () => {
5454
COMMANDS
5555
wrangler r2 object Manage R2 objects
5656
wrangler r2 bucket Manage R2 buckets
57-
wrangler r2 sql Send queries and manage R2 SQL [open-beta]
57+
wrangler r2 sql Send queries and manage R2 SQL [open beta]
5858
5959
GLOBAL FLAGS
6060
-c, --config Path to Wrangler configuration file [string]

0 commit comments

Comments
 (0)