rkt/rkt

rkt login for generating auth config

Open

#836 创建于 2015年4月28日

在 GitHub 查看
 (2 评论) (1 反应) (0 负责人)Go (8,871 star) (865 fork)batch import
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
$

贡献者指南