Sha256: 79a5c8c16b7be0912a91df282db544fa714b9a109c0ff56f12cbf0e6fded4fb9

Contents?: true

Size: 453 Bytes

Versions: 7

Compression:

Stored size: 453 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores Developer Certificate of Origin flag.
      class DCOO < Sod::Action
        include Import[:settings]

        description "Add Developer Certificate of Origin documentation."

        on "--[no-]dcoo"

        default { Container[:settings].build_dcoo }

        def call(boolean) = settings.build_dcoo = boolean
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

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