Sha256: 9be5f15483fa69bc7ac4463bc030286ee73abc68e0e7d6525bb78b2395cf35b5
Contents?: true
Size: 562 Bytes
Versions: 5
Compression:
Stored size: 562 Bytes
Contents
module Svgeez class Command class << self def subclasses @subclasses ||= [] end def inherited(base) subclasses << base super(base) end def add_build_options(c) c.option 'source', '-s', '--source [DIR]', 'Source directory (defaults to ./)' c.option 'destination', '-d', '--destination [DIR]', 'Destination directory (defaults to ./_svgeez)' c.option 'svgo', '--with-svgo', 'Optimize source SVGs with SVGO before sprite generation (non-destructive)' end end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
svgeez-0.1.4 | lib/svgeez/command.rb |
svgeez-0.1.3 | lib/svgeez/command.rb |
svgeez-0.1.2 | lib/svgeez/command.rb |
svgeez-0.1.1 | lib/svgeez/command.rb |
svgeez-0.1.0 | lib/svgeez/command.rb |