GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kherge-archive/php-go: A simple PHP build tool.

This repository was archived by the owner on Feb 1, 2020. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

64 Commits
64 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
doc
doc
 
 
src
src
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
Gofile
Gofile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
box.json
box.json
 
 
composer.json
composer.json
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

Go

Build Status

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

Gofile:

<?php

use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

// create our task
task(
    'hello',
    'Say hello',
    function (InputInterface $input, OutputInterface $output) {
        $output->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', '!');
$ bin/go hello
Hello, world!
$ bin/go hello Kevin -e .
Hello, Kevin.

Documentation

  • Installing
  • Usage

About

A simple PHP build tool.

Resources

Readme
MIT license
Activity
Custom properties

Stars

68 stars

Watchers

0 watching

Forks

5 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.