Sha256: e41eda83aa9e62f8cae03987101441e66b207aa9506340f9ec58aa691f312e75

Contents?: true

Size: 490 Bytes

Versions: 1

Compression:

Stored size: 490 Bytes

Contents

# frozen_string_literal: true

require "thor"

module Groundskeeper
  # Bootstrap this as a Thor application.
  class Application < Thor
    attr_reader :commands

    def initialize(args = [], local_options = {}, config = {})
      @commands = Commands.build(self)
      super
    end

    desc "info", "Display revision info"
    def info
      commands.info
    end

    desc "release", "create a new release"
    def release
      commands.info
      commands.release
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
groundskeeper-bitcore-0.1.1 lib/groundskeeper/application.rb