You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/sdk/cli-reference.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -77,7 +77,7 @@ You can use environment variables to configure workspace and authentication:
77
77
|`TAILOR_PLATFORM_SDK_DTS_PATH`| Output path for generated `tailor.d.ts` type definition file |
78
78
|`TAILOR_PLATFORM_MACHINE_USER_CLIENT_ID`| Client ID for `login --machine-user`|
79
79
|`TAILOR_PLATFORM_MACHINE_USER_CLIENT_SECRET`| Client secret for `login --machine-user`|
80
-
|`TAILOR_PLATFORM_MACHINE_USER_NAME`| Default machine user name for `query`, `workflow start`, `function test-run`|
80
+
|`TAILOR_PLATFORM_MACHINE_USER_NAME`| Default machine user name for `query`, `workflow start`, `function test-run`, `machineuser token`|
81
81
|`TAILOR_BUNDLE_CONCURRENCY`| Max concurrent bundle workers for `deploy` (resolvers/executors/workflows). Defaults to CPU count |
82
82
|`VISUAL` / `EDITOR`| Preferred editor for commands that open files (e.g., `vim`, `code`, `nano`) |
83
83
|`TAILOR_CRASH_REPORTS_LOCAL`| Local crash log writing: `on` (default) or `off`|
@@ -130,6 +130,7 @@ Commands for managing TailorDB tables, data, and schema migrations.
130
130
|[tailordb migration script](cli/tailordb.md#tailordb-migration-script)| Add a migration script (migrate.ts) template to an existing migration directory. |
131
131
|[tailordb migration set](cli/tailordb.md#tailordb-migration-set)| Set migration checkpoint to a specific number. |
132
132
|[tailordb migration status](cli/tailordb.md#tailordb-migration-status)| Show the current migration status for TailorDB namespaces, including applied and pending migrations. |
133
+
|[tailordb migration sync](cli/tailordb.md#tailordb-migration-sync)| Sync remote TailorDB schema to a specific migration snapshot (recovery from --no-schema-check drift). |
133
134
|[tailordb erd export](cli/tailordb.md#tailordb-erd-export)| Export TailorDB ERD static viewer from local TailorDB schema. |
134
135
|[tailordb erd serve](cli/tailordb.md#tailordb-erd-serve)| Generate and serve TailorDB ERD locally with watch reload. (beta) |
|`--workspace-id <WORKSPACE_ID>`|`-w`| Workspace ID | No | - |`TAILOR_PLATFORM_WORKSPACE_ID`|
251
+
|`--profile <PROFILE>`|`-p`| Workspace profile | No | - |`TAILOR_PLATFORM_PROFILE`|
252
+
|`--name <NAME>`|`-n`| Workflow job name to run (matches the `name` field of createWorkflowJob) | No | - | - |
253
+
|`--arg <ARG>`|`-a`| JSON argument to pass to the function | No | - | - |
254
+
|`--machine-user <MACHINE_USER>`|`-m`| Machine user name for authentication. Falls back to the active profile's default machine user.| No | - |`TAILOR_PLATFORM_MACHINE_USER_NAME`|
255
+
|`--config <CONFIG>`|`-c`| Path to SDK config file | No |`"tailor.config.ts"`| - |
Copy file name to clipboardExpand all lines: docs/sdk/cli/query.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@ tailor-sdk query [options]
33
33
|`--query <QUERY>`|`-q`| Query string to execute directly; omit to start REPL mode | No | - | - |
34
34
|`--file <FILE>`|`-f`| Read query string from file; omit to start REPL mode | No | - | - |
35
35
|`--edit`| - | Open a temporary file in your editor; omit to start REPL mode | No |`false`| - |
36
-
|`--machine-user <MACHINE_USER>`|`-m`| Machine user name for query execution| Yes| - |`TAILOR_PLATFORM_MACHINE_USER_NAME`|
36
+
|`--machine-user <MACHINE_USER>`|`-m`| Machine user name for query execution. Falls back to the active profile's default machine user.| No | - |`TAILOR_PLATFORM_MACHINE_USER_NAME`|
37
37
|`--newline-on-enter`| - | REPL: when true, Enter inserts a newline and Shift+Enter submits. Use --no-newline-on-enter to swap. | No | - | - |
|`--workspace-name <WORKSPACE_NAME>`|`-n`| Workspace name (defaults to the config 'name') | No | - |
71
+
|`--branch <BRANCH>`| - | Branch target: deploy trigger branch (defaults to the detected default branch). Tag target: tag-reachability guard branch (no guard when omitted) | No | - |
72
+
|`--tag`| - | Generate a tag target (deploy on tag push) | No |`false`|
73
+
|`--tag-pattern <TAG_PATTERN>`| - | Tag glob to match (requires --tag; defaults to v\*) | No | - |
74
+
|`--environment <ENVIRONMENT>`| - | GitHub Environment for the plan/deploy jobs (defaults to the workspace name) | No | - |
75
+
|`--no-plan`| - | Disable the plan job for a branch target (cannot be combined with --tag) | No |`false`|
76
+
|`--dir <DIR>`|`-d`| App directory (for monorepo setups) | No |`"."`|
77
+
|`--force`| - | Discard hand edits / take over unmanaged files and regenerate | No |`false`|
0 commit comments