Skip to content

Commit 36e0f9d

Browse files
committed
releasing v0.2.33
1 parent f74ba22 commit 36e0f9d

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

src/main/bundler/bundle.loader.sh

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,42 @@ REMAINING_ARGS=()
1919
# Parse args
2020
while [[ $# -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

0 commit comments

Comments
 (0)