From d7a820b1115a3765daecf05b13a8caa94f432e85 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sun, 14 Aug 2022 21:06:32 +0530 Subject: reading auth token from flags --- cmd/login.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cmd/login.go') diff --git a/cmd/login.go b/cmd/login.go index 9eed0a3..9f12d46 100644 --- a/cmd/login.go +++ b/cmd/login.go @@ -44,4 +44,6 @@ var loginCmd = &cobra.Command { func init() { rootCmd.AddCommand(loginCmd) + // TODO: save given token to keyring + // rootCmd.Flags().StringVarP(&mal.Secret, "authentication-token", "t", "", "MyAnimeList authentication token to use (overrides system keyring if any)") } -- cgit v1.2.3