Sha256: 5c643900ae81fc3f0ada91531c3d2e789510c68738a60a73b4c2e5771ae4608e

Contents?: true

Size: 453 Bytes

Versions: 6

Compression:

Stored size: 453 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift File.join(File.dirname(__FILE__), *%w{ .. lib })

require 'svgeez'
require 'mercenary'

Mercenary.program(:svgeez) do |p|
  p.version Svgeez::VERSION
  p.description 'Generate an SVG sprite from a folder of SVG icons.'
  p.syntax 'svgeez <subcommand> [options]'

  Svgeez::Command.subclasses.each { |c| c.init_with_program(p) }

  p.action do |args, options|
    if args.empty?
      puts p
      abort
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
svgeez-0.2.0 bin/svgeez
svgeez-0.1.4 bin/svgeez
svgeez-0.1.3 bin/svgeez
svgeez-0.1.2 bin/svgeez
svgeez-0.1.1 bin/svgeez
svgeez-0.1.0 bin/svgeez