Sha256: 3efdf3174d9ba8aca7a83ca81f4f4c00d03767b360041216e82d79482cc6ed06

Contents?: true

Size: 418 Bytes

Versions: 2

Compression:

Stored size: 418 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add version history."

        on "--[no-]versions"

        default { Container[:settings].build_versions }

        def call(value = nil) = settings.build_versions = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-7.1.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.0.0 lib/rubysmith/cli/actions/versions.rb