Révision 15ed27d8
Ajouté par Julien Enselme il y a plus de 9 ans
bin/d7-all-drush.sh | ||
---|---|---|
1 | 1 |
#!/bin/sh |
2 | 2 |
|
3 |
|
|
4 |
help='d7-all-drush.sh drush_arguments' |
|
5 |
|
|
6 |
usage() { |
|
7 |
echo "${help}" |
|
8 |
} |
|
9 |
. /home/assos/bin/print-help-if-required.sh |
|
10 |
|
|
11 |
|
|
3 | 12 |
. /home/assos/bin/scripts-config.sh |
4 | 13 |
. scripts-utils.sh |
5 | 14 |
|
6 |
help="# ARGS: drush_command" |
|
7 | 15 |
|
8 | 16 |
check_arguments "$#" 1 "${help}" |
9 | 17 |
|
Formats disponibles : Unified diff
Use getopts to print help and to parse script arguments.