# frozen_string_literal: true module GoNative module Commands module IOS class Publish < Base desc 'Verify, build and release a new version' argument :name, required: true, desc: 'Name of the plugin' option :skip_build, type: :boolean, default: false option :debug, type: :boolean, default: false option :archs, default: 'x86_64,arm64' def call(name:, skip_build:, debug:, archs:, **) Plugins::IOS::Verify.call Plugins::IOS::BuildFramework.call(name, archs, debug) unless skip_build Plugins::IOS::Release.call end end end end end