Sha256: 59f4c6be9e69987eb73679c86179212ccd638ae4cc680052c9edb4c990bb666a

Contents?: true

Size: 437 Bytes

Versions: 1

Compression:

Stored size: 437 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(boolean) = settings.build_git_hub_ci = boolean
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubysmith-7.2.0 lib/rubysmith/cli/actions/git_hub_ci.rb