You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/17 12:07:01 UTC

[jira] [Commented] (BROOKLYN-463) Improve CLI login feedback

    [ https://issues.apache.org/jira/browse/BROOKLYN-463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16089720#comment-16089720 ] 

ASF GitHub Bot commented on BROOKLYN-463:
-----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/brooklyn-client/pull/42


> 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.4.14#64029)