Sha256: 97906cf50b50c6c2c7d74e38f7c25703188f26fe38f534b0599ea32ae29bcce9

Contents?: true

Size: 416 Bytes

Versions: 8

Compression:

Stored size: 416 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(boolean) = settings.build_versions = boolean
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
rubysmith-7.9.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.8.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.7.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.6.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.5.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.4.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.3.0 lib/rubysmith/cli/actions/versions.rb
rubysmith-7.2.0 lib/rubysmith/cli/actions/versions.rb