Sha256: 0eed706d3e4d58614ca9bd11f631559c6c0cfa7b7ee252d3ca19a8f3d88dc8c7

Contents?: true

Size: 1.03 KB

Versions: 4

Compression:

Stored size: 1.03 KB

Contents

module Fastlane
  module Actions
    class <%= plugin_name.fastlane_class %>Action < Action
      def self.run(params)
        UI.message("The <%= plugin_name %> plugin is working!")
      end

      def self.description
        %q{<%= summary %>}
      end

      def self.authors
        [%q{<%= author %>}]
      end

      def self.available_options
        [
          # FastlaneCore::ConfigItem.new(key: :your_option,
          #                         env_name: "<%= plugin_name.upcase %>_YOUR_OPTION",
          #                      description: "A description of your option",
          #                         optional: false,
          #                             type: String)
        ]
      end

      def self.is_supported?(platform)
        # Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
        # See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
        #
        # [:ios, :mac, :android].include?(platform)
        true
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fastlane-1.93.1 lib/fastlane/plugins/template/lib/fastlane/plugin/%plugin_name%/actions/%plugin_name%_action.rb.erb
fastlane-1.93.0 lib/fastlane/plugins/template/lib/fastlane/plugin/%plugin_name%/actions/%plugin_name%_action.rb.erb
fastlane-1.92.0.beta2 lib/fastlane/plugins/templates/action.rb.erb
fastlane-1.92.0.beta1 lib/fastlane/plugins/templates/action.rb.erb