list
List every form gform can resolve on the search path — cwd ./forms/ plus the global library.
basic usage
bash
gform list
gform ls # short alias
gform list --json
gform list -jEach row shows: name, step count, whether pools exist, and history counts (ok / fail / skip from $GFORM_HOME/history.jsonl).
search path
Forms are discovered from directories that exist:
--forms-dir <dir>(per-command override)GFORM_FORMS_DIRenv./forms/(cwd) — skipped if missing$GFORM_HOME/forms/(library)
Same order as gform run name lookup. See portable.md.
bash
gform list --forms-dir ./formslive policy flags
bash
gform list --policy
gform list --policy --json--policy fetches live inspect flags for each form (slower — one HTTP request per URL). Adds tags like ok, login, closed, captcha, file-upload.
Use this for a quick health dashboard before a batch run. For one form, prefer inspect.md.
list limits
Human output respects global list caps:
bash
gform list -T 5 # show top 5 rows
gform list -F # show all (ignore --top)
gform list --fullDefault is top 10 unless -F / --full. JSON output always returns the full set.
empty library
bash
gform list
# → No forms found on search path. Try: gform add ./forms/<form>.yamlScaffold with init.md or install with add.md.
gotchas
gform listlists forms, not past runs — usegform run listfor artifacts.- History counts are local ledger stats, not Google's response limits.
--policycan fail per-row (inspect-failed) if the URL is unreachable — check--jsonfor details.
related
- portable.md — lookup order and library layout
- add.md — install forms
- inspect.md — deep single-form inspect
- run.md —
run listfor artifact history - delete.md — remove library forms