Skip to content

view ​

Print the resolved form config the engine would run — options, unique, pools, and steps. No network (inspect), no execute (run). Artifact browse stays on run view.

basic usage ​

bash
gform view <form>
gform view ./forms/<form>.yaml
gform view                 # TTY: pick from resolvable forms
gform v <form>           # short alias
gform view <form> -j      # JSON (+ global -j)
gform view <form> -T 20   # more pool / persona rows

On a TTY, omitting the form opens a picker over the same search path as gform list (title shows the count, e.g. Select form · 4). Non-interactive shells must pass the name or path.

what it shows ​

  • Meta — name, path, url, optional description/tags, steps, variantMode, unique
  • Starters — headed / repeat labeled as form.yaml starter (CLI / --policy still win at run)
  • Pools — each pooled question with length; warns when lengths differ under rotate/random; errors tip under zip
  • Personas (zip) — aligned rows when variantMode: zip and lengths match (-T / Top caps the list)
  • Steps — short step summary (+ pool×N when present)