From eafe4ebe27f366bb4e24d321a5ff157feaa798b2 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Sat, 30 Apr 2011 15:26:20 +0300 Subject: added partsLookup, gsxcl --- gsxcl | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100755 gsxcl (limited to 'gsxcl') diff --git a/gsxcl b/gsxcl new file mode 100755 index 0000000..a2fc4e8 --- /dev/null +++ b/gsxcl @@ -0,0 +1,50 @@ +#!/usr/bin/env php + + */ + +if (false) { + error_reporting(E_ALL|E_STRICT); +} + +require 'gsxlib.php'; + +if (count($argv) < 6) { + echo <<warrantyStatus($opts['q'])); + break; + case 'parts': + print_r($gsx->partsLookup($opts['q'])); + break; +} + +?> \ No newline at end of file -- cgit v1.2.3