Add examples to tag prompt in nimble publish.
This commit is contained in:
parent
bc8856632a
commit
3eae8d7d61
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue