Sam Corbett created BROOKLYN-463:
------------------------------------
Summary: Improve CLI login feedback
Key: BROOKLYN-463
URL: https://issues.apache.org/jira/browse/BROOKLYN-463
Project: Brooklyn
Issue Type: Sub-task
Reporter: Sam Corbett
I expected a {{br login}} command to prompt for a username and password when
only run with the URL for the server. Instead it exits with no useful
information:
{code}
$ br login http://localhost:8081
$ echo $?
2
{code}
Giving a username behaves well:
{code}
$ br login http://localhost:8081 sam
Enter Password:
{code}
The CLI should either prompt for a username or print a usage summary when only
invoked with a URL. If prompting for the username it could also allow simply
{{br login}} and prompt for the endpoint parameter.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)