From 191de7d72b3f5236292b9cba363968ee83116d35 Mon Sep 17 00:00:00 2001 From: "Ryan B." Date: Mon, 29 Jul 2024 18:36:53 -0400 Subject: [PATCH] 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. --- cli/args/flags.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cli/args/flags.rs b/cli/args/flags.rs index 8d43846c8b8805..91adac84ba0607 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -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(