<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,37 @@
 #!/usr/bin/env ruby -w
+require File.dirname(__FILE__) + '/../lib/git-trip'
 
-puts 'Coming soon...'
+require 'optparse'
+
+options = { :dir =&gt; '.' }
+
+opts = OptionParser.new do |opt|
+  opt.banner = &quot;Usage: git-trip [options]&quot;
+
+  opt.separator 'Required (only use one):'
+  opt.on('-g', '--github TAG', 'Create an image from a Github tag (ex. Oshuma/git-trip).') do |g|
+    options[:github] = g
+  end
+  opt.on('-d', '--dir DIR', 'Create an image from a local git repository.') do |d|
+    options[:dir] = d
+  end
+  opt.on('-u', '--uri URI', 'Create an image from a URI (currently expects JSON).') do |u|
+    options[:uri] = u
+  end
+
+  opt.separator ''
+  opt.separator 'Optional:'
+
+  opt.on('-r', '--render [MODE]', [:blend, :pixel, :radial],
+         'Run the image through the given PaintMode.') do |r|
+    options[:mode] = r
+  end
+
+  opt.on_tail('-h', '--help', 'Show this help text.') do
+    puts opt; exit
+  end
+  opt.on_tail('--version', 'Show GitTrip version.') do
+    puts &quot;GitTrip v#{GitTrip::VERSION}&quot;
+  end
+end
+opts.parse!(ARGV)</diff>
      <filename>bin/git-trip</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6b051e7d36357dddae4830890659b01eeb9754c2</id>
    </parent>
  </parents>
  <author>
    <name>Dale Campbell</name>
    <email>dale@save-state.net</email>
  </author>
  <url>http://github.com/Oshuma/git-trip/commit/a99a50af71c39131a65b8080c875089dfcc46a53</url>
  <id>a99a50af71c39131a65b8080c875089dfcc46a53</id>
  <committed-date>2008-07-20T21:13:29-07:00</committed-date>
  <authored-date>2008-07-20T21:13:29-07:00</authored-date>
  <message>Starting on a console git-trip</message>
  <tree>5885f0ab18bb2ad99effb64052d0bd3f9e399cf9</tree>
  <committer>
    <name>Dale Campbell</name>
    <email>dale@save-state.net</email>
  </committer>
</commit>
