Sha256: 636ab9fcce73c7d437e575c4eb65eb3cf5824cc787d8cc364f15d0a8f8d1d6e1

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add GitHub continuous integration."

        on "--[no-]git_hub_ci"

        default { Container[:configuration].build_git_hub_ci }

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