-
-
Notifications
You must be signed in to change notification settings - Fork 90
/
Copy pathinternal-run
56 lines (44 loc) · 877 Bytes
/
internal-run
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
+ bundle exec bashly generate
creating user files in src
skipped src/build_command.sh (exists)
skipped src/test_command.sh (exists)
skipped src/deploy_command.sh (exists)
created ./cli
run ./cli --help to test your bash script
+ ./cli -h
cli - Internal run test
Usage:
cli COMMAND
cli [COMMAND] --help | -h
cli --version | -v
Commands:
build Build code
test Test code
deploy Deploy code
Options:
--help, -h
Show this help
--version, -v
Show version number
+ ./cli deploy -h
cli deploy - Deploy code
Usage:
cli deploy [OPTIONS]
cli deploy --help | -h
Options:
--build
Build before deploying
--test
Test before deploying
--help, -h
Show this help
+ ./cli deploy --build --test
BUILD complete
args:
- ${args[env]} = production
TEST complete
args:
- ${args[--full]} = 1
DEPLOY complete
args:
- ${args[--full]} = 1