docs(console): Update docstrings for install and uninstall (#26623)

When running `deno -h` then `install` and `uninstall` scripts had
description since deno 1 times :)
This commit is contained in:
McSneaky 2024-10-30 17:32:04 +02:00 committed by GitHub
parent a1473d82c5
commit 1431ffa9f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -1179,8 +1179,8 @@ static DENO_HELP: &str = cstr!(
<y>Dependency management:</>
<g>add</> Add dependencies
<p(245)>deno add jsr:@std/assert | deno add npm:express</>
<g>install</> Install script as an executable
<g>uninstall</> Uninstall a script previously installed with deno install
<g>install</> Installs dependencies either in the local project or globally to a bin directory
<g>uninstall</> Uninstalls a dependency or an executable script in the installation root's bin directory
<g>remove</> Remove dependencies from the configuration file
<y>Tooling:</>

View File

@ -18,8 +18,8 @@ fn help_output() {
"Start an interactive Read-Eval-Print Loop (REPL) for Deno",
"Evaluate a script from the command line",
"Add dependencies",
"Install script as an executable",
"Uninstall a script previously installed with deno install",
"Installs dependencies either in the local project or globally to a bin directory",
"Uninstalls a dependency or an executable script in the installation root's bin directory",
"Run benchmarks",
"Type-check the dependencies",
"Compile the script into a self contained executable",