From 89a009d1af2f5ab3916245fdec0f1422044273d4 Mon Sep 17 00:00:00 2001 From: Eric Gustin <34000337+EricGustin@users.noreply.github.com> Date: Thu, 27 Mar 2025 09:38:37 -0800 Subject: [PATCH] Normalize `arcade show -T` input (#331) Small change that normalizes the toolkit package name to use underscores instead of hyphens. Python packages use underscores, not hyphens --- arcade/arcade/cli/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arcade/arcade/cli/utils.py b/arcade/arcade/cli/utils.py index 3045843d..22c0606d 100644 --- a/arcade/arcade/cli/utils.py +++ b/arcade/arcade/cli/utils.py @@ -55,7 +55,7 @@ def create_cli_catalog( Load toolkits from the python environment. """ if toolkit: - toolkit = toolkit.lower() + toolkit = toolkit.lower().replace("-", "_") try: prefixed_toolkit = "arcade_" + toolkit toolkits = [Toolkit.from_package(prefixed_toolkit)]