Method: Fastlane::CommandParser.handle_new_style_commands
- Defined in:
- fastlane/lib/fastlane/server/command_parser.rb
.handle_new_style_commands(command_json: nil) ⇒ Object
24 25 26 27 28 29 30 31 32 33 34 |
# File 'fastlane/lib/fastlane/server/command_parser.rb', line 24 def self.handle_new_style_commands(command_json: nil) command_type = command_json['commandType'].to_sym command = command_json['command'] case command_type when :action return ActionCommand.new(json: command) when :control return ControlCommand.new(json: command) end end |