Class: Fastlane::Actions::AdbAction
- Inherits:
-
Fastlane::Action
- Object
- Fastlane::Action
- Fastlane::Actions::AdbAction
- Defined in:
- lib/fastlane/actions/adb.rb
Constant Summary
Constants inherited from Fastlane::Action
Fastlane::Action::AVAILABLE_CATEGORIES
Documentation collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .category ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .example_code ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .output ⇒ Object
- .return_value ⇒ Object
Class Method Summary collapse
Methods inherited from Fastlane::Action
action_name, author, lane_context, method_missing, other_action, sample_return_value, sh, step_text
Class Method Details
.authors ⇒ Object
67 68 69 |
# File 'lib/fastlane/actions/adb.rb', line 67 def self. ["hjanuschka"] end |
.available_options ⇒ Object
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# File 'lib/fastlane/actions/adb.rb', line 27 def self. [ FastlaneCore::ConfigItem.new(key: :serial, env_name: "FL_ANDROID_SERIAL", description: "Android serial, which device should be used for this command", is_string: true, default_value: ""), FastlaneCore::ConfigItem.new(key: :command, env_name: "FL_ADB_COMMAND", description: "All commands you want to pass to the adb command, e.g. `kill-server`", optional: true, is_string: true), FastlaneCore::ConfigItem.new(key: :adb_path, env_name: "FL_ADB_PATH", optional: true, description: "The path to your `adb` binary", is_string: true, default_value: "adb") ] end |
.category ⇒ Object
51 52 53 |
# File 'lib/fastlane/actions/adb.rb', line 51 def self.category :building end |
.description ⇒ Object
17 18 19 |
# File 'lib/fastlane/actions/adb.rb', line 17 def self.description "Run ADB Actions" end |
.details ⇒ Object
21 22 23 24 25 |
# File 'lib/fastlane/actions/adb.rb', line 21 def self.details [ "see adb --help for more details" ].join("\n") end |
.example_code ⇒ Object
55 56 57 58 59 60 61 |
# File 'lib/fastlane/actions/adb.rb', line 55 def self.example_code [ 'adb( command: "shell ls" )' ] end |
.is_supported?(platform) ⇒ Boolean
71 72 73 |
# File 'lib/fastlane/actions/adb.rb', line 71 def self.is_supported?(platform) platform == :android end |
.output ⇒ Object
48 49 |
# File 'lib/fastlane/actions/adb.rb', line 48 def self.output end |
.return_value ⇒ Object
63 64 65 |
# File 'lib/fastlane/actions/adb.rb', line 63 def self.return_value "The output of the adb command" end |