Sha256: c812de76e4601959430a70246f4a66878f2dd871cac8e0da4d1ece76f1867028
Contents?: true
Size: 392 Bytes
Versions: 2
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true require "sod" module Rubysmith module CLI module Actions # Stores Git flag. class Git < Sod::Action include Import[:settings] description "Add Git repository." on "--[no-]git" default { Container[:settings].build_git } def call(value = nil) = settings.build_git = value end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rubysmith-7.1.0 | lib/rubysmith/cli/actions/git.rb |
rubysmith-7.0.0 | lib/rubysmith/cli/actions/git.rb |