Sha256: 15f920427efb387bf71915c2508c2fe6be9716b72d1030c6ffdbf604b5a44e43

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

require "thor"
require "expressir/cli/ui"
require "expressir/express_parser"

module Expressir
  module Cli
    def self.ui
      Expressir::Cli::UI
    end

    def self.start(args)
      Base.start(args)
    end

    class Base < Thor
      desc "version", "The Expressir Version"
      def version
        Cli.ui.say("Version #{Expressir::VERSION}")
      end

      desc "express-to-owl FILE", "Express to OWL conversion"
      def express_to_owl(file)
        Cli.ui.say(ExpressParser.to_owl(file))
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
expressir-0.2.6 lib/expressir/cli.rb
expressir-0.2.5-x64-mingw32 lib/expressir/cli.rb
expressir-0.2.4-x64-mingw32 lib/expressir/cli.rb