Skip to content

Commit

Permalink
fix(cli): Unhide publish subcommand help string (denoland#24787)
Browse files Browse the repository at this point in the history
Fixes denoland#24753

The help text for `deno publish` was marked hidden while in preview.
This is no longer a preview feature.
  • Loading branch information
rbetts committed Jul 29, 2024
1 parent 38a363d commit 191de7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cli/args/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 191de7d

Please sign in to comment.