File tree Expand file tree Collapse file tree 1 file changed +22
-0
lines changed
Expand file tree Collapse file tree 1 file changed +22
-0
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,42 @@ REMAINING_ARGS=()
1919# Parse args
2020while [[ $# -gt 0 ]]; do
2121 case $1 in
22+ --sh-repo|-sh-r)
23+ REPO=" $2 "
24+ shift 2
25+ ;;
26+ --sh-bundle|-sh-b)
27+ BUNDLE_NAMES+=(" $2 " )
28+ shift 2
29+ ;;
30+ --sh-version|-sh-v)
31+ VERSION=" $2 "
32+ shift 2
33+ ;;
34+ --sh-force|-sh-f)
35+ FORCE_DOWNLOAD=true
36+ shift
37+ ;;
38+
39+ # Bellow params will be deprecated in future versions
2240 --repo|-r)
2341 REPO=" $2 "
42+ echo " avoid using --repo/-r, use --sh-repo/-sh-r instead"
2443 shift 2
2544 ;;
2645 --bundle|-b)
2746 BUNDLE_NAMES+=(" $2 " )
47+ echo " avoid using --bundle/-b, use --sh-bundle/-sh-b instead"
2848 shift 2
2949 ;;
3050 --version|-v)
3151 VERSION=" $2 "
52+ echo " avoid using --version/-v, use --sh-version/-sh-v instead"
3253 shift 2
3354 ;;
3455 --force|-f)
3556 FORCE_DOWNLOAD=true
57+ echo " avoid using --force/-f, use --sh-force/-sh-f instead"
3658 shift
3759 ;;
3860 * ) # collect remaining
You can’t perform that action at this time.
0 commit comments