Sha256: 24312895f29c563dfa9db1bcb1ed0305a53e2578bc7487035d2ee4aacc26c589

Contents?: true

Size: 408 Bytes

Versions: 18

Compression:

Stored size: 408 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Caliber gem."

        on "--[no-]caliber"

        default { Container[:configuration].build_caliber }

        def call(value = nil) = input.build_caliber = value
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
rubysmith-6.10.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.9.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.6.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.5.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.4.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.3.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.2.1 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.2.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.1.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-6.0.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.9.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.8.1 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.8.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.7.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.6.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.5.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.4.0 lib/rubysmith/cli/actions/caliber.rb
rubysmith-5.3.0 lib/rubysmith/cli/actions/caliber.rb