aboutsummaryrefslogtreecommitdiff
path: root/cmd/status.go
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 23:01:52 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-06-16 23:01:52 +0530
commitc45cb6ebe10084d10f4fcf6189f26199f0913402 (patch)
treeecc39f3e2db66903ebea06b54edbd1423db7a09a /cmd/status.go
parent24ea0db80befd3bf5a67781084f48f0fa764d74f (diff)
renamed Init to init function in mal because it should be called automatically
Diffstat (limited to 'cmd/status.go')
-rw-r--r--cmd/status.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/cmd/status.go b/cmd/status.go
index 048bd70..e80386c 100644
--- a/cmd/status.go
+++ b/cmd/status.go
@@ -35,7 +35,6 @@ var statusCmd = &cobra.Command{
-- help/description to be added later
`,
Run: func(cmd *cobra.Command, args []string) {
- mal.Init() // needs to be manually called else it won't let you login
searchInput := strings.Join(args, " ")
statusInput, err := cmd.Flags().GetString("status")