examples/minimal/example.rb in cli-kit-3.3.0 vs examples/minimal/example.rb in cli-kit-4.0.0

- old
+ new

@@ -3,15 +3,15 @@ require 'cli/ui' require 'cli/kit' CLI::UI::StdoutRouter.enable -include CLI::Kit +include(CLI::Kit) registry = CommandRegistry.new(default: 'hello', contextual_resolver: nil) registry.add(Class.new(BaseCommand) do def call(_args, _name) - puts "hello, world!" + puts 'hello, world!' end end, 'hello') executor = Executor.new(log_file: '/tmp/example.log') error_handler = ErrorHandler.new(log_file: '/tmp/example.log', exception_reporter: nil)