lib/onering/cli/devices.rb in onering-client-0.1.2 vs lib/onering/cli/devices.rb in onering-client-0.1.3
- old
+ new
@@ -1,12 +1,17 @@
module Onering
module CLI
module Devices
def self.configure(global={})
- @api = Onering::CLI.connect(global).devices
+ @api = Onering::CLI.connect(global).assets
@opts = ::Trollop::options do
banner <<-EOS
+[DEPRECATED in 0.1.3] Use the 'assets' plugin from now on.
+
+Usage:
+ onering [global] report [options]
+
Options:
EOS
opt :query, "The Onering urlquery to filter devices by", :short => '-f', :type => :string
opt :id, "The node ID of the device to operate on", :short => '-i', :type => :string
\ No newline at end of file