Sha256: 77a8fed091bfff7b77fb1685566d13e0a17dced526b26e004fb7d8a0b96fd90c
Contents?: true
Size: 402 Bytes
Versions: 2
Compression:
Stored size: 402 Bytes
Contents
# frozen_string_literal: true require "sod" module Gemsmith module CLI module Actions # Stores CLI flag. class CLI < Sod::Action include Import[:input] description "Add command line interface." on "--[no-]cli" default { Container[:configuration].build_cli } def call(value = default) = input.build_cli = value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gemsmith-20.1.0 | lib/gemsmith/cli/actions/cli.rb |
gemsmith-20.0.0 | lib/gemsmith/cli/actions/cli.rb |