forked from NuCivic/data_starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.ahoy.yml
35 lines (29 loc) · 847 Bytes
/
.ahoy.yml
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
ahoyapi: v1
usage: DKAN cli app for development using ahoy.
commands:
drush:
usage: Run drush via ahoy (helpful for abstraction)
cmd: ahoy cmd-proxy drush --root=docroot {{args}}
dkan:
usage: A series of commands for dkan development.
import: dkan/.ahoy/dkan.ahoy.yml
# Utility / Experimental commands that are currently hidden
confirm:
cmd: ahoy -f dkan/.ahoy/utils.ahoy.yml confirm {{args}}
hide: true
docker:
usage: A series of docker commands for dkan development (experimental)
import: dkan/.ahoy/docker.ahoy.yml
hide: true
init:
cmd: echo "ahoy.yml file already exists."
hide: true
cmd-proxy:
usage: abstraction for commmands.
cmd: |
if [ "$AHOY_CMD_PROXY" == "DOCKER" ]; then
ahoy docker exec "{{args}}"
else
{{args}}
fi
hide: true