lib/gemsmith/cli/parsers/build.rb in gemsmith-19.5.2 vs lib/gemsmith/cli/parsers/build.rb in gemsmith-19.6.0

- old
+ new

@@ -6,11 +6,11 @@ module Gemsmith module CLI module Parsers # Handles parsing of Command Line Interface (CLI) build options. class Build - include Import[:colorizer] + include Import[:color] using Refinements::Structs def self.call(...) = new(...).call @@ -42,10 +42,10 @@ def default option option.to_s .sub("add_", "build_") .then { |attribute| configuration.public_send attribute } - .then { |boolean| boolean ? colorizer.green(boolean) : colorizer.red(boolean) } + .then { |boolean| boolean ? color[boolean, :green] : color[boolean, :red] } .then { |colored_boolean| "Default: #{colored_boolean}" } end end end end