Sha256: 8421c14261290d53cecbff20827aa5a34102ac65d8a0ec46a888c4b116b449e5

Contents?: true

Size: 639 Bytes

Versions: 6

Compression:

Stored size: 639 Bytes

Contents

require "thor"
require "review/retrovert/converter"

module ReVIEW
  module Retrovert
    class CLI < Thor
      desc "convert {review_starter_configfile} {outdir}", "convert Re:VIEW Starter project to Re:VIEW project"
      method_option "force", aliases: "f", desc: 'Force output', type: :boolean
      method_option "strict", desc: 'Only process files registered in the catalog', type: :boolean
      def convert(review_starter_configfile, outdir)
        Converter.execute(review_starter_configfile, outdir, options)
      end

      desc "version", "show version"
      def version()
        puts VERSION
      end

    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
review-retrovert-0.3.2 lib/review/retrovert/cli.rb
review-retrovert-0.3.1 lib/review/retrovert/cli.rb
review-retrovert-0.3.0 lib/review/retrovert/cli.rb
review-retrovert-0.2.2 lib/review/retrovert/cli.rb
review-retrovert-0.2.1 lib/review/retrovert/cli.rb
review-retrovert-0.2.0 lib/review/retrovert/cli.rb