Changed how login command works slightly

This commit is contained in:
David Allen 2024-03-10 20:21:38 -06:00
parent f6bf8a8960
commit 3caf2b89d2
No known key found for this signature in database
GPG key ID: 1D2A29322FBB6FCB
2 changed files with 62 additions and 22 deletions

View file

@ -30,7 +30,7 @@ func Execute() {
func init() {
cobra.OnInitialize(initConfig)
rootCmd.PersistentFlags().StringVar(&confPath, "config", "", "set the config path")
rootCmd.PersistentFlags().StringVarP(&confPath, "config", "c", "", "set the config path")
rootCmd.PersistentFlags().StringVar(&config.Options.CachePath, "cache", "", "set the cache path")
}