From cf33e291e01eaa23cbd5e3c08da99fac5cd8c5fe Mon Sep 17 00:00:00 2001 From: Alex Jones Date: Fri, 19 May 2023 08:00:52 +0100 Subject: [PATCH] chore: clarified remove command --- cmd/auth/remove.go | 2 +- cmd/cache/remove.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/auth/remove.go b/cmd/auth/remove.go index 3e4b133..b6e2625 100644 --- a/cmd/auth/remove.go +++ b/cmd/auth/remove.go @@ -59,6 +59,6 @@ var removeCmd = &cobra.Command{ } func init() { - // add flag for backend + // remove flag for backend removeCmd.Flags().StringVarP(&backend, "backend", "b", "", "Backend AI provider") } diff --git a/cmd/cache/remove.go b/cmd/cache/remove.go index 34bb7e0..2127f01 100644 --- a/cmd/cache/remove.go +++ b/cmd/cache/remove.go @@ -26,8 +26,8 @@ import ( // removeCmd represents the remove command var removeCmd = &cobra.Command{ Use: "remove", - Short: "Remove a remote cache", - Long: `This command allows you to remove a remote cache and use the default filecache.`, + Short: "Remove the remote cache", + Long: `This command allows you to remove the remote cache and use the default filecache.`, Run: func(cmd *cobra.Command, args []string) { // Remove the remote cache @@ -51,10 +51,10 @@ var removeCmd = &cobra.Command{ os.Exit(1) } + color.Green("Successfully removed the remote cache") }, } func init() { CacheCmd.AddCommand(removeCmd) - removeCmd.Flags().StringVarP(&bucketname, "bucket", "b", "", "The name of the bucket to use for the cache") }