Add colorize gem + cli option
This commit is contained in:
parent
33c5566838
commit
bb0a3a80c4
5 changed files with 13 additions and 1 deletions
|
@ -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!
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue