Sha256: 86f4df5b5f158af8c73404c40f034275d5d00b30676b784f298863ffb11acd89
Contents?: true
Size: 720 Bytes
Versions: 13
Compression:
Stored size: 720 Bytes
Contents
module Fontist class ImportCLI < Thor include CLI::ClassOptions desc "google", "Import Google fonts" def google handle_class_options(options) require "fontist/import/google_import" Fontist::Import::GoogleImport.new.call CLI::STATUS_SUCCESS end desc "macos", "Create formula for on-demand macOS fonts" def macos handle_class_options(options) require_relative "import/macos" Import::Macos.new.call CLI::STATUS_SUCCESS end desc "sil", "Import formulas from SIL" def sil handle_class_options(options) require "fontist/import/sil_import" Fontist::Import::SilImport.new.call CLI::STATUS_SUCCESS end end end
Version data entries
13 entries across 13 versions & 1 rubygems