brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Corbett (JIRA)" <>
Subject [jira] [Created] (BROOKLYN-463) Improve CLI login feedback
Date Tue, 04 Apr 2017 11:25:41 GMT
Sam Corbett created BROOKLYN-463:

             Summary: Improve CLI login feedback
                 Key: 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:
$ br login http://localhost:8081

$ echo $?

Giving a username behaves well:
$ br login http://localhost:8081 sam
Enter Password:

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

View raw message