fastlane 1.104.0 → 1.105.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (187) hide show
  1. checksums.yaml +4 -4
  2. data/lib/.DS_Store +0 -0
  3. data/lib/assets/.DS_Store +0 -0
  4. data/lib/assets/Actions.md.erb +78 -0
  5. data/lib/assets/AvailablePlugins.md.erb +2 -2
  6. data/lib/{fastlane/plugins → assets/completions}/.DS_Store +0 -0
  7. data/lib/fastlane/.DS_Store +0 -0
  8. data/lib/fastlane/action.rb +33 -0
  9. data/lib/fastlane/actions/.DS_Store +0 -0
  10. data/lib/fastlane/actions/adb.rb +12 -0
  11. data/lib/fastlane/actions/adb_devices.rb +21 -2
  12. data/lib/fastlane/actions/add_git_tag.rb +31 -0
  13. data/lib/fastlane/actions/appaloosa.rb +27 -0
  14. data/lib/fastlane/actions/appetize.rb +23 -1
  15. data/lib/fastlane/actions/appetize_viewing_url_generator.rb +3 -1
  16. data/lib/fastlane/actions/appium.rb +18 -0
  17. data/lib/fastlane/actions/appledoc.rb +24 -0
  18. data/lib/fastlane/actions/appstore.rb +8 -0
  19. data/lib/fastlane/actions/apteligent.rb +13 -0
  20. data/lib/fastlane/actions/artifactory.rb +17 -0
  21. data/lib/fastlane/actions/backup_file.rb +10 -0
  22. data/lib/fastlane/actions/backup_xcarchive.rb +15 -0
  23. data/lib/fastlane/actions/badge.rb +15 -1
  24. data/lib/fastlane/actions/build_and_upload_to_appetize.rb +14 -1
  25. data/lib/fastlane/actions/bundle_install.rb +9 -0
  26. data/lib/fastlane/actions/carthage.rb +23 -0
  27. data/lib/fastlane/actions/cert.rb +21 -0
  28. data/lib/fastlane/actions/changelog_from_git_commits.rb +16 -0
  29. data/lib/fastlane/actions/chatwork.rb +20 -1
  30. data/lib/fastlane/actions/clean_build_artifacts.rb +19 -1
  31. data/lib/fastlane/actions/clean_cocoapods_cache.rb +11 -0
  32. data/lib/fastlane/actions/clear_derived_data.rb +11 -0
  33. data/lib/fastlane/actions/clipboard.rb +11 -0
  34. data/lib/fastlane/actions/cloc.rb +18 -1
  35. data/lib/fastlane/actions/cocoapods.rb +18 -0
  36. data/lib/fastlane/actions/commit_version_bump.rb +30 -0
  37. data/lib/fastlane/actions/copy_artifacts.rb +25 -0
  38. data/lib/fastlane/actions/crashlytics.rb +24 -1
  39. data/lib/fastlane/actions/create_keychain.rb +16 -0
  40. data/lib/fastlane/actions/create_pull_request.rb +18 -0
  41. data/lib/fastlane/actions/danger.rb +20 -1
  42. data/lib/fastlane/actions/debug.rb +10 -0
  43. data/lib/fastlane/actions/default_platform.rb +10 -0
  44. data/lib/fastlane/actions/delete_keychain.rb +14 -0
  45. data/lib/fastlane/actions/deliver.rb +26 -0
  46. data/lib/fastlane/actions/deploygate.rb +25 -2
  47. data/lib/fastlane/{plugins/templates → actions/device_grid}/.DS_Store +0 -0
  48. data/lib/fastlane/actions/dotgpg_environment.rb +10 -0
  49. data/lib/fastlane/actions/download.rb +10 -0
  50. data/lib/fastlane/actions/download_dsyms.rb +20 -2
  51. data/lib/fastlane/actions/dsym_zip.rb +17 -0
  52. data/lib/fastlane/actions/ensure_git_branch.rb +21 -0
  53. data/lib/fastlane/actions/ensure_git_status_clean.rb +18 -0
  54. data/lib/fastlane/actions/ensure_no_debug_code.rb +21 -1
  55. data/lib/fastlane/actions/ensure_xcode_version.rb +8 -0
  56. data/lib/fastlane/actions/erb.rb +30 -1
  57. data/lib/fastlane/actions/fastlane_version.rb +17 -2
  58. data/lib/fastlane/actions/flock.rb +20 -0
  59. data/lib/fastlane/actions/frameit.rb +18 -0
  60. data/lib/fastlane/actions/gcovr.rb +18 -0
  61. data/lib/fastlane/actions/get_build_number.rb +10 -0
  62. data/lib/fastlane/actions/get_build_number_repository.rb +18 -0
  63. data/lib/fastlane/actions/get_github_release.rb +18 -1
  64. data/lib/fastlane/actions/get_info_plist_value.rb +14 -0
  65. data/lib/fastlane/actions/get_ipa_info_plist_value.rb +10 -0
  66. data/lib/fastlane/actions/get_version_number.rb +10 -0
  67. data/lib/fastlane/actions/git_add.rb +11 -7
  68. data/lib/fastlane/actions/git_branch.rb +10 -0
  69. data/lib/fastlane/actions/git_commit.rb +13 -0
  70. data/lib/fastlane/actions/git_pull.rb +11 -0
  71. data/lib/fastlane/actions/git_tag_exists.rb +12 -0
  72. data/lib/fastlane/actions/gradle.rb +45 -0
  73. data/lib/fastlane/actions/gym.rb +25 -3
  74. data/lib/fastlane/actions/hg_add_tag.rb +10 -0
  75. data/lib/fastlane/actions/hg_commit_version_bump.rb +26 -0
  76. data/lib/fastlane/actions/hg_ensure_clean_status.rb +14 -0
  77. data/lib/fastlane/actions/hg_push.rb +18 -0
  78. data/lib/fastlane/actions/hipchat.rb +19 -0
  79. data/lib/fastlane/actions/hockey.rb +22 -1
  80. data/lib/fastlane/actions/ifttt.rb +20 -0
  81. data/lib/fastlane/actions/import.rb +10 -0
  82. data/lib/fastlane/actions/import_certificate.rb +19 -0
  83. data/lib/fastlane/actions/import_from_git.rb +14 -0
  84. data/lib/fastlane/actions/increment_build_number.rb +24 -2
  85. data/lib/fastlane/actions/increment_version_number.rb +31 -0
  86. data/lib/fastlane/actions/install_on_device.rb +17 -0
  87. data/lib/fastlane/actions/install_xcode_plugin.rb +11 -0
  88. data/lib/fastlane/actions/installr.rb +17 -1
  89. data/lib/fastlane/actions/ipa.rb +25 -1
  90. data/lib/fastlane/actions/is_ci.rb +14 -1
  91. data/lib/fastlane/actions/jazzy.rb +10 -0
  92. data/lib/fastlane/actions/jira.rb +16 -3
  93. data/lib/fastlane/actions/lane_context.rb +8 -0
  94. data/lib/fastlane/actions/last_git_commit.rb +23 -0
  95. data/lib/fastlane/actions/last_git_tag.rb +14 -0
  96. data/lib/fastlane/actions/latest_testflight_build_number.rb +21 -1
  97. data/lib/fastlane/actions/lcov.rb +14 -0
  98. data/lib/fastlane/actions/mailgun.rb +25 -0
  99. data/lib/fastlane/actions/make_changelog_from_jenkins.rb +13 -0
  100. data/lib/fastlane/actions/match.rb +11 -0
  101. data/lib/fastlane/actions/nexus_upload.rb +20 -0
  102. data/lib/fastlane/actions/notification.rb +10 -0
  103. data/lib/fastlane/actions/notify.rb +9 -1
  104. data/lib/fastlane/actions/number_of_commits.rb +15 -0
  105. data/lib/fastlane/actions/oclint.rb +35 -0
  106. data/lib/fastlane/actions/onesignal.rb +17 -3
  107. data/lib/fastlane/actions/opt_out_usage.rb +10 -0
  108. data/lib/fastlane/actions/pem.rb +19 -0
  109. data/lib/fastlane/actions/pilot.rb +17 -0
  110. data/lib/fastlane/actions/pod_lib_lint.rb +16 -0
  111. data/lib/fastlane/actions/pod_push.rb +17 -3
  112. data/lib/fastlane/actions/podio_item.rb +16 -0
  113. data/lib/fastlane/actions/produce.rb +19 -0
  114. data/lib/fastlane/actions/prompt.rb +20 -0
  115. data/lib/fastlane/actions/push_git_tags.rb +14 -0
  116. data/lib/fastlane/actions/push_to_git_remote.rb +25 -0
  117. data/lib/fastlane/actions/puts.rb +10 -0
  118. data/lib/fastlane/actions/read_podspec.rb +23 -1
  119. data/lib/fastlane/actions/recreate_schemes.rb +10 -0
  120. data/lib/fastlane/actions/register_devices.rb +31 -0
  121. data/lib/fastlane/actions/reset_git_repo.rb +18 -0
  122. data/lib/fastlane/actions/reset_simulators.rb +10 -0
  123. data/lib/fastlane/actions/resign.rb +24 -2
  124. data/lib/fastlane/actions/restore_file.rb +10 -0
  125. data/lib/fastlane/actions/rocket.rb +14 -0
  126. data/lib/fastlane/actions/rsync.rb +13 -0
  127. data/lib/fastlane/actions/s3.rb +30 -0
  128. data/lib/fastlane/actions/say.rb +10 -0
  129. data/lib/fastlane/actions/scan.rb +16 -1
  130. data/lib/fastlane/actions/scp.rb +25 -0
  131. data/lib/fastlane/actions/screengrab.rb +16 -0
  132. data/lib/fastlane/actions/set_build_number_repository.rb +16 -3
  133. data/lib/fastlane/actions/set_changelog.rb +14 -1
  134. data/lib/fastlane/actions/set_github_release.rb +18 -0
  135. data/lib/fastlane/actions/set_info_plist_value.rb +10 -4
  136. data/lib/fastlane/actions/set_pod_key.rb +18 -0
  137. data/lib/fastlane/actions/setup_jenkins.rb +15 -1
  138. data/lib/fastlane/actions/sigh.rb +19 -0
  139. data/lib/fastlane/actions/skip_docs.rb +14 -0
  140. data/lib/fastlane/actions/slack.rb +34 -0
  141. data/lib/fastlane/actions/slather.rb +15 -2
  142. data/lib/fastlane/actions/snapshot.rb +14 -0
  143. data/lib/fastlane/actions/sonar.rb +37 -19
  144. data/lib/fastlane/actions/splunkmint.rb +14 -0
  145. data/lib/fastlane/actions/ssh.rb +18 -1
  146. data/lib/fastlane/actions/supply.rb +10 -2
  147. data/lib/fastlane/actions/swiftlint.rb +19 -0
  148. data/lib/fastlane/actions/team_id.rb +10 -0
  149. data/lib/fastlane/actions/team_name.rb +10 -0
  150. data/lib/fastlane/actions/testfairy.rb +19 -1
  151. data/lib/fastlane/actions/testflight.rb +8 -0
  152. data/lib/fastlane/actions/tryouts.rb +19 -1
  153. data/lib/fastlane/actions/twitter.rb +18 -1
  154. data/lib/fastlane/actions/typetalk.rb +16 -0
  155. data/lib/fastlane/actions/unlock_keychain.rb +27 -0
  156. data/lib/fastlane/actions/update_app_group_identifiers.rb +17 -0
  157. data/lib/fastlane/actions/update_app_identifier.rb +18 -0
  158. data/lib/fastlane/actions/update_fastlane.rb +27 -0
  159. data/lib/fastlane/actions/update_icloud_container_identifiers.rb +17 -0
  160. data/lib/fastlane/actions/update_info_plist.rb +38 -0
  161. data/lib/fastlane/actions/update_project_code_signing.rb +10 -2
  162. data/lib/fastlane/actions/update_project_provisioning.rb +17 -1
  163. data/lib/fastlane/actions/update_project_team.rb +14 -1
  164. data/lib/fastlane/actions/update_urban_airship_configuration.rb +14 -0
  165. data/lib/fastlane/actions/update_url_schemes.rb +21 -0
  166. data/lib/fastlane/actions/upload_symbols_to_crashlytics.rb +10 -0
  167. data/lib/fastlane/actions/upload_symbols_to_sentry.rb +15 -0
  168. data/lib/fastlane/actions/verify_build.rb +14 -0
  169. data/lib/fastlane/actions/verify_pod_keys.rb +15 -1
  170. data/lib/fastlane/actions/verify_xcode.rb +11 -0
  171. data/lib/fastlane/actions/version_bump_podspec.rb +11 -0
  172. data/lib/fastlane/actions/version_get_podspec.rb +10 -0
  173. data/lib/fastlane/actions/xcode_install.rb +11 -0
  174. data/lib/fastlane/actions/xcode_select.rb +14 -0
  175. data/lib/fastlane/actions/xcode_server_get_assets.rb +13 -0
  176. data/lib/fastlane/actions/xcodebuild.rb +68 -1
  177. data/lib/fastlane/actions/xcov.rb +18 -1
  178. data/lib/fastlane/actions/xctool.rb +21 -1
  179. data/lib/fastlane/actions/xcversion.rb +17 -2
  180. data/lib/fastlane/actions/zip.rb +14 -0
  181. data/lib/fastlane/commands_generator.rb +2 -4
  182. data/lib/fastlane/documentation/markdown_docs_generator.rb +142 -0
  183. data/lib/fastlane/features.rb +4 -2
  184. data/lib/fastlane/lane_manager.rb +6 -2
  185. data/lib/fastlane/setup/crashlytics_beta.rb +6 -4
  186. data/lib/fastlane/version.rb +1 -1
  187. metadata +37 -33
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3b26b52939a17cf65ea9c22d2a7d8b43592f89d9
4
- data.tar.gz: 38a7c3fc0fc60eabd03a26715457fbc0e5373048
3
+ metadata.gz: f9312f91a742670a12fe827ceb8b6876bc0ebc58
4
+ data.tar.gz: deffb3c8f089730cc917fec54dea826ee70ffa64
5
5
  SHA512:
6
- metadata.gz: bd33eb7f6d926a656b17615772b1e38dcd07b8a4851fabc230113e356b1a1c44dca7c11bf6c36e836a7b08ee833ae6c613f78123e9ea1cb441944bc4d1c76709
7
- data.tar.gz: 8c420e4c6279c9cae2f92d08e1784b53497ac847e358521db1caac9b332f46fed8db1ede711f323681d6d685ed905b4f52b99fc2930125c129e24f1da6a42749
6
+ metadata.gz: 2e6ae9904194cc2349e56f46e8152e0531f8b6c41dbd90b8f1c7e9793d005122e2fd2b44260794263e9ff82568b7d46d1884718d050a3666546979fe95151ddc
7
+ data.tar.gz: 22db4c5c609a3222de2509bc95113343ddc80f5b1ae7afc5c345e85e651e4de58366b62bdd1bb65786e1e475be9741716f17328a0ae7ed9ce3382225cf721941
data/lib/.DS_Store CHANGED
Binary file
Binary file
@@ -0,0 +1,78 @@
1
+ # fastlane actions
2
+
3
+ This page contains a list of all built-in fastlane actions and their available options.
4
+
5
+ To get the most up-to-date information from the command line on your current version you can also run
6
+
7
+ ```sh
8
+ fastlane actions # list all available fastlane actions
9
+ fastlane action [action_name] # more information for a specific action
10
+ ```
11
+
12
+ You can import another `Fastfile` by using the `import` action. This is useful if you have shared lanes across multiple apps and you want to store a `Fastfile` in a separate folder. The path must be relative to the `Fastfile` this is called from.
13
+
14
+ ```ruby
15
+ import './path/to/other/Fastfile'
16
+ ```
17
+
18
+ <%- @categories.each do |category, actions| -%>
19
+ - [<%= category %>](#<%= category.gsub(" ", "-").downcase %>)
20
+ <%- end -%>
21
+ - [Plugins](#Plugins)
22
+
23
+
24
+
25
+ <%- @categories.each do |category, actions| %>
26
+ # <%= category %>
27
+ <%- actions.sort.reverse.to_h.each do |_number_of_launches, action| -%>
28
+
29
+ ### <%= action.action_name %>
30
+
31
+ <%= action.description %>
32
+
33
+ <%= "> #{action.details.gsub("\n\n", "\n")}" unless action.details.to_s.empty? %>
34
+
35
+ <%= action.action_name %> |
36
+ -----|----
37
+ Supported platforms | <%= [:ios, :android, :mac].find_all { |a| action.is_supported?(a) }.join(", ") %>
38
+ Author | @<%= Array(action.author || action.authors).join(", @") %>
39
+ <%- unless action.return_value.to_s.empty? -%>
40
+ Returns | <%= action.return_value %>
41
+ <%- end -%>
42
+
43
+ <% if (action.example_code || []).count > 0 %>
44
+
45
+ <details>
46
+ <summary><%= action.example_code.count %> Example<%= (action.example_code.count > 1) ? "s" : "" %></summary>
47
+ <% action.example_code.each do |current_sample| %>
48
+ ```ruby
49
+ <%= current_sample.gsub(" ", "") %>
50
+ ```
51
+ <% end %>
52
+ <% end %>
53
+ </details>
54
+
55
+ <% if action.available_options && action.available_options.first.kind_of?(FastlaneCore::ConfigItem) %>
56
+ <details>
57
+ <summary>Parameters</summary>
58
+
59
+ Key | Description
60
+ ----|------------
61
+ <%- (action.available_options || []).each do |config_item| -%>
62
+ <%- next unless config_item.kind_of?(FastlaneCore::ConfigItem) -%>
63
+ `<%= config_item.key %>` | <%= config_item.description %>
64
+ <%- end %>
65
+ </details>
66
+ <% end %>
67
+
68
+
69
+
70
+ <%- end %>
71
+ <%- end %>
72
+
73
+ # Plugins
74
+ | Action | Plugin | Description | Usage Number
75
+ ---------|--------|-------------|--------------
76
+ <%- @plugins.each do |plugin| -%>
77
+ <%= plugin[:action_name] %> | <%= plugin[:linked_title] %> | <%= plugin[:description] %> | <%= plugin[:usage] %>
78
+ <%- end -%>
@@ -2,13 +2,13 @@
2
2
 
3
3
  To get an up to date list of all available plugins run
4
4
 
5
- ```
5
+ ```no-highlight
6
6
  fastlane search_plugins
7
7
  ```
8
8
 
9
9
  To search for a specific plugin
10
10
 
11
- ```
11
+ ```no-highlight
12
12
  fastlane search_plugins [search_query]
13
13
  ```
14
14
 
Binary file
@@ -2,6 +2,22 @@ require 'fastlane/actions/actions_helper'
2
2
 
3
3
  module Fastlane
4
4
  class Action
5
+ AVAILABLE_CATEGORIES = [
6
+ :testing,
7
+ :building,
8
+ :screenshots,
9
+ :project,
10
+ :code_signing,
11
+ :documentation,
12
+ :beta,
13
+ :push,
14
+ :production,
15
+ :source_control,
16
+ :notifications,
17
+ :deprecated,
18
+ :misc
19
+ ]
20
+
5
21
  class << self
6
22
  attr_accessor :runner
7
23
  end
@@ -40,6 +56,13 @@ module Fastlane
40
56
  nil
41
57
  end
42
58
 
59
+ def self.sample_return_value
60
+ # Very optional
61
+ # You can return a sample return value, that might be returned by the actual action
62
+ # This is currently only used when generating the documentation and running its tests
63
+ nil
64
+ end
65
+
43
66
  def self.author
44
67
  nil
45
68
  end
@@ -59,6 +82,11 @@ module Fastlane
59
82
  UI.crash!("Implementing `is_supported?` for all actions is mandatory. Please update #{self}")
60
83
  end
61
84
 
85
+ # Returns an array of string of sample usage of this action
86
+ def self.example_code
87
+ nil
88
+ end
89
+
62
90
  # Is printed out in the Steps: output in the terminal
63
91
  # Return nil if you don't want any logging in the terminal/JUnit Report
64
92
  def self.step_text
@@ -70,6 +98,11 @@ module Fastlane
70
98
  Fastlane::Actions.sh_control_output(command, print_command: print_command, print_command_output: print_command_output, error_callback: error_callback)
71
99
  end
72
100
 
101
+ # Documentation category, availabe values defined in AVAILABLE_CATEGORIES
102
+ def self.category
103
+ :undefined
104
+ end
105
+
73
106
  # instead of "AddGitAction", this will return "add_git" to print it to the user
74
107
  def self.action_name
75
108
  self.name.split('::').last.gsub('Action', '').fastlane_underscore
Binary file
@@ -48,6 +48,18 @@ module Fastlane
48
48
  def self.output
49
49
  end
50
50
 
51
+ def self.category
52
+ :building
53
+ end
54
+
55
+ def self.example_code
56
+ [
57
+ 'adb(
58
+ command: "shell ls"
59
+ )'
60
+ ]
61
+ end
62
+
51
63
  def self.return_value
52
64
  "The output of the adb command"
53
65
  end
@@ -20,7 +20,7 @@ module Fastlane
20
20
 
21
21
  def self.details
22
22
  [
23
- "fetches device list via adb"
23
+ "Fetches device list via adb, e.g. run an adb command on all connected devices."
24
24
  ].join("\n")
25
25
  end
26
26
 
@@ -38,8 +38,27 @@ module Fastlane
38
38
  def self.output
39
39
  end
40
40
 
41
+ def self.example_code
42
+ [
43
+ 'adb_devices.each do |device|
44
+ model = adb(command: "shell getprop ro.product.model",
45
+ serial: device.serial).strip
46
+
47
+ puts "Model #{model} is connected"
48
+ end'
49
+ ]
50
+ end
51
+
52
+ def self.sample_return_value
53
+ []
54
+ end
55
+
56
+ def self.category
57
+ :misc
58
+ end
59
+
41
60
  def self.return_value
42
- "Array of devices"
61
+ "Returns an array of all currently connected android devices"
43
62
  end
44
63
 
45
64
  def self.authors
@@ -23,6 +23,18 @@ module Fastlane
23
23
  "This will add an annotated git tag to the current branch"
24
24
  end
25
25
 
26
+ def self.details
27
+ [
28
+ "This will automatically tag your build with the following format: `<grouping>/<lane>/<prefix><build_number>`, where:",
29
+ "- `grouping` is just to keep your tags organised under one 'folder', defaults to 'builds'",
30
+ "- `lane` is the name of the current fastlane lane",
31
+ "- `prefix` is anything you want to stick in front of the version number, e.g. 'v'",
32
+ "- `build_number` is the build number, which defaults to the value emitted by the `increment_build_number` action",
33
+ "",
34
+ "For example for build 1234 in the 'appstore' lane it will tag the commit with `builds/appstore/1234`"
35
+ ].join("\n")
36
+ end
37
+
26
38
  def self.available_options
27
39
  [
28
40
  FastlaneCore::ConfigItem.new(key: :tag,
@@ -59,6 +71,25 @@ module Fastlane
59
71
  ]
60
72
  end
61
73
 
74
+ def self.example_code
75
+ [
76
+ 'add_git_tag # simple tag with default values',
77
+ 'add_git_tag(
78
+ grouping: "fastlane-builds",
79
+ prefix: "v",
80
+ build_number: 123
81
+ )',
82
+ '# Alternatively, you can specify your own tag. Note that if you do specify a tag, all other arguments are ignored.
83
+ add_git_tag(
84
+ tag: "my_custom_tag"
85
+ )'
86
+ ]
87
+ end
88
+
89
+ def self.category
90
+ :source_control
91
+ end
92
+
62
93
  def self.authors
63
94
  ["lmirosevic", "maschall"]
64
95
  end
@@ -226,6 +226,33 @@ module Fastlane
226
226
  url_for_download_response.kind_of?(Net::HTTPNotFound) ||
227
227
  url_for_download_response.kind_of?(Net::HTTPForbidden)
228
228
  end
229
+
230
+ def self.example_code
231
+ [
232
+ "appaloosa(
233
+ # Path tor your IPA or APK
234
+ binary: '/path/to/binary.ipa',
235
+ # You can find your store’s id at the bottom of the “Settings” page of your store
236
+ store_id: 'your_store_id',
237
+ # You can find your api_token at the bottom of the “Settings” page of your store
238
+ api_token: 'your_api_key',
239
+ # User group_ids visibility, if it's not specified we'll publish the app for all users in your store'
240
+ group_ids: '112, 232, 387',
241
+ # You can use fastlane/snapshot or specify your own screenshots folder.
242
+ # If you use snapshot please specify a local and a device to upload your screenshots from.
243
+ # When multiple values are specified in the Snapfile, we default to 'en-US'
244
+ locale: 'en-US',
245
+ # By default, the screenshots from the last device will be used
246
+ device: 'iPhone6',
247
+ # Screenshots' filenames should start with device's name like 'iphone6-s1.png' if device specified
248
+ screenshots: '/path/to_your/screenshots'
249
+ )"
250
+ ]
251
+ end
252
+
253
+ def self.category
254
+ :beta
255
+ end
229
256
  end
230
257
  end
231
258
  end
@@ -87,7 +87,15 @@ module Fastlane
87
87
  private_class_method :parse_response
88
88
 
89
89
  def self.description
90
- "Create or Update apps on Appetize.io"
90
+ "Upload your app to Appetize.io to stream it in the browser"
91
+ end
92
+
93
+ def self.details
94
+ [
95
+ "If you provide a `public_key`, this will overwrite an existing application. If you want to have this build as a new app version, you shouldn't provide this value.",
96
+ "",
97
+ "To integrate appetize into your GitHub workflow check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md)"
98
+ ].join("\n")
91
99
  end
92
100
 
93
101
  def self.available_options
@@ -143,6 +151,20 @@ module Fastlane
143
151
  def self.authors
144
152
  ["klundberg", "giginet"]
145
153
  end
154
+
155
+ def self.category
156
+ :beta
157
+ end
158
+
159
+ def self.example_code
160
+ [
161
+ 'appetize(
162
+ path: "./MyApp.zip",
163
+ api_token: "yourapitoken", # get it from https://appetize.io/docs#request-api-token
164
+ public_key: "your_public_key" # get it from https://appetize.io/dashboard
165
+ )'
166
+ ]
167
+ end
146
168
  end
147
169
  end
148
170
  end
@@ -39,6 +39,7 @@ module Fastlane
39
39
  end
40
40
 
41
41
  def self.details
42
+ "Check out the [device_grid guide](https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/device_grid/README.md) for more information"
42
43
  end
43
44
 
44
45
  def self.available_options
@@ -99,7 +100,8 @@ module Fastlane
99
100
  ]
100
101
  end
101
102
 
102
- def self.output
103
+ def self.category
104
+ :misc
103
105
  end
104
106
 
105
107
  def self.return_value
@@ -170,6 +170,24 @@ module Fastlane
170
170
  def self.is_supported?(platform)
171
171
  platform == :ios
172
172
  end
173
+
174
+ def self.category
175
+ :testing
176
+ end
177
+
178
+ def self.example_code
179
+ [
180
+ 'appium(
181
+ app_path: "appium/apps/TargetApp.app",
182
+ spec_path: "appium/spec",
183
+ platform: "iOS",
184
+ caps: {
185
+ versionNumber: "9.1",
186
+ deviceName: "iPhone 6"
187
+ }
188
+ )'
189
+ ]
190
+ end
173
191
  end
174
192
  end
175
193
  end
@@ -113,6 +113,10 @@ module Fastlane
113
113
  end
114
114
 
115
115
  def self.description
116
+ "Generate Apple-like source code documentation from the source code"
117
+ end
118
+
119
+ def self.details
116
120
  "Runs `appledoc [OPTIONS] <paths to source dirs or files>` for the project"
117
121
  end
118
122
 
@@ -191,6 +195,26 @@ module Fastlane
191
195
  def self.is_supported?(platform)
192
196
  [:ios, :mac].include?(platform)
193
197
  end
198
+
199
+ def self.category
200
+ :documentation
201
+ end
202
+
203
+ def self.example_code
204
+ [
205
+ 'appledoc(
206
+ project_name: "MyProjectName",
207
+ project_company: "Company Name",
208
+ input: "MyProjectSources",
209
+ ignore: [
210
+ "ignore/path/1",
211
+ "ingore/path/2"
212
+ ],
213
+ options: "--keep-intermediate-files --search-undocumented-doc",
214
+ warnings: "--warn-missing-output-path --warn-missing-company-id"
215
+ )'
216
+ ]
217
+ end
194
218
  end
195
219
  end
196
220
  end
@@ -30,6 +30,14 @@ module Fastlane
30
30
  def self.is_supported?(platform)
31
31
  Actions::DeliverAction.is_supported?(platform)
32
32
  end
33
+
34
+ def self.category
35
+ Actions::DeliverAction.category
36
+ end
37
+
38
+ def self.example_code
39
+ Actions::DeliverAction.example_code
40
+ end
33
41
  end
34
42
  end
35
43
  end