Skip to content

Commit ee584f3

Browse files
committed
chore: update default config command to be array
1 parent 6d5132b commit ee584f3

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/defaultConfig.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,59 +5,59 @@
55
"actions": {
66
"down": {
77
"comment": "Stop and destroy the docker containers",
8-
"command": "%action% %args%",
8+
"command": ["%action% %args%"],
99
"exec": false
1010
},
1111
"up": {
1212
"comment": "Bring the docker containers up and live",
13-
"command": "%action% %args%",
13+
"command": ["%action% %args%"],
1414
"exec": false
1515
},
1616
"pull": {
1717
"comment": "Pull the latest versions of docker containers",
18-
"command": "%action% %args%",
18+
"command": ["%action% %args%"],
1919
"exec": false
2020
},
2121
"start": {
2222
"comment": "Start the docker containers",
23-
"command": "%action% %args%",
23+
"command": ["%action% %args%"],
2424
"exec": false
2525
},
2626
"stop": {
2727
"comment": "Stop the docker containers",
28-
"command": "%action% %args%",
28+
"command": ["%action% %args%"],
2929
"exec": false
3030
},
3131
"ip": {
3232
"comment": "Print container IP address",
3333
"service": "@host",
34-
"command": "docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' %args%"
34+
"command": ["docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' %args%"]
3535
},
3636
"bash": {
3737
"comment": "Open the interactive terminal from default service container",
38-
"command": "%action% %args%"
38+
"command": ["%action% %args%"]
3939
},
4040
"composer": {
4141
"comment": "Run the composer command in default service container",
42-
"command": "%action% %args%"
42+
"command": ["%action% %args%"]
4343
},
4444
"node": {
4545
"comment": "Run the node command in default service container",
46-
"command": "%action% %args%",
46+
"command": ["%action% %args%"],
4747
"user": "node"
4848
},
4949
"npm": {
5050
"comment": "Run the npm command in default service container",
51-
"command": "%action% %args%",
51+
"command": ["%action% %args%"],
5252
"user": "node"
5353
},
5454
"git": {
5555
"comment": "Run the git command in default service container",
56-
"command": "%action% %args%"
56+
"command": ["%action% %args%"]
5757
},
5858
"yarn": {
5959
"comment": "Run the yarn command in default service container",
60-
"command": "%action% %args%"
60+
"command": ["%action% %args%"]
6161
}
6262
}
6363
}

0 commit comments

Comments
 (0)