Skip to content

Instantly share code, notes, and snippets.

@terjesb
Forked from shupp/consumer_cli.php
Created March 6, 2012 18:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save terjesb/1988059 to your computer and use it in GitHub Desktop.
Save terjesb/1988059 to your computer and use it in GitHub Desktop.
CLI harness for EC_Consumer
#!/bin/env php
<?php
// External application bootstrapping
require_once __DIR__ . '/cli_init.php';
// Instantiate and run the consumer
$consumer = new EC_Consumer($argv);
$consumer->run();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment