mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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
6ee8efc5b4
commit
a875a3785b
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