Skip to content
This repository was archived by the owner on Jan 6, 2018. It is now read-only.

Commit fc1ed73

Browse files
committed
Update
1 parent 308239e commit fc1ed73

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Generates general purpose [docker-compose.yml](https://docs.docker.com/compose/y
1414
TMP="$(mktemp -d)" \
1515
&& git clone https://github.com/dockerizedrupal/drupal-compose.git "${TMP}" \
1616
&& cd "${TMP}" \
17-
&& git checkout 1.0.1 \
17+
&& git checkout 1.0.2 \
1818
&& sudo cp "${TMP}/drupal-compose.sh" /usr/local/bin/drupal-compose \
1919
&& sudo chmod +x /usr/local/bin/drupal-compose
2020
&& cd -

drupal-compose.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ WORKING_DIR="$(pwd)"
44

55
help() {
66
cat << EOF
7+
Version: 1.0.2
8+
79
Usage: drupal-compose
810
911
Options:
@@ -13,10 +15,18 @@ EOF
1315
exit 1
1416
}
1517

18+
version() {
19+
help
20+
}
21+
1622
if [ "${1}" == "-h" ] || [ "${1}" == "--help" ]; then
1723
help
1824
fi
1925

26+
if [ "${1}" == "-v" ] || [ "${1}" == "--version" ]; then
27+
version
28+
fi
29+
2030
unknown_command() {
2131
echo "drupal-compose: Unknown command. See 'drupal-compose --help'"
2232

0 commit comments

Comments
 (0)