a5acf587cb1b60b01ad3300f8149fbac6e78871c
[yaffs-website] / vendor / drush / drush / examples / drush.wrapper
1 #!/usr/bin/env sh
2 #
3 # DRUSH WRAPPER
4 #
5 # A wrapper script which launches the Drush that is in your project's /vendor
6 # directory.  Copy it to the root of your project and edit as desired.
7 # You may rename this script to 'drush', if doing so does not cause a conflict
8 # (e.g. with a folder __ROOT__/drush).
9 #
10 # Below are options which you might want to add. More info at
11 # `drush topic core-global-options`:
12 #
13 # --local       Only discover commandfiles/site aliases/config that are
14 #               inside your project dir.
15 # --alias-path  A list of directories where Drush will search for site
16 #               alias files.
17 # --config      A list of paths to config files
18 # --include     A list of directories to search for commandfiles.
19 #
20 # Note that it is recommended to use --local when using a drush
21 # wrapper script.
22 #
23 # See the 'drush' script in the Drush installation root (../drush) for
24 # an explanation of the different 'drush' scripts.
25 #
26 # IMPORTANT:  Modify the path below if your 'vendor' directory has been
27 # relocated to another location in your composer.json file.
28 # `../vendor/bin/drush.launcher --local $@` is a common variant for
29 # composer-managed Drupal sites.
30 #
31 cd "`dirname $0`"
32 ../vendor/bin/drush.launcher --local "$@"