lib/ribose/cli.rb in ribose-cli-0.3.2 vs lib/ribose/cli.rb in ribose-cli-0.5.0
- old
+ new
@@ -8,14 +8,14 @@
module Ribose
module CLI
def self.start(arguments)
Ribose::CLI::Command.start(arguments)
- rescue Ribose::Errors::Forbidden
+ rescue Ribose::Unauthorized, Ribose::Errors::Forbidden
Thor::Shell::Basic.new.say(
"Invalid: Missing API Configuration\n\n" \
"Ribose API Token & Email are required for any of the CLI operation\n" \
- "You can set your API Key using `ribose config --token "" --email "" `",
+ "You can set your API Key using `ribose config --email email --password`",
)
end
end
# Temporary: The API Client will implement it