Sha256: 628789152e5f1a642f4bb3bebb06ac8cb3bf592c1754665383cca16f8b331c0a

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

module Source2MD
  class Cli < Thor
    class_option :debug, type: :boolean
    class_option :quiet, type: :boolean

    desc "generate [files]", "生成"
    option :output_file, type: :string, aliases: "-o", default: "output.md"
    def generate(*files)
      Generator.new(options.to_options.merge(files: files)).call
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
source2md-0.0.1 lib/source2md/cli.rb