Sha256: 9d0509f77de970a28dc5b2954af574d784f781e0c9161029fe18960691c1b30c

Contents?: true

Size: 433 Bytes

Versions: 1

Compression:

Stored size: 433 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add Circle CI configuration."

        on "--[no-]circle_ci"

        default { Container[:configuration].build_circle_ci }

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