Versions in this module Expand all Collapse all v1 v1.54.4 Nov 23, 2020 Changes in this version + const ConfigAuthNoBrowser + const ConfigAuthURL + const ConfigAuthorize + const ConfigClientID + const ConfigClientSecret + const ConfigEncoding + const ConfigEncodingHelp + const ConfigToken + const ConfigTokenURL + var CacheDir = makeCacheDir() + var ConfigPath = makeConfigPath() + var PassConfigKeyForDaemonization = false + var Password = random.Password + var PasswordPromptOutput = os.Stderr + var ReadLine = func() string + func Authorize(args []string, noAutoBrowser bool) + func ChangePassword(name string) string + func Choose(what string, defaults, help []string, newOk bool) string + func ChooseNumber(what string, min, max int) int + func ChooseOption(o *fs.Option, name string) string + func ChooseRemote() string + func Command(commands []string) byte + func CommandDefault(commands []string, defaultIndex int) byte + func Confirm(Default bool) bool + func ConfirmWithConfig(m configmap.Getter, configName string, Default bool) bool + func CopyRemote(name string) + func CreateRemote(name string, provider string, keyValues rc.Params, doObscure, noObscure bool) error + func DeleteRemote(name string) + func Dump() error + func DumpRcBlob() (dump rc.Params) + func DumpRcRemote(name string) (dump rc.Params) + func EditConfig() + func EditRemote(ri *fs.RegInfo, name string) + func FileDeleteKey(section, key string) bool + func FileGet(section, key string, defaultVal ...string) string + func FileGetFlag(section, key string) (string, bool) + func FileGetFresh(section, key string) (value string, err error) + func FileRefresh() error + func FileSections() []string + func FileSet(section, key, value string) + func GetPassword(prompt string) string + func JSONListProviders() error + func LoadConfig() + func MustFindByName(name string) *fs.RegInfo + func NewRemote(name string) + func NewRemoteName() (name string) + func OkRemote(name string) bool + func PasswordRemote(name string, keyValues rc.Params) error + func ReadNonEmptyLine(prompt string) string + func ReadPassword() string + func RemoteConfig(name string) + func RenameRemote(name string) + func SaveConfig() + func SetPassword() + func SetValueAndSave(name, key, value string) (err error) + func ShowConfig() + func ShowConfigLocation() + func ShowRemote(name string) + func ShowRemotes() + func UpdateRemote(name string, keyValues rc.Params, doObscure, noObscure bool) error