class Fastlane::Actions::FlutterAction
Public Class Methods
available_options()
click to toggle source
# File lib/fastlane/plugin/flutter/actions/flutter_action.rb, line 24 def self.available_options [ FastlaneCore::ConfigItem.new( key: :args, env_name: 'FL_FLUTTER_ARGS', description: 'Arguments to Flutter command', type: Array, ), FastlaneCore::ConfigItem.new( key: :capture_stdout, env_name: 'FL_FLUTTER_CAPTURE_STDOUT', description: 'Do not print stdout of the command, but return it', optional: true, type: Boolean, default_value: false, ), ] end
description()
click to toggle source
# File lib/fastlane/plugin/flutter/actions/flutter_action.rb, line 20 def self.description 'Run "flutter" binary with the specified arguments' end
run(params)
click to toggle source
# File lib/fastlane/plugin/flutter/actions/flutter_action.rb, line 10 def self.run(params) if params[:capture_stdout] Helper::FlutterHelper.flutter(*params[:args]) do |status, output| output end else Helper::FlutterHelper.flutter(*params[:args]) end end