An open API service indexing awesome lists of open source software.

https://github.com/kherge-archive/php-go

A simple PHP build tool.
https://github.com/kherge-archive/php-go

Last synced: about 2 months ago
JSON representation

A simple PHP build tool.

Awesome Lists containing this project

README

          

Go
==

[![Build Status]](http://travis-ci.org/herrera-io/php-go)

Go is a simple PHP build tool built on [Symfony Console][].

**Gofile**:

```php
writeln(
sprintf(
'Hello, %s%s',
$input->getArgument('name'),
$input->getOption('ending')
)
);
}
);

// add an argument to the task
arg('name', ARG_IS_OPTIONAL, 'Your name', 'world');

// add an option to the task
option('ending', 'e', OPT_IS_OPTIONAL, 'How to end', '!');
```

```sh
$ bin/go hello
Hello, world!
$ bin/go hello Kevin -e .
Hello, Kevin.
```

Documentation
-------------

- [Installing][]
- [Usage][]

[Build Status]: https://secure.travis-ci.org/herrera-io/php-go.png?branch=master
[Symfony Console]: http://symfony.com/doc/current/components/console/introduction.html
[Installing]: doc/00-Installing.md
[Usage]: doc/01-Usage.md