From d48bd9998de57d99d13c702b783d1c83cdd15629 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Thu, 16 Jun 2022 23:47:50 +0530 Subject: added help messages --- cmd/status.go | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'cmd/status.go') diff --git a/cmd/status.go b/cmd/status.go index e80386c..feb5c10 100644 --- a/cmd/status.go +++ b/cmd/status.go @@ -31,9 +31,11 @@ import ( var statusCmd = &cobra.Command{ Use: "status", Short: "Set an anime/manga's status", - Long: ` --- help/description to be added later -`, + Long: "Set an anime's status\n" + + "\n" + + "Example Usage:\n" + + " - \x1b[33m`macli status `\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 `\x1b[0m to specify status from command\n", Run: func(cmd *cobra.Command, args []string) { searchInput := strings.Join(args, " ") -- cgit v1.2.3