|
1 | 1 | #!/usr/bin/env bash |
2 | 2 |
|
3 | | -source $(dirname $(dirname $0))/lib/utils.sh |
4 | | - |
5 | | -source $(dirname $(dirname $0))/lib/commands/help.sh |
6 | | -source $(dirname $(dirname $0))/lib/commands/update.sh |
7 | | -source $(dirname $(dirname $0))/lib/commands/install.sh |
8 | | -source $(dirname $(dirname $0))/lib/commands/uninstall.sh |
9 | | -source $(dirname $(dirname $0))/lib/commands/current.sh |
10 | | -source $(dirname $(dirname $0))/lib/commands/where.sh |
11 | | -source $(dirname $(dirname $0))/lib/commands/which.sh |
12 | | -source $(dirname $(dirname $0))/lib/commands/version_commands.sh |
13 | | -source $(dirname $(dirname $0))/lib/commands/list.sh |
14 | | -source $(dirname $(dirname $0))/lib/commands/list-all.sh |
15 | | -source $(dirname $(dirname $0))/lib/commands/reshim.sh |
16 | | -source $(dirname $(dirname $0))/lib/commands/plugin-add.sh |
17 | | -source $(dirname $(dirname $0))/lib/commands/plugin-list.sh |
18 | | -source $(dirname $(dirname $0))/lib/commands/plugin-list-all.sh |
19 | | -source $(dirname $(dirname $0))/lib/commands/plugin-update.sh |
20 | | -source $(dirname $(dirname $0))/lib/commands/plugin-remove.sh |
21 | | - |
22 | | -source $(dirname $(dirname $0))/lib/commands/plugin-push.sh |
23 | | -source $(dirname $(dirname $0))/lib/commands/plugin-test.sh |
24 | | - |
25 | | - |
| 3 | +# shellcheck source=lib/utils.sh |
| 4 | +source "$(dirname "$(dirname "$0")")/lib/utils.sh" |
| 5 | + |
| 6 | +# shellcheck source=lib/commands/help.sh |
| 7 | +source "$(dirname "$(dirname "$0")")/lib/commands/help.sh" |
| 8 | +# shellcheck source=lib/commands/update.sh |
| 9 | +source "$(dirname "$(dirname "$0")")/lib/commands/update.sh" |
| 10 | +# shellcheck source=lib/commands/install.sh |
| 11 | +source "$(dirname "$(dirname "$0")")/lib/commands/install.sh" |
| 12 | +# shellcheck source=lib/commands/uninstall.sh |
| 13 | +source "$(dirname "$(dirname "$0")")/lib/commands/uninstall.sh" |
| 14 | +# shellcheck source=lib/commands/current.sh |
| 15 | +source "$(dirname "$(dirname "$0")")/lib/commands/current.sh" |
| 16 | +# shellcheck source=lib/commands/where.sh |
| 17 | +source "$(dirname "$(dirname "$0")")/lib/commands/where.sh" |
| 18 | +# shellcheck source=lib/commands/which.sh |
| 19 | +source "$(dirname "$(dirname "$0")")/lib/commands/which.sh" |
| 20 | +# shellcheck source=lib/commands/version_commands.sh |
| 21 | +source "$(dirname "$(dirname "$0")")/lib/commands/version_commands.sh" |
| 22 | +# shellcheck source=lib/commands/list.sh |
| 23 | +source "$(dirname "$(dirname "$0")")/lib/commands/list.sh" |
| 24 | +# shellcheck source=lib/commands/list-all.sh |
| 25 | +source "$(dirname "$(dirname "$0")")/lib/commands/list-all.sh" |
| 26 | +# shellcheck source=lib/commands/reshim.sh |
| 27 | +source "$(dirname "$(dirname "$0")")/lib/commands/reshim.sh" |
| 28 | +# shellcheck source=lib/commands/plugin-add.sh |
| 29 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-add.sh" |
| 30 | +# shellcheck source=lib/commands/plugin-list.sh |
| 31 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-list.sh" |
| 32 | +# shellcheck source=lib/commands/plugin-list-all.sh |
| 33 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-list-all.sh" |
| 34 | +# shellcheck source=lib/commands/plugin-update.sh |
| 35 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-update.sh" |
| 36 | +# shellcheck source=lib/commands/plugin-remove.sh |
| 37 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-remove.sh" |
| 38 | + |
| 39 | +# shellcheck source=lib/commands/plugin-push.sh |
| 40 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-push.sh" |
| 41 | +# shellcheck source=lib/commands/plugin-test.sh |
| 42 | +source "$(dirname "$(dirname "$0")")/lib/commands/plugin-test.sh" |
| 43 | + |
| 44 | +# shellcheck disable=SC2124 |
26 | 45 | callback_args="${@:2}" |
27 | 46 |
|
| 47 | +# shellcheck disable=SC2086 |
28 | 48 | case $1 in |
29 | 49 |
|
30 | 50 | "--version") |
31 | | - asdf_version $callback_args;; |
| 51 | + asdf_version $callback_args;; |
32 | 52 |
|
33 | 53 | "help") |
34 | 54 | help_command $callback_args;; |
|
0 commit comments