Add colorize gem + cli option

This commit is contained in:
Sven Weidauer 2022-05-26 09:16:14 +02:00
parent 33c5566838
commit bb0a3a80c4
5 changed files with 13 additions and 1 deletions

View file

@ -57,6 +57,10 @@ parser = OptionParser.new do |opt|
puts FormatStaged::VERSION
exit
end
opt.on('--[no-]color', 'Colorizes output') do |value|
parameters[:color_output] = value
end
end
parser.parse!