Class: Appium::CLI::Main

Inherits:
Thor
  • Object
show all
Defined in:
lib/cli.rb

Instance Method Summary collapse

Instance Method Details

#initObject


79
80
81
82
# File 'lib/cli.rb', line 79

def init
  Appium::Console.setup Config.default_appium_txt_path
  Appium::Console.start
end

#toml(appium_txt_path = Config.default_appium_txt_path) ⇒ Object


73
74
75
76
# File 'lib/cli.rb', line 73

def toml(appium_txt_path = Config.default_appium_txt_path)
  Appium::Console.setup appium_txt_path
  Appium::Console.start
end

#versionObject


65
66
67
68
69
70
# File 'lib/cli.rb', line 65

def version
  puts "appium_console: v\#{::Appium::Console::VERSION}\nappium_lib: v\#{::Appium::VERSION}\n"
end