aboutsummaryrefslogtreecommitdiff
path: root/cmd/search.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/search.go')
-rw-r--r--cmd/search.go9
1 files changed, 6 insertions, 3 deletions
diff --git a/cmd/search.go b/cmd/search.go
index da57862..2e485e3 100644
--- a/cmd/search.go
+++ b/cmd/search.go
@@ -27,9 +27,12 @@ import (
var searchCmd = &cobra.Command {
Use: "search",
Short: "Search for an anime/manga",
- Long: `
--- help/description to be added later
-`,
+ Long: "Search for an anime or a manga on MyAnimeList\n" +
+ "\n" +
+ "Example Usage:\n" +
+ "\t\x1b[33m`macli search <anime-name>`\x1b[0m searches for an anime\n" +
+ "\t\x1b[33m`macli search -m <manga-name>`\x1b[0m searches for a manga\n" +
+ "\t\x1b[33m`macli search`\x1b[0m interactively asks for an anime to search for (same for manga with -m/--manga flag)\n",
Run: func(cmd *cobra.Command, args []string) {
// read searchInput from command
searchInput := strings.Join(args, " ")