def _github_ask_credentials():
click.echo('''
We need your GitHub credentials to create an access token to be stored in
AerisCloud. Your credentials won't be stored anywhere.
The access token will allow AerisCloud to access your private repositories
as well as those owned by any organization you might be a member of.
You can revoke this access token at any time by going to this URL:
%s
''' % (click.style('https://github.com/settings/applications', bold=True)))
user = None
pwd = None
while not user:
user = click.prompt('Github username')
while not pwd:
pwd = click.prompt('Github password', hide_input=True)
return user, pwd
评论列表
文章目录