Sha256: 395b543d01021154bf8630c0828cc06185e0b44a588db4fd4ab082a796f81a12

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores versions flag.
      class Versions < Sod::Action
        include Import[:input]

        description "Add version history."

        on "--[no-]versions"

        default { Container[:configuration].build_versions }

        def call(value = default) = input.build_versions = value
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysmith-5.2.0 lib/rubysmith/cli/actions/versions.rb