lib/shelly/cli/main.rb in shelly-0.0.6 vs lib/shelly/cli/main.rb in shelly-0.0.7

- old
+ new

@@ -14,12 +14,12 @@ desc "version", "Displays shelly version" def version say "shelly version #{Shelly::VERSION}" end - desc "register", "Registers new user account on Shelly Cloud" - def register - invoke "account:register" + desc "register [EMAIL]", "Registers new user account on Shelly Cloud" + def register(email = nil) + invoke "account:register", email end desc "add", "Adds new application to Shelly Cloud" def add invoke "apps:add"