area/configurationarea/usabilityhelp wantedkind/enhancement
描述
The config file format on disk is nicely formatted json, but it's kind of a pain to quickly play around with rkt to connect to an existing registry. Doing this interactively is friendly to first time users and serves as a config generator:
$ rkt login
Auth Method [basic, oauth, dockerAuth]: basic
Username: foo
Password:
Login Successful
$
Having the available options in the brackets isn't ideal, but it prevents us from having to this type of thing:
$ rkt login
What method of authentication? Options:
basic
oauth
dockerAuth
Auth Method: basic
Username: foo
Password:
Login Successful
$