Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 53 lines (49 sloc) 2.188 kb
b2ed470 Sebastian Bergmann Initial import.
authored
1 #!/usr/bin/env php
2 <?php
3 /**
4 * bytekit-cli
5 *
50a79c2 Sebastian Bergmann Update email address
authored
6 * Copyright (c) 2009-2013, Sebastian Bergmann <sebastian@phpunit.de>.
b2ed470 Sebastian Bergmann Initial import.
authored
7 * All rights reserved.
8 *
9 * Redistribution and use in source and binary forms, with or without
10 * modification, are permitted provided that the following conditions
11 * are met:
12 *
13 * * Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 *
16 * * Redistributions in binary form must reproduce the above copyright
17 * notice, this list of conditions and the following disclaimer in
18 * the documentation and/or other materials provided with the
19 * distribution.
20 *
21 * * Neither the name of Sebastian Bergmann nor the names of his
22 * contributors may be used to endorse or promote products derived
23 * from this software without specific prior written permission.
24 *
25 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
26 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
27 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
28 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
29 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
30 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
31 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
32 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
33 * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
34 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
35 * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
36 * POSSIBILITY OF SUCH DAMAGE.
37 *
38 * @package Bytekit
50a79c2 Sebastian Bergmann Update email address
authored
39 * @author Sebastian Bergmann <sebastian@phpunit.de>
40 * @copyright 2009-2013 Sebastian Bergmann <sebastian@phpunit.de>
a29bde0 Sebastian Bergmann List The BSD 3-Clause License correctly and consistently. Thanks to Chri...
authored
41 * @license http://www.opensource.org/licenses/BSD-3-Clause The BSD 3-Clause License
b2ed470 Sebastian Bergmann Initial import.
authored
42 * @since File available since Release 1.0.0
43 */
44
45 if (strpos('@php_bin@', '@php_bin') === 0) {
46 set_include_path(dirname(__FILE__) . PATH_SEPARATOR . get_include_path());
47 }
48
bfe3060 Sebastian Bergmann Use autoload.
authored
49 require_once 'Bytekit/Autoload.php';
b2ed470 Sebastian Bergmann Initial import.
authored
50
6e4bc5b Sebastian Bergmann Decrease static cling.
authored
51 $command = new Bytekit_TextUI_Command;
52 $command->main();
Something went wrong with that request. Please try again.