Sha256: 7515a015787f5d5ee179dd63bf3f90a829e48743bb18a332defb1a8955f878d8

Contents?: true

Size: 430 Bytes

Versions: 1

Compression:

Stored size: 430 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add code of conduct documentation."

        on "--[no-]conduct"

        default { Container[:configuration].build_conduct }

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