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 | |
| 155 | 155 | ||
| 156 | 156 | This means only you can access the site through a web tunnel or by downloading the files. | |
| 157 | 157 | ` | |
| 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" | |
| 159 | 159 | helpStr += "For most of these commands you can provide a `-h` to learn about its usage.\r\n" | |
| 160 | 160 | helpStr += "\r\n> NOTICE:" + " *must* append with `--write` for the changes to persist.\r\n" | |
| 161 | 161 | c.output(helpStr) |
| ... | ... | @@ -210,6 +210,14 @@ This means only you can access the site through a web tunnel or by downloading t | |
| 210 | 210 | fmt.Sprintf("cache %s", projectName), | |
| 211 | 211 | "Clear http cache", | |
| 212 | 212 | }, | |
| 213 | + | { | |
| 214 | + | "forms ls", | |
| 215 | + | "Print list of forms", | |
| 216 | + | }, | |
| 217 | + | { | |
| 218 | + | fmt.Sprintf("forms %s", projectName), | |
| 219 | + | "Print form submissions in json", | |
| 220 | + | }, | |
| 213 | 221 | } | |
| 214 | 222 | ||
| 215 | 223 | writer := NewTabWriter(c.Session) |