Sha256: 816d9a2165ae010f381659ca07d208d388939685ce8426979af6ebb7bf4ee698

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

# frozen_string_literal: true

require "sod"

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

        description "Add setup script."

        on "--[no-]setup"

        default { Container[:configuration].build_setup }

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