bin/brightbox-groups in brightbox-cli-0.18.1 vs bin/brightbox-groups in brightbox-cli-1.0.0.rc1
- old
+ new
@@ -1,14 +1,13 @@
#!/usr/bin/env ruby
begin
require "brightbox_cli"
+ require "brightbox-cli/legacy/args_adjuster"
rescue LoadError
brightbox_cli_path = File.expand_path('../../lib', __FILE__)
$:.unshift(brightbox_cli_path)
require "brightbox_cli"
+ require "brightbox-cli/legacy/args_adjuster"
end
-Brightbox::BBConfig.config do
- include GLI
- run ARGV
-end
+Brightbox::run Brightbox::Legacy::ArgsAdjuster.new(ARGV).for_command("groups")