From edaceecec771cf0395639175b5a21d20530f6080 Mon Sep 17 00:00:00 2001 From: David Sherret Date: Fri, 28 Oct 2022 16:19:55 -0400 Subject: feat: support npm specifiers in `deno info` for display text output only (#16470) --- cli/args/flags.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/args') diff --git a/cli/args/flags.rs b/cli/args/flags.rs index c313515e3..90899704e 100644 --- a/cli/args/flags.rs +++ b/cli/args/flags.rs @@ -1212,6 +1212,7 @@ TypeScript compiler cache: Subdirectory containing TS compiler output.", .arg(no_config_arg()) .arg(config_arg()) .arg(import_map_arg()) + .arg(local_npm_arg()) .arg( Arg::new("json") .long("json") @@ -2512,6 +2513,7 @@ fn info_parse(flags: &mut Flags, matches: &clap::ArgMatches) { import_map_arg_parse(flags, matches); location_arg_parse(flags, matches); ca_file_arg_parse(flags, matches); + local_npm_args_parse(flags, matches); let json = matches.is_present("json"); flags.subcommand = DenoSubcommand::Info(InfoFlags { file: matches.value_of("file").map(|f| f.to_string()), -- cgit v1.2.3