summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 5e446efb8..60d10badc 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -88,6 +88,9 @@ fn spawn_subcommand<F: Future<Output = T> + 'static, T: SubcommandOutput>(
async fn run_subcommand(flags: Flags) -> Result<i32, AnyError> {
let handle = match flags.subcommand.clone() {
+ DenoSubcommand::Add(add_flags) => spawn_subcommand(async {
+ tools::registry::add(flags, add_flags).await
+ }),
DenoSubcommand::Bench(bench_flags) => spawn_subcommand(async {
if bench_flags.watch.is_some() {
tools::bench::run_benchmarks_with_watch(flags, bench_flags).await