Sha256: be684f6637bed429fd2eb924908c19895d5477aabe74862b25e4f43a2cc3875b

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Debug gem."

        on "--[no-]debug"

        default { Container[:configuration].build_debug }

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