diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 23:47:50 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.xyz> | 2022-06-16 23:47:50 +0530 |
commit | d48bd9998de57d99d13c702b783d1c83cdd15629 (patch) | |
tree | e36b52d4327d28e6787a5065c4bd556bad076b41 /cmd/status.go | |
parent | c45cb6ebe10084d10f4fcf6189f26199f0913402 (diff) |
added help messages
Diffstat (limited to 'cmd/status.go')
-rw-r--r-- | cmd/status.go | 8 |
1 files changed, 5 insertions, 3 deletions
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 <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) { searchInput := strings.Join(args, " ") |