@@ -5,6 +5,8 @@ source "$(dirname "$(dirname "$0")")/lib/utils.sh"
55
66# shellcheck source=lib/commands/help.sh
77source " $( dirname " $( dirname " $0 " ) " ) /lib/commands/help.sh"
8+ # shellcheck source=lib/commands/shim-exec.sh
9+ source " $( dirname " $( dirname " $0 " ) " ) /lib/commands/shim-exec.sh"
810# shellcheck source=lib/commands/update.sh
911source " $( dirname " $( dirname " $0 " ) " ) /lib/commands/update.sh"
1012# shellcheck source=lib/commands/install.sh
@@ -49,70 +51,73 @@ callback_args="${@:2}"
4951# shellcheck disable=SC2086
5052case $1 in
5153
52- " --version" )
54+ " --version" )
5355 asdf_version $callback_args ;;
5456
55- " help" )
57+ " exec" )
58+ shim_exec_command $callback_args ;;
59+
60+ " help" )
5661 help_command $callback_args ;;
5762
58- " update" )
63+ " update" )
5964 update_command $callback_args ;;
6065
61- " install" )
66+ " install" )
6267 install_command $callback_args ;;
6368
64- " uninstall" )
69+ " uninstall" )
6570 uninstall_command $callback_args ;;
6671
67- " current" )
72+ " current" )
6873 current_command $callback_args ;;
6974
70- " where" )
75+ " where" )
7176 where_command $callback_args ;;
7277
73- " which" )
78+ " which" )
7479 which_command $callback_args ;;
7580
76- " local" )
81+ " local" )
7782 local_command $callback_args ;;
7883
79- " global" )
84+ " global" )
8085 global_command $callback_args ;;
8186
82- " list" )
87+ " list" )
8388 list_command $callback_args ;;
8489
85- " list-all" )
90+ " list-all" )
8691 list_all_command $callback_args ;;
8792
88- " reshim" )
93+ " reshim" )
8994 reshim_command $callback_args ;;
9095
91- " plugin-add" )
96+ " plugin-add" )
9297 plugin_add_command $callback_args ;;
9398
94- " plugin-list" )
99+ " plugin-list" )
95100 plugin_list_command $callback_args ;;
96101
97- " plugin-list-all" )
102+ " plugin-list-all" )
98103 plugin_list_all_command $callback_args ;;
99104
100- " plugin-update" )
105+ " plugin-update" )
101106 plugin_update_command $callback_args ;;
102107
103- " plugin-remove" )
108+ " plugin-remove" )
104109 plugin_remove_command $callback_args ;;
105110
106- # Undocumented commands for development
107- " plugin-push" )
111+ # Undocumented commands for development
112+ " plugin-push" )
108113 plugin_push_command $callback_args ;;
109114
110- " plugin-test" )
115+ " plugin-test" )
111116 plugin_test_command $callback_args ;;
112117
113- " shim-versions" )
118+ " shim-versions" )
114119 shim_versions_command $callback_args ;;
115- * )
116- help_command
117- exit 1;;
120+ * )
121+ help_command
122+ exit 1;;
118123esac
0 commit comments