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:
parent
77bcb97a38
commit
0aed1b0b7b
1 changed files with 5 additions and 2 deletions
|
@ -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,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue