softlayer/softlayer-api-python-client — pull request #130 by sudorandom (2013-07-22 16:38:32+00:00)
Title: Adds Password Auth to CLI Configuration

This change introduces the ability for 'sl config setup' to be given your
username/password and it will go out and grab your API key or generate one if
one does not exist.

* Moves format_output to SoftLayer.CLI.helpers
* API Key/Password input is masked

Example Usage:

```
$ sl config setup
Username: someuser
API Key or Password:
Endpoint URL [https://api.softlayer.com/xmlrpc/v3/]:
:..............:..................................................................:
: Name : Value :
:..............:..................................................................:
: Username : someuser :
: API Key : oyVmeipYQCNrjVS4rF9bHWV7D75S6pa1fghFl384v7mwRCbHTfuJ8qRORIqoVnha :
: Endpoint URL : https://api.softlayer.com/xmlrpc/v3/ :
:..............:..................................................................:
Are you sure you want to write settings to "/Users/username/.softlayer"? [Y/n]: y
```