Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jul 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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