class Fastlane::Actions::BranchReportAction

Public Class Methods

authors() click to toggle source
# File lib/fastlane/plugin/branch/actions/branch_report_action.rb, line 21
def self.authors
  [
    "Branch <integrations@branch.io>",
    "Jimmy Dee <jgvdthree@gmail.com>"
  ]
end
available_options() click to toggle source
# File lib/fastlane/plugin/branch/actions/branch_report_action.rb, line 40
def self.available_options
  BranchIOCLI::Configuration::ReportConfiguration.available_options.map do |option|
    FastlaneCore::ConfigItem.from_branch_option(option)
  end
end
category() click to toggle source
# File lib/fastlane/plugin/branch/actions/branch_report_action.rb, line 50
def self.category
  :project
end
description() click to toggle source
# 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() click to toggle source
# File lib/fastlane/plugin/branch/actions/branch_report_action.rb, line 28
def self.details
  render :report_description
end
example_code() click to toggle source
# 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) click to toggle source
# File lib/fastlane/plugin/branch/actions/branch_report_action.rb, line 46
def self.is_supported?(platform)
  platform == :ios
end
run(params) click to toggle source
# 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.message}\n#{e.backtrace}"
end