Sha256: d46073268d2128983629b3f9589fde8d5c89259d99da83ab5f00f946912dc706

Contents?: true

Size: 772 Bytes

Versions: 3

Compression:

Stored size: 772 Bytes

Contents

require 'shellwords'

module Fastlane
  module Actions
    class DeleteKeychainAction < Action
      def self.run(params)
        Fastlane::Actions.sh "security delete-keychain #{params[:name].shellescape}", log:false
      end

      def self.description
        "Delete keychains and remove them from the search list"
      end

      def self.available_options
        [
          FastlaneCore::ConfigItem.new(key: :name,
                                       env_name: "KEYCHAIN_NAME",
                                       description: "Keychain name",
                                       optional: false),
        ]
      end

      def self.authors
        ["gin0606"]
      end

      def self.is_supported?(platform)
        true
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fastlane-1.7.2 lib/fastlane/actions/delete_keychain.rb
fastlane-1.7.1 lib/fastlane/actions/delete_keychain.rb
fastlane-1.7.0 lib/fastlane/actions/delete_keychain.rb