Add examples to tag prompt in nimble publish.

This commit is contained in:
Dominik Picheta 2019-09-21 12:46:42 +01:00
commit 3eae8d7d61

View file

@ -213,7 +213,10 @@ proc publish*(p: PackageInfo, o: Options) =
url = promptCustom("Github URL of " & p.name & "?", "") url = promptCustom("Github URL of " & p.name & "?", "")
if url.len == 0: userAborted() if url.len == 0: userAborted()
let tags = promptCustom("Whitespace separated list of tags?", "") let tags = promptCustom(
"Whitespace separated list of tags? (For example: web library wrapper)",
""
)
cd pkgsDir: cd pkgsDir:
editJson(p, url, tags, downloadMethod) editJson(p, url, tags, downloadMethod)