From 68d82dbe54d23174242fdc4d23569b93ddf50d5b Mon Sep 17 00:00:00 2001 From: Diego Imbert Date: Sat, 20 Jun 2026 14:41:44 +0200 Subject: [PATCH] chore: regenerate CLI docs for datatable migrate commands --- cli/src/guidance/skills.gen.ts | 9 ++++++++- system_prompts/auto-generated/cli/cli-commands.md | 9 ++++++++- system_prompts/auto-generated/prompts.ts | 9 ++++++++- .../auto-generated/skills/cli-commands/SKILL.md | 9 ++++++++- 4 files changed, 32 insertions(+), 4 deletions(-) diff --git a/cli/src/guidance/skills.gen.ts b/cli/src/guidance/skills.gen.ts index d7f61151e0..f46ccc992e 100644 --- a/cli/src/guidance/skills.gen.ts +++ b/cli/src/guidance/skills.gen.ts @@ -6105,15 +6105,22 @@ Show all available wmill.yaml configuration options ### datatable -datatable related commands +manage datatable migrations **Subcommands:** +- \`datatable new \` - scaffold a new migration (.up.sql / .down.sql files) + - \`-d --datatable \` - Target datatable (default: main) +- \`datatable up\` - apply all pending migrations to every datatable (or one via --datatable) + - \`-d --datatable \` - Target a specific datatable (default: all datatables in the workspace) +- \`datatable down\` - datatable related commands + - \`-d --datatable \` - Target a specific datatable (default: all datatables in the workspace) - \`datatable list\` - list all datatables in the workspace - \`--json\` - Output as JSON (for piping to jq) - \`datatable run \` - run a SQL query on a datatable - \`-n --name \` - Datatable name (default: main) - \`-s --silent\` - Output only the final result as JSON. Useful for scripting. +- \`datatable migrate\` - \`datatable serve\` - Serve all datatables as a Postgres-wire endpoint (psql, DBeaver, pgAdmin); the client picks the datatable via the database name in its connection string - \`--port \` - Port to listen on (default: first free port in 5433-5500) - \`--host \` - Bind address (default: 127.0.0.1) diff --git a/system_prompts/auto-generated/cli/cli-commands.md b/system_prompts/auto-generated/cli/cli-commands.md index 4712aae8c4..56eedce437 100644 --- a/system_prompts/auto-generated/cli/cli-commands.md +++ b/system_prompts/auto-generated/cli/cli-commands.md @@ -68,15 +68,22 @@ Show all available wmill.yaml configuration options ### datatable -datatable related commands +manage datatable migrations **Subcommands:** +- `datatable new ` - scaffold a new migration (.up.sql / .down.sql files) + - `-d --datatable ` - Target datatable (default: main) +- `datatable up` - apply all pending migrations to every datatable (or one via --datatable) + - `-d --datatable ` - Target a specific datatable (default: all datatables in the workspace) +- `datatable down` - datatable related commands + - `-d --datatable ` - Target a specific datatable (default: all datatables in the workspace) - `datatable list` - list all datatables in the workspace - `--json` - Output as JSON (for piping to jq) - `datatable run ` - run a SQL query on a datatable - `-n --name ` - Datatable name (default: main) - `-s --silent` - Output only the final result as JSON. Useful for scripting. +- `datatable migrate` - `datatable serve` - Serve all datatables as a Postgres-wire endpoint (psql, DBeaver, pgAdmin); the client picks the datatable via the database name in its connection string - `--port ` - Port to listen on (default: first free port in 5433-5500) - `--host ` - Bind address (default: 127.0.0.1) diff --git a/system_prompts/auto-generated/prompts.ts b/system_prompts/auto-generated/prompts.ts index ac2b77719b..210ea2fd12 100644 --- a/system_prompts/auto-generated/prompts.ts +++ b/system_prompts/auto-generated/prompts.ts @@ -2619,15 +2619,22 @@ Show all available wmill.yaml configuration options ### datatable -datatable related commands +manage datatable migrations **Subcommands:** +- \`datatable new \` - scaffold a new migration (.up.sql / .down.sql files) + - \`-d --datatable \` - Target datatable (default: main) +- \`datatable up\` - apply all pending migrations to every datatable (or one via --datatable) + - \`-d --datatable \` - Target a specific datatable (default: all datatables in the workspace) +- \`datatable down\` - datatable related commands + - \`-d --datatable \` - Target a specific datatable (default: all datatables in the workspace) - \`datatable list\` - list all datatables in the workspace - \`--json\` - Output as JSON (for piping to jq) - \`datatable run \` - run a SQL query on a datatable - \`-n --name \` - Datatable name (default: main) - \`-s --silent\` - Output only the final result as JSON. Useful for scripting. +- \`datatable migrate\` - \`datatable serve\` - Serve all datatables as a Postgres-wire endpoint (psql, DBeaver, pgAdmin); the client picks the datatable via the database name in its connection string - \`--port \` - Port to listen on (default: first free port in 5433-5500) - \`--host \` - Bind address (default: 127.0.0.1) diff --git a/system_prompts/auto-generated/skills/cli-commands/SKILL.md b/system_prompts/auto-generated/skills/cli-commands/SKILL.md index 8f4c15786d..5bbabeb4bd 100644 --- a/system_prompts/auto-generated/skills/cli-commands/SKILL.md +++ b/system_prompts/auto-generated/skills/cli-commands/SKILL.md @@ -73,15 +73,22 @@ Show all available wmill.yaml configuration options ### datatable -datatable related commands +manage datatable migrations **Subcommands:** +- `datatable new ` - scaffold a new migration (.up.sql / .down.sql files) + - `-d --datatable ` - Target datatable (default: main) +- `datatable up` - apply all pending migrations to every datatable (or one via --datatable) + - `-d --datatable ` - Target a specific datatable (default: all datatables in the workspace) +- `datatable down` - datatable related commands + - `-d --datatable ` - Target a specific datatable (default: all datatables in the workspace) - `datatable list` - list all datatables in the workspace - `--json` - Output as JSON (for piping to jq) - `datatable run ` - run a SQL query on a datatable - `-n --name ` - Datatable name (default: main) - `-s --silent` - Output only the final result as JSON. Useful for scripting. +- `datatable migrate` - `datatable serve` - Serve all datatables as a Postgres-wire endpoint (psql, DBeaver, pgAdmin); the client picks the datatable via the database name in its connection string - `--port ` - Port to listen on (default: first free port in 5433-5500) - `--host ` - Bind address (default: 127.0.0.1)