Permalink
Browse files

Adding bin/sprite runner

  • Loading branch information...
1 parent 04dd536 commit 95c905e4833b9de688c185ddbf0aaecb8131955d @merbjedi committed Nov 16, 2009
Showing with 29 additions and 0 deletions.
  1. +8 −0 bin/sprite
  2. +21 −0 lib/sprite/runner.rb
View
@@ -0,0 +1,8 @@
+#!/usr/bin/env ruby
+# The compass command line utility
+
+require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'sprite'))
+require File.expand_path(File.join(File.dirname(__FILE__), '..', 'lib', 'sprite', 'runner'))
+
+command = Sprite::Runner.new(ARGV)
+exit command.run!
View
@@ -0,0 +1,21 @@
+module Sprite
+ class Runner
+
+ attr_accessor :options
+ def initialize(args)
+ self.args = args
+ self.options = {}
+ parse(args)
+ end
+
+ def parse(args)
+ # TODO: edit options with passed in args
+ end
+
+ # run sprite creator
+ def run!
+ # TODO
+ end
+
+ end
+end

0 comments on commit 95c905e

Please sign in to comment.