feat: add update to auth cmd (#450)

* added update.go + fixed typos

Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>

* updated readme

Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>

* fixed default values

Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>

* fixed typo

Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>

---------

Signed-off-by: Alexandre Steppé <alexandre.steppe@gmail.com>
Co-authored-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
Alexandre Steppé
2023-06-13 13:28:00 +02:00
committed by GitHub
parent a6342c9283
commit 01aeeb35e2
5 changed files with 117 additions and 7 deletions

View File

@@ -46,7 +46,7 @@ var removeCmd = &cobra.Command{
if b == provider.Name {
foundBackend = true
configAI.Providers = append(configAI.Providers[:i], configAI.Providers[i+1:]...)
color.Green("%s deleted to the AI backend provider list", b)
color.Green("%s deleted from the AI backend provider list", b)
break
}
}
@@ -64,8 +64,3 @@ var removeCmd = &cobra.Command{
},
}
func init() {
}