Sha256: 9336973db6d74d3b887a6f1180cfad9c498f8155c64f256a2f25267641981089

Contents?: true

Size: 439 Bytes

Versions: 2

Compression:

Stored size: 439 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores GitHub CI flag.
      class GitHubCI < Sod::Action
        include Import[:settings]

        description "Add GitHub continuous integration."

        on "--[no-]git_hub_ci"

        default { Container[:settings].build_git_hub_ci }

        def call(value = nil) = settings.build_git_hub_ci = value
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rubysmith-7.1.0 lib/rubysmith/cli/actions/git_hub_ci.rb
rubysmith-7.0.0 lib/rubysmith/cli/actions/git_hub_ci.rb