Sha256: 74a2b43569635707aa68651cfdb71e48e14c06f1090b2071be7b7f5fc7866bee

Contents?: true

Size: 1.17 KB

Versions: 10

Compression:

Stored size: 1.17 KB

Contents

module Fastlane
  module Actions
    class LaneContextAction < Action
      def self.run(params)
        Actions.lane_context
      end

      #####################################################
      # @!group Documentation
      #####################################################

      def self.description
        "Access lane context values"
      end

      def self.details
        [
          "Access the fastlane lane context values",
          "More information about how the lane context works: https://docs.fastlane.tools/advanced/#lane-context"
        ].join("\n")
      end

      def self.available_options
        []
      end

      def self.output
        []
      end

      def self.return_type
        :hash_of_strings
      end

      def self.authors
        ["KrauseFx"]
      end

      def self.is_supported?(platform)
        true
      end

      # We don't want to show this as step
      def self.step_text
        nil
      end

      def self.example_code
        [
          'lane_context[SharedValues::BUILD_NUMBER]',
          'lane_context[SharedValues::IPA_OUTPUT_PATH]'
        ]
      end

      def self.category
        :misc
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
fastlane-2.93.0.beta.20180423050019 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180422050034 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180421050012 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180420050021 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180419050008 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180418050020 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.92.1 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.93.0.beta.20180417050013 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.92.0 fastlane/lib/fastlane/actions/lane_context.rb
fastlane-2.92.0.beta.20180416050023 fastlane/lib/fastlane/actions/lane_context.rb