Skip to content

Commit

Permalink
docs(cli/add): add clarification to add command (#26968)
Browse files Browse the repository at this point in the history
Signed-off-by: Bhuwan Pandit <[email protected]>
  • Loading branch information
bp7968h authored and dsherret committed Nov 21, 2024
1 parent 77bcb97 commit 0aed1b0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cli/args/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 0aed1b0

Please sign in to comment.