Skip to content

Commit

Permalink
Adding bin/sprite runner
Browse files Browse the repository at this point in the history
  • Loading branch information
merbjedi committed Nov 16, 2009
1 parent 04dd536 commit 95c905e
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/sprite
@@ -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!
21 changes: 21 additions & 0 deletions lib/sprite/runner.rb
@@ -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.