Sha256: d1b1b2a1bf32bd91da1689aae2c3b2af2b7ab71d45051d9b5c4d4e054b9c26ec

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

require_relative "git"

module Octopolo
  module Scripts
    module Base
      def self.included(klass)
        class << klass
          attr_accessor :config
          attr_accessor :cli
        end

        klass.config = Octopolo.config
        klass.cli = Octopolo::CLI
      end
    end
  end
end

# Mostly used for tests
unless defined?(GLI)
  require 'gli'
  include GLI::App
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
octopolo-0.1.0 lib/octopolo/scripts.rb
octopolo-0.0.2 lib/octopolo/scripts.rb
octopolo-0.0.1 lib/octopolo/scripts.rb