bin/facter in facter-4.0.39 vs bin/facter in facter-4.0.40
- old
+ new
@@ -2,10 +2,9 @@
# frozen_string_literal: true
require 'pathname'
require 'facter/framework/cli/cli_launcher.rb'
-cli_launcher = CliLauncher.new(ARGV)
+Facter::OptionsValidator.validate(ARGV)
+processed_arguments = CliLauncher.prepare_arguments(ARGV)
-cli_launcher.validate_options
-cli_launcher.prepare_arguments
-cli_launcher.start
+CliLauncher.start(processed_arguments)