Skip to content

Instantly share code, notes, and snippets.

@shupp
Created May 7, 2011 23:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save shupp/960957 to your computer and use it in GitHub Desktop.
Save shupp/960957 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