bin/onering in onering-client-0.0.77 vs bin/onering in onering-client-0.0.78
- old
+ new
@@ -30,10 +30,12 @@
plugin = ARGV.shift
Trollop::die("plugin argument is requried") if plugin.nil?
+Onering::Config.load()
+
if plugins.include?(plugin)
begin
plugin = Onering::CLI.const_get(plugin.capitalize)
plugin.configure(global)
rv = plugin.run(ARGV)
@@ -42,6 +44,6 @@
STDERR.puts("[#{e.class.name.split('::').last}]".foreground(:red) + " #{e.message}")
exit 1
end
else
Trollop::die("unknown plugin #{plugin}")
-end
\ No newline at end of file
+end