summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-08-12 16:17:25 -0400
committerGitHub <noreply@github.com>2024-08-12 16:17:25 -0400
commit085058cfffa03663839b946153faf58860aed9ef (patch)
tree8d915e2f320b9a2e8bc509602230158db15b48a4 /cli/main.rs
parentb1036e4d9c6ce565ed50f88034b598a317f69fbd (diff)
feat: deno remove (#24952)
Co-authored-by: Satya Rohith <me@satyarohith.com>
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 4955b79d0..1b2640758 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -100,6 +100,9 @@ async fn run_subcommand(flags: Arc<Flags>) -> Result<i32, AnyError> {
DenoSubcommand::Add(add_flags) => spawn_subcommand(async {
tools::registry::add(flags, add_flags, tools::registry::AddCommandName::Add).await
}),
+ DenoSubcommand::Remove(remove_flags) => spawn_subcommand(async {
+ tools::registry::remove(flags, remove_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