open-form list
List every form in the workspace with its id, title, response count and source file, read without starting a server.
npx open-form listPrints a table of every form in forms/:
ID TITLE RESPONSES SOURCE
contact Get in touch 12 forms/contact/index.tsx
meetup Developer Meetup 87 forms/meetup/index.tsx| Column | Meaning |
|---|---|
ID | The folder name, served at /f/<id>. |
TITLE | The title from defineForm(), read from the source without loading the form. |
RESPONSES | The count in this workspace's database: Postgres at OPEN_FORM_DATABASE_URL or storage.url, else SQLite at OPEN_FORM_DB, storage.path or .open-form/open-form.db (which database). 0 before the first submission. |
SOURCE | The form's entry file. |
list takes no flags and doesn't start a server. Counts come from the database
this workspace points at: a local SQLite file is separate from a deployed
server's, while a shared Postgres connection string reads the same responses.
To see the schema each form derives, use open-form check.
To get the responses themselves, use
open-form responses export.
open-form delete
Delete a form for good: its responses, schema versions, Studio settings and its folder in forms/. Export the responses first to keep them.
open-form responses export
Export a form's responses from the workspace's database (SQLite or Postgres) as CSV, Excel or JSON, to stdout or a file, oldest first.