Sha256: bb3a2175215c8d05321f262bb280ebb738dddcd085400c526272e7f66612ce92

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Amazing Print gem."

        on "--[no-]amazing_print"

        default { Container[:configuration].build_amazing_print }

        def call(value = default) = input.build_amazing_print = 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/amazing_print.rb