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
37 38 39 40 41 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 37 def self. BranchIOCLI::Configuration::ReportConfiguration..map do |option| FastlaneCore::ConfigItem.from_branch_option(option) end end |
.category ⇒ Object
47 48 49 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 47 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 "TODO" 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 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 32 def self.example_code [ ] end |
.is_supported?(platform) ⇒ Boolean
43 44 45 |
# File 'lib/fastlane/plugin/branch/actions/branch_report_action.rb', line 43 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::Commands::ReportCommand.new(config).run! rescue StandardError => e UI.user_error! "Error in BranchReportAction: #{e.}\n#{e.backtrace}" end |