bin/instance in auser-poolparty-0.0.9 vs bin/instance in auser-poolparty-0.1.0
- old
+ new
@@ -10,10 +10,12 @@
{ :banner => <<-EOU
Usage: instance [OPTIONS] { #{commandables.join(" | ")} }
-----------------------------------------------------------------
EOU
})
-PoolParty.load_plugins
+
+PoolParty.load
+
master = PoolParty::Master.new
list = PoolParty::Optioner.parse(ARGV.dup, %w(-v --verbose))
num = list.reject {|a| commandables.include?(a) }.pop
instance = master.get_node(num)
\ No newline at end of file