Revision b29b1e98
Added by Swapnil Abnave about 6 years ago
lib/foreman_maintain/cli/base.rb | ||
---|---|---|
'Automatically answer yes for all questions'
|
||
|
||
option(['-w', '--whitelist'], 'whitelist',
|
||
'Comma-separated list of labels of steps to be ignored') do |whitelist|
|
||
'Comma-separated list of labels of steps to be skipped') do |whitelist|
|
||
raise ArgumentError, 'value not specified' if whitelist.nil? || whitelist.empty?
|
||
whitelist.split(',').map(&:strip)
|
||
end
|
Also available in: Unified diff
Fixes #22244 - Skip whitelisted steps