lib/standard/cli.rb in standard-1.34.0.1 vs lib/standard/cli.rb in standard-1.35.0
- old
+ new
@@ -1,18 +1,17 @@
require_relative "builds_config"
require_relative "loads_runner"
-require_relative "prints_big_hairy_version_warning"
module Standard
class Cli
def initialize(argv)
@argv = argv
@builds_config = BuildsConfig.new
@loads_runner = LoadsRunner.new
end
def run
- PrintsBigHairyVersionWarning.new.call
- exit 1
+ config = @builds_config.call(@argv)
+ @loads_runner.call(config.runner).call(config).to_i
end
end
end