Sha256: 3def3c92a356ddbfc0271858cd6e3dd9df5b3b8645ae0efbbbe597f93e516a49

Contents?: true

Size: 521 Bytes

Versions: 1

Compression:

Stored size: 521 Bytes

Contents

module Fontist
  class GoogleCLI < Thor
    include CLI::ClassOptions

    desc "check", "Check Google fonts for updates"
    def check
      handle_class_options(options)
      require "fontist/import/google_check"
      Fontist::Import::GoogleCheck.new.call
      CLI::STATUS_SUCCESS
    end

    desc "import", "Import Google fonts"
    def import
      handle_class_options(options)
      require "fontist/import/google_import"
      Fontist::Import::GoogleImport.new.call
      CLI::STATUS_SUCCESS
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fontist-1.13.2 lib/fontist/google_cli.rb