Sha256: 212f7378b2ae8e99c52b4b669619aff5c1bbdd168c5cf6a2d1cd767d975c7a60

Contents?: true

Size: 417 Bytes

Versions: 1

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores Git Lint flag.
      class GitLint < Sod::Action
        include Import[:input]

        description "Add Git Lint gem."

        on "--[no-]git-lint"

        default { Container[:configuration].build_git_lint }

        def call(value = default) = input.build_git_lint = 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_lint.rb