1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 15:49:44 -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 David Sherret
parent 77bcb97a38
commit 0aed1b0b7b

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,
)