Sha256: 551a213223f8ac7a6140004a6b510d1cdf1e1eb0bc6b59f6442c1e01cd3f93b8

Contents?: true

Size: 492 Bytes

Versions: 14

Compression:

Stored size: 492 Bytes

Contents

# Define Thor tasks in the top level Default namespace.
class Default < Thor
  extend Forwardable
  include Appium::Thor::Helpers
  include Appium::Thor::Docs

  # For each possible option method, delegate calls to the config instance
  no_commands do
    def_delegators(:@cfg, *Appium::Thor::Config.options)
  end

  def initialize(args = [], options = {}, config = {})
    super
    # Aquire reference to the config defined in the Thorfile
    @cfg = Appium::Thor::Config.instance
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
appium_thor-1.2.0 lib/appium_thor/commands/init.rb
appium_thor-1.1.6 lib/appium_thor/commands/init.rb
appium_thor-1.1.5 lib/appium_thor/commands/init.rb
appium_thor-1.1.4 lib/appium_thor/commands/init.rb
appium_thor-1.1.3 lib/appium_thor/commands/init.rb
appium_thor-1.1.2 lib/appium_thor/commands/init.rb
appium_thor-1.1.1 lib/appium_thor/commands/init.rb
appium_thor-1.1.0 lib/appium_thor/commands/init.rb
appium_thor-1.0.1 lib/appium_thor/commands/init.rb
appium_thor-1.0.0 lib/appium_thor/commands/init.rb
appium_thor-0.0.7 lib/appium_thor/commands/init.rb
appium_thor-0.0.6 lib/appium_thor/commands/init.rb
appium_thor-0.0.5 lib/appium_thor/commands/init.rb
appium_thor-0.0.4 lib/appium_thor/commands/init.rb