aboutsummaryrefslogtreecommitdiff
path: root/cmd/score.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-02 14:41:18 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-07-02 14:41:18 +0530
commit720045d9ea2e612ca0f0b7333ee62a73b2955a15 (patch)
treeb25bfecc256408b7fbef71abc2964d439ca6d3bb /cmd/score.go
parentbeacbdf5974ab4eadc2ab651ed59b7bd2dcc6e02 (diff)
Bug Fix: `macli login` showing error message that user is not logged in
Diffstat (limited to 'cmd/score.go')
-rw-r--r--cmd/score.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/score.go b/cmd/score.go
index d22f4d2..f97de87 100644
--- a/cmd/score.go
+++ b/cmd/score.go
@@ -38,6 +38,7 @@ var scoreCmd = &cobra.Command{
" - \x1b[33m`macli status <anime-name>`\x1b[0m For interactive prompt (anime-name can be omitted)\n" +
" - \x1b[33m`macli status -s \x1b[34mwatching|plan_to_watch|dropped|on_hold|completed\x1b[33m <anime-name>`\x1b[0m to specify status from command\n",
Run: func(cmd *cobra.Command, args []string) {
+ mal.Init()
searchInput := strings.Join(args, " ")
scoreInput, err := cmd.Flags().GetInt("set-value")