Commit ee3ee5f

Eric Bower  ·  2026-05-16 11:47:56 -0400 EDT
parent 398f52c
docs(pgs): help cmd for forms
1 files changed,  +9, -1
+9, -1
......@@ -155,7 +155,7 @@ You can also create private projects when you prefix the project name with 'priv
155155
156156 This means only you can access the site through a web tunnel or by downloading the files.
157157 `
158- helpStr += "\r\nCommands: [help, stats, ls, fzf, rm, link, unlink, prune, retain, depends, acl, cache]\r\n"
158+ helpStr += "\r\nCommands: [help, stats, ls, fzf, rm, link, unlink, prune, retain, depends, acl, cache, forms]\r\n"
159159 helpStr += "For most of these commands you can provide a `-h` to learn about its usage.\r\n"
160160 helpStr += "\r\n> NOTICE:" + " *must* append with `--write` for the changes to persist.\r\n"
161161 c.output(helpStr)
......@@ -210,6 +210,14 @@ This means only you can access the site through a web tunnel or by downloading t
210210 fmt.Sprintf("cache %s", projectName),
211211 "Clear http cache",
212212 },
213+ {
214+ "forms ls",
215+ "Print list of forms",
216+ },
217+ {
218+ fmt.Sprintf("forms %s", projectName),
219+ "Print form submissions in json",
220+ },
213221 }
214222
215223 writer := NewTabWriter(c.Session)