6  * CLI file to run tweeper.
 
   9 if (preg_match('/' . preg_quote('/vendor/bin', '/') . '$/', __DIR__)) {
 
  11    * This covers the case of tweeper running from a "vendor/bin" directory in
 
  12    * a composer setup, but with the tweeper executable _not_ being a symlink.
 
  14    * This can happen when the filesystem does not support symlinks.
 
  16   $package_name = 'ao2/tweeper';
 
  17   require __DIR__ . '/../' . $package_name . '/tweeper.php';
 
  20   /* For the other cases look at the autoload.php required by tweeper.php */
 
  21   require __DIR__ . '/tweeper.php';