aboutsummaryrefslogtreecommitdiff
path: root/cmd/status.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/status.go')
-rw-r--r--cmd/status.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/status.go b/cmd/status.go
index 05b9dc4..e412a96 100644
--- a/cmd/status.go
+++ b/cmd/status.go
@@ -38,6 +38,7 @@ var statusCmd = &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, " ")
statusInput, err := cmd.Flags().GetString("set-value")