Sha256: a4fc3e61fe78a67d10a29f94f903e911f2522a1e7c185b9d7ddae9d90e9a5897

Contents?: true

Size: 531 Bytes

Versions: 2

Compression:

Stored size: 531 Bytes

Contents

require 'thor'
require 'fontcustom'

module Fontcustom
  class CLI < Thor
    desc 'compile INPUT_DIR [OUTPUT_DIR]', 'Generates icon webfonts and a corresponding CSS file from a collection of vector images.'
    def compile(input, output = nil)
      Fontcustom.compile(input, output)
    end

    desc 'watch INPUT_DIR [OUTPUT_DIR]', 'Watches a directory of vector images for changes and regenerates icon webfonts and CSS when there are.'
    def watch(input, output = nil)
      Fontcustom.watch(input, output)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fontcustom-0.0.2 lib/fontcustom/cli.rb
fontcustom-0.0.1 lib/fontcustom/cli.rb