aboutsummaryrefslogtreecommitdiff
path: root/cmd/login.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-14 21:06:32 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-08-14 21:06:32 +0530
commitd7a820b1115a3765daecf05b13a8caa94f432e85 (patch)
tree430bb067432e61baf5982bfb68b3463fd6f0f8c5 /cmd/login.go
parent1ae40030b32f9ab70fdc9a06161b32632168597f (diff)
reading auth token from flags
Diffstat (limited to 'cmd/login.go')
-rw-r--r--cmd/login.go2
1 files changed, 2 insertions, 0 deletions
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)")
}