Sha256: 3bddfc96aec5db902490e9f9bce9311304118ca1f9332a8719d6f0a82b6763e5

Contents?: true

Size: 483 Bytes

Versions: 1

Compression:

Stored size: 483 Bytes

Contents

module Fontist
  class ImportCLI < Thor
    include CLI::ClassOptions

    desc "macos", "Create formula for on-demand macOS fonts"
    option :name, desc: "Example: Big Sur", required: true
    option :fonts_link,
           desc: "A link to a list of available fonts in a current OS",
           required: true
    def macos
      handle_class_options(options)
      require_relative "import/macos"
      Import::Macos.new(options).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/import_cli.rb