Sha256: da4dde091539df166ef16cb5af23cc184dfc6da893e5691a66292c0f6722c332

Contents?: true

Size: 434 Bytes

Versions: 1

Compression:

Stored size: 434 Bytes

Contents

# frozen_string_literal: true

require "sod"

module Rubysmith
  module CLI
    module Actions
      # Stores community flag.
      class Community < Sod::Action
        include Import[:input]

        description "Add community documentation."

        on "--[no-]community"

        default { Container[:configuration].build_community }

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