Sha256: 0b51ed0a6196331f14964fc76c0afc07966668bc9d7680004b8c1191e6d5cc7c
Contents?: true
Size: 581 Bytes
Versions: 6
Compression:
Stored size: 581 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 [FOLDER]', 'Source folder (defaults to ./)' c.option 'destination', '-d', '--destination [OUTPUT]', 'Destination file or folder (defaults to ./_svgeez/svgeez.svg)' c.option 'svgo', '--with-svgo', 'Optimize source SVGs with SVGO before sprite generation (non-destructive)' end end end end
Version data entries
6 entries across 6 versions & 1 rubygems