Sha256: 17819ee596a9c9f507c892e506f85ef2e7d40038328860d503c6228a822dd530

Contents?: true

Size: 516 Bytes

Versions: 7

Compression:

Stored size: 516 Bytes

Contents

#!/usr/bin/env ruby

$LOAD_PATH.unshift File.join(File.dirname(__FILE__), '..', 'lib')

require 'mercenary'
require 'svgeez'

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

  Svgeez::Command.subclasses.each do |command|
    command.init_with_program(program)
  end

  program.action do |args, _|
    if args.empty?
      puts program
      abort
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
svgeez-4.1.0 exe/svgeez
svgeez-4.0.0 exe/svgeez
svgeez-3.2.0 exe/svgeez
svgeez-3.1.0 exe/svgeez
svgeez-3.0.0 exe/svgeez
svgeez-2.0.1 exe/svgeez
svgeez-2.0.0 exe/svgeez