diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 23:01:52 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 23:01:52 +0530 |
commit | c45cb6ebe10084d10f4fcf6189f26199f0913402 (patch) | |
tree | ecc39f3e2db66903ebea06b54edbd1423db7a09a /cmd/search.go | |
parent | 24ea0db80befd3bf5a67781084f48f0fa764d74f (diff) |
renamed Init to init function in mal because it should be called automatically
Diffstat (limited to 'cmd/search.go')
-rw-r--r-- | cmd/search.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd/search.go b/cmd/search.go index 5f97861..da57862 100644 --- a/cmd/search.go +++ b/cmd/search.go @@ -22,7 +22,6 @@ import ( "strings" "github.com/spf13/cobra" "github.com/MikunoNaka/macli/ui" - "github.com/MikunoNaka/macli/mal" ) var searchCmd = &cobra.Command { @@ -32,7 +31,6 @@ var searchCmd = &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 // read searchInput from command searchInput := strings.Join(args, " ") mangaMode, _ := cmd.Flags().GetBool("manga") |