1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix(cli): Unhide publish subcommand help string (#24787)

Fixes #24753

The help text for `deno publish` was marked hidden while in preview.
This is no longer a preview feature.
This commit is contained in:
Ryan B. 2024-07-29 18:36:53 -04:00 committed by GitHub
parent 38a363dc7c
commit 191de7d72b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2845,7 +2845,7 @@ fn vendor_subcommand() -> Command {
.long_about(
"⚠️ Warning: `deno vendor` is deprecated and will be removed in Deno 2.0.
Add `\"vendor\": true` to your `deno.json` or use the `--vendor` flag instead.
Vendor remote modules into a local directory.
Analyzes the provided modules along with their dependencies, downloads
@ -2894,8 +2894,7 @@ Remote modules and multiple modules may also be specified:
fn publish_subcommand() -> Command {
Command::new("publish")
.hide(true)
.about("Unstable preview feature: Publish the current working directory's package or workspace")
.about("Publish the current working directory's package or workspace")
// TODO: .long_about()
.defer(|cmd| {
cmd.arg(