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
M pkg/apps/pgs/cli.go
+9, -1
 1@@ -155,7 +155,7 @@ You can also create private projects when you prefix the project name with 'priv
 2 
 3 This means only you can access the site through a web tunnel or by downloading the files.
 4 `
 5-	helpStr += "\r\nCommands: [help, stats, ls, fzf, rm, link, unlink, prune, retain, depends, acl, cache]\r\n"
 6+	helpStr += "\r\nCommands: [help, stats, ls, fzf, rm, link, unlink, prune, retain, depends, acl, cache, forms]\r\n"
 7 	helpStr += "For most of these commands you can provide a `-h` to learn about its usage.\r\n"
 8 	helpStr += "\r\n> NOTICE:" + " *must* append with `--write` for the changes to persist.\r\n"
 9 	c.output(helpStr)
10@@ -210,6 +210,14 @@ This means only you can access the site through a web tunnel or by downloading t
11 			fmt.Sprintf("cache %s", projectName),
12 			"Clear http cache",
13 		},
14+		{
15+			"forms ls",
16+			"Print list of forms",
17+		},
18+		{
19+			fmt.Sprintf("forms %s", projectName),
20+			"Print form submissions in json",
21+		},
22 	}
23 
24 	writer := NewTabWriter(c.Session)