Browse files

first commit

  • Loading branch information...
0 parents commit 94d24f2105a490a25dc51def80c3185f7b340521 heartsentwined committed Sep 6, 2012
3 .gitignore
@@ -0,0 +1,3 @@
+.git/
+vendor/
+composer.lock
10 .travis.yml
@@ -0,0 +1,10 @@
+language: php
+php:
+ - "5.3"
+ - "5.4"
+before_script: composer install
+script: phpunit --configuration test/phpunit.xml
+notifications:
+ email:
+ on_success: always
+ on_failure: always
22 README.md
@@ -0,0 +1,22 @@
+# zf2-cli
+
+[![Build Status](https://secure.travis-ci.org/heartsentwined/zf2-cli.png)](http://travis-ci.org/heartsentwined/zf2-cli)
+
+helper functions for building a zf2 CLI app
+
+# Installation
+
+[Composer](http://getcomposer.org/):
+
+```json
+{
+ "minimum-stability": "dev",
+ "require": {
+ "heartsentwined/zf2-cli": "dev-master"
+ }
+}
+```
+
+# Usage
+
+todo
24 composer.json
@@ -0,0 +1,24 @@
+{
+ "name": "heartsentwined/zf2-cli",
+ "description": "helper functions for building a zf2 CLI app",
+ "license": "GPL-3.0",
+ "keywords": ["cli", "zf2", "helper"],
+ "homepage": "https://github.com/heartsentwined/zf2-cli",
+ "authors": [
+ {
+ "name": "heartsentwined",
+ "email": "heartsentwined@cogito-lab.com",
+ "role": "Developer"
+ }
+ ],
+ "autoload": {
+ "psr-0": {
+ "Heartsentwined\\Cli": "src/"
+ }
+ },
+ "require": {
+ "php": ">=5.3.3",
+ "heartsentwined/arg-validator": "1.*",
+ "zendframework/zend-console": "2.*"
+ }
+}
10 src/Heartsentwined/Cli/Exception/InvalidArgumentException.php
@@ -0,0 +1,10 @@
+<?php
+namespace Heartsentwined\Cli\Exception;
+
+use Heartsentwined\Cli\ExceptionInterface;
+
+class InvalidArgumentException
+ extends \InvalidArgumentException
+ implements ExceptionInterface
+{
+}
6 src/Heartsentwined/Cli/ExceptionInterface.php
@@ -0,0 +1,6 @@
+<?php
+namespace Heartsentwined\Cli;
+
+interface ExceptionInterface
+{
+}
16 test/Heartsentwined/Test/Cli/CliTest.php
@@ -0,0 +1,16 @@
+<?php
+namespace Heartsentwined\Test\Cli;
+
+use Heartsentwined\Cli\Factory;
+use Heartsentwined\Cli\Exception;
+
+class CliTest extends \PHPUnit_Framework_TestCase
+{
+ public function setUp()
+ {
+ }
+
+ public function tearDown()
+ {
+ }
+}
3 test/bootstrap.php
@@ -0,0 +1,3 @@
+<?php
+$loader = require_once __DIR__ . '/../vendor/autoload.php';
+$loader->add('Heartsentwined\Test', __DIR__);
7 test/phpunit.xml
@@ -0,0 +1,7 @@
+<phpunit bootstrap="./bootstrap.php" colors="true">
+ <testsuites>
+ <testsuite>
+ <directory>./</directory>
+ </testsuite>
+ </testsuites>
+</phpunit>

0 comments on commit 94d24f2

Please sign in to comment.