Class: Fastlane::Actions::BranchReportAction
- Inherits:
-
Action
- Object
- Action
- Fastlane::Actions::BranchReportAction
- Defined in:
- lib/fastlane/plugin/branch/actions/branch_report_action.rb
Class Method Summary collapse
- .authors ⇒ Object
- .available_options ⇒ Object
- .category ⇒ Object
- .description ⇒ Object
- .details ⇒ Object
- .example_code ⇒ Object
- .is_supported?(platform) ⇒ Boolean
- .run(params) ⇒ Object
Class Method Details
.authors ⇒ Object
21 22 23 24 25 26 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 21 def self. [ "Branch <[email protected]>", "Jimmy Dee <[email protected]>" ] end |
.available_options ⇒ Object
40 41 42 43 44 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 40 def self. BranchIOCLI::Configuration::ReportConfiguration..map do |option| FastlaneCore::ConfigItem.from_branch_option(option) end end |
.category ⇒ Object
50 51 52 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 50 def self.category :project end |
.description ⇒ Object
17 18 19 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 17 def self.description "Generate a brief summary or a full build report for your project." end |
.details ⇒ Object
28 29 30 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 28 def self.details render :report_description end |
.example_code ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 32 def self.example_code [ "branch_report", "branch_report(header_only: true)", "branch_report(workspace: \"MyWorkspace.xcworkspace\")" ] end |
.is_supported?(platform) ⇒ Boolean
46 47 48 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 46 def self.is_supported?(platform) platform == :ios end |
.run(params) ⇒ Object
10 11 12 13 14 15 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 10 def self.run(params) config = BranchIOCLI::Configuration::ReportConfiguration.wrapper params, false BranchIOCLI::Command::ReportCommand.new(config).run! rescue StandardError => e UI.user_error! "Error in BranchReportAction: #{e.}\n#{e.backtrace}" end |