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

docs(cli/add): add clarification to add command (#26968)

Signed-off-by: Bhuwan Pandit <bhuwanpandit109@gmail.com>
This commit is contained in:
Bhuwan Pandit 2024-11-21 17:27:00 +00:00 committed by GitHub
parent 6ee8efc5b4
commit a875a3785b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1704,8 +1704,11 @@ fn add_subcommand() -> Command {
"Add dependencies to your configuration file.
<p(245)>deno add jsr:@std/path</>
You can add multiple dependencies at once:
<p(245)>deno add jsr:@std/path jsr:@std/assert</>"
You can also add npm packages:
<p(245)>deno add npm:react</>
Or multiple dependencies at once:
<p(245)>deno add jsr:@std/path jsr:@std/assert npm:chalk</>"
),
UnstableArgsConfig::None,
)