@tailor-platform/sdk 1.13.0 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -43,14 +43,14 @@ tailor-sdk tailordb truncate [options] [types]
43
43
 
44
44
  **Options**
45
45
 
46
- | Option | Alias | Description | Default |
47
- | ------------------------------- | ----- | ------------------------------------------ | -------------------- |
48
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
49
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
50
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
51
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
52
- | `--all` | `-a` | Truncate all tables in all namespaces | `false` |
53
- | `--namespace <NAMESPACE>` | `-n` | Truncate all tables in specified namespace | - |
46
+ | Option | Alias | Description | Required | Default |
47
+ | ------------------------------- | ----- | ------------------------------------------ | -------- | -------------------- |
48
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
49
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
50
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
51
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
52
+ | `--all` | `-a` | Truncate all tables in all namespaces | No | `false` |
53
+ | `--namespace <NAMESPACE>` | `-n` | Truncate all tables in specified namespace | No | - |
54
54
 
55
55
  <!-- politty:command:tailordb truncate:end -->
56
56
  <!-- politty:command:tailordb migration:start -->
@@ -88,12 +88,12 @@ tailor-sdk tailordb migration generate [options]
88
88
 
89
89
  **Options**
90
90
 
91
- | Option | Alias | Description | Default |
92
- | ------------------- | ----- | ------------------------------------------ | -------------------- |
93
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
94
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
95
- | `--name <NAME>` | `-n` | Optional description for the migration | - |
96
- | `--init` | - | Delete existing migrations and start fresh | `false` |
91
+ | Option | Alias | Description | Required | Default |
92
+ | ------------------- | ----- | ------------------------------------------ | -------- | -------------------- |
93
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
94
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
95
+ | `--name <NAME>` | `-n` | Optional description for the migration | No | - |
96
+ | `--init` | - | Delete existing migrations and start fresh | No | `false` |
97
97
 
98
98
  <!-- politty:command:tailordb migration generate:end -->
99
99
  <!-- politty:command:tailordb migration set:start -->
@@ -116,13 +116,13 @@ tailor-sdk tailordb migration set [options] <number>
116
116
 
117
117
  **Options**
118
118
 
119
- | Option | Alias | Description | Default |
120
- | ------------------------------- | ----- | ----------------------------------------------------------------- | -------------------- |
121
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
122
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
123
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
124
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
125
- | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (required if multiple namespaces exist) | - |
119
+ | Option | Alias | Description | Required | Default |
120
+ | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- |
121
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
122
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
123
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
124
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
125
+ | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (required if multiple namespaces exist) | No | - |
126
126
 
127
127
  <!-- politty:command:tailordb migration set:end -->
128
128
  <!-- politty:command:tailordb migration status:start -->
@@ -139,12 +139,12 @@ tailor-sdk tailordb migration status [options]
139
139
 
140
140
  **Options**
141
141
 
142
- | Option | Alias | Description | Default |
143
- | ------------------------------- | ----- | ----------------------------------------------------------------- | -------------------- |
144
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
145
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
146
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
147
- | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (shows all namespaces if not specified) | - |
142
+ | Option | Alias | Description | Required | Default |
143
+ | ------------------------------- | ----- | ----------------------------------------------------------------- | -------- | -------------------- |
144
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
145
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
146
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
147
+ | `--namespace <NAMESPACE>` | `-n` | Target TailorDB namespace (shows all namespaces if not specified) | No | - |
148
148
 
149
149
  <!-- politty:command:tailordb migration status:end -->
150
150
  <!-- politty:command:tailordb erd:start -->
@@ -182,14 +182,14 @@ tailor-sdk tailordb erd export [options]
182
182
 
183
183
  **Options**
184
184
 
185
- | Option | Alias | Description | Default |
186
- | ------------------------------- | ----- | ---------------------------------------------------------------------------------------------------- | -------------------- |
187
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
188
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
189
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
190
- | `--json` | `-j` | Output as JSON | `false` |
191
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional if only one namespace is defined in config) | - |
192
- | `--output <OUTPUT>` | `-o` | Output directory path for tbls-compatible ERD JSON (writes to `<outputDir>/<namespace>/schema.json`) | `".tailor-sdk/erd"` |
185
+ | Option | Alias | Description | Required | Default |
186
+ | ------------------------------- | ----- | ---------------------------------------------------------------------------------------------------- | -------- | -------------------- |
187
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
188
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
189
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
190
+ | `--json` | `-j` | Output as JSON | No | `false` |
191
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional if only one namespace is defined in config) | No | - |
192
+ | `--output <OUTPUT>` | `-o` | Output directory path for tbls-compatible ERD JSON (writes to `<outputDir>/<namespace>/schema.json`) | No | `".tailor-sdk/erd"` |
193
193
 
194
194
  <!-- politty:command:tailordb erd export:end -->
195
195
  <!-- politty:command:tailordb erd serve:start -->
@@ -206,12 +206,12 @@ tailor-sdk tailordb erd serve [options]
206
206
 
207
207
  **Options**
208
208
 
209
- | Option | Alias | Description | Default |
210
- | ------------------------------- | ----- | ------------------------------------------------------------------------- | -------------------- |
211
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
212
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
213
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
214
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (uses first namespace in config if not specified) | - |
209
+ | Option | Alias | Description | Required | Default |
210
+ | ------------------------------- | ----- | ------------------------------------------------------------------------- | -------- | -------------------- |
211
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
212
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
213
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
214
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (uses first namespace in config if not specified) | No | - |
215
215
 
216
216
  <!-- politty:command:tailordb erd serve:end -->
217
217
  <!-- politty:command:tailordb erd deploy:start -->
@@ -228,13 +228,13 @@ tailor-sdk tailordb erd deploy [options]
228
228
 
229
229
  **Options**
230
230
 
231
- | Option | Alias | Description | Default |
232
- | ------------------------------- | ----- | ----------------------------------------------------------------------------------- | -------------------- |
233
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
234
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
235
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
236
- | `--json` | `-j` | Output as JSON | `false` |
237
- | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional - deploys all namespaces with erdSite if omitted) | - |
231
+ | Option | Alias | Description | Required | Default |
232
+ | ------------------------------- | ----- | ----------------------------------------------------------------------------------- | -------- | -------------------- |
233
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
234
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
235
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
236
+ | `--json` | `-j` | Output as JSON | No | `false` |
237
+ | `--namespace <NAMESPACE>` | `-n` | TailorDB namespace name (optional - deploys all namespaces with erdSite if omitted) | No | - |
238
238
 
239
239
  <!-- politty:command:tailordb erd deploy:end -->
240
240
 
package/docs/cli/user.md CHANGED
@@ -79,9 +79,9 @@ tailor-sdk user list [options]
79
79
 
80
80
  **Options**
81
81
 
82
- | Option | Alias | Description | Default |
83
- | -------- | ----- | -------------- | ------- |
84
- | `--json` | `-j` | Output as JSON | `false` |
82
+ | Option | Alias | Description | Required | Default |
83
+ | -------- | ----- | -------------- | -------- | ------- |
84
+ | `--json` | `-j` | Output as JSON | No | `false` |
85
85
 
86
86
  <!-- politty:command:user list:end -->
87
87
  <!-- politty:command:user switch:start -->
@@ -117,9 +117,9 @@ tailor-sdk user pat [options] [command]
117
117
 
118
118
  **Options**
119
119
 
120
- | Option | Alias | Description | Default |
121
- | -------- | ----- | -------------- | ------- |
122
- | `--json` | `-j` | Output as JSON | `false` |
120
+ | Option | Alias | Description | Required | Default |
121
+ | -------- | ----- | -------------- | -------- | ------- |
122
+ | `--json` | `-j` | Output as JSON | No | `false` |
123
123
 
124
124
  **Commands**
125
125
 
@@ -145,9 +145,9 @@ tailor-sdk user pat list [options]
145
145
 
146
146
  **Options**
147
147
 
148
- | Option | Alias | Description | Default |
149
- | -------- | ----- | -------------- | ------- |
150
- | `--json` | `-j` | Output as JSON | `false` |
148
+ | Option | Alias | Description | Required | Default |
149
+ | -------- | ----- | -------------- | -------- | ------- |
150
+ | `--json` | `-j` | Output as JSON | No | `false` |
151
151
 
152
152
  <!-- politty:command:user pat list:end -->
153
153
  <!-- politty:command:user pat create:start -->
@@ -170,10 +170,10 @@ tailor-sdk user pat create [options] <name>
170
170
 
171
171
  **Options**
172
172
 
173
- | Option | Alias | Description | Default |
174
- | --------- | ----- | ------------------------------------------- | ------- |
175
- | `--json` | `-j` | Output as JSON | `false` |
176
- | `--write` | `-W` | Grant write permission (default: read-only) | `false` |
173
+ | Option | Alias | Description | Required | Default |
174
+ | --------- | ----- | ------------------------------------------- | -------- | ------- |
175
+ | `--json` | `-j` | Output as JSON | No | `false` |
176
+ | `--write` | `-W` | Grant write permission (default: read-only) | No | `false` |
177
177
 
178
178
  <!-- politty:command:user pat create:end -->
179
179
  <!-- politty:command:user pat delete:start -->
@@ -215,10 +215,10 @@ tailor-sdk user pat update [options] <name>
215
215
 
216
216
  **Options**
217
217
 
218
- | Option | Alias | Description | Default |
219
- | --------- | ----- | ---------------------------------------------------------- | ------- |
220
- | `--json` | `-j` | Output as JSON | `false` |
221
- | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | `false` |
218
+ | Option | Alias | Description | Required | Default |
219
+ | --------- | ----- | ---------------------------------------------------------- | -------- | ------- |
220
+ | `--json` | `-j` | Output as JSON | No | `false` |
221
+ | `--write` | `-W` | Grant write permission (if not specified, keeps read-only) | No | `false` |
222
222
 
223
223
  <!-- politty:command:user pat update:end -->
224
224
 
@@ -39,11 +39,11 @@ tailor-sdk workflow list [options]
39
39
 
40
40
  **Options**
41
41
 
42
- | Option | Alias | Description | Default |
43
- | ------------------------------- | ----- | ----------------- | ------- |
44
- | `--json` | `-j` | Output as JSON | `false` |
45
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
46
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
42
+ | Option | Alias | Description | Required | Default |
43
+ | ------------------------------- | ----- | ----------------- | -------- | ------- |
44
+ | `--json` | `-j` | Output as JSON | No | `false` |
45
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
46
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
47
47
 
48
48
  <!-- politty:command:workflow list:end -->
49
49
  <!-- politty:command:workflow get:start -->
@@ -66,11 +66,11 @@ tailor-sdk workflow get [options] <name>
66
66
 
67
67
  **Options**
68
68
 
69
- | Option | Alias | Description | Default |
70
- | ------------------------------- | ----- | ----------------- | ------- |
71
- | `--json` | `-j` | Output as JSON | `false` |
72
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
73
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
69
+ | Option | Alias | Description | Required | Default |
70
+ | ------------------------------- | ----- | ----------------- | -------- | ------- |
71
+ | `--json` | `-j` | Output as JSON | No | `false` |
72
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
73
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
74
74
 
75
75
  <!-- politty:command:workflow get:end -->
76
76
  <!-- politty:command:workflow start:start -->
@@ -93,17 +93,17 @@ tailor-sdk workflow start [options] <name>
93
93
 
94
94
  **Options**
95
95
 
96
- | Option | Alias | Description | Default |
97
- | ------------------------------- | ----- | -------------------------------------------------------------- | -------------------- |
98
- | `--json` | `-j` | Output as JSON | `false` |
99
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
100
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
101
- | `--config <CONFIG>` | `-c` | Path to SDK config file | `"tailor.config.ts"` |
102
- | `--machineuser <MACHINEUSER>` | `-m` | Machine user name | - |
103
- | `--arg <ARG>` | `-a` | Workflow argument (JSON string) | - |
104
- | `--wait` | `-W` | Wait for execution to complete | `false` |
105
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | `"3s"` |
106
- | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | `false` |
96
+ | Option | Alias | Description | Required | Default |
97
+ | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | -------------------- |
98
+ | `--json` | `-j` | Output as JSON | No | `false` |
99
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
100
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
101
+ | `--config <CONFIG>` | `-c` | Path to SDK config file | No | `"tailor.config.ts"` |
102
+ | `--machineuser <MACHINEUSER>` | `-m` | Machine user name | Yes | - |
103
+ | `--arg <ARG>` | `-a` | Workflow argument (JSON string) | No | - |
104
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` |
105
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
106
+ | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
107
107
 
108
108
  <!-- politty:command:workflow start:end -->
109
109
  <!-- politty:command:workflow executions:start -->
@@ -126,16 +126,16 @@ tailor-sdk workflow executions [options] [executionId]
126
126
 
127
127
  **Options**
128
128
 
129
- | Option | Alias | Description | Default |
130
- | --------------------------------- | ----- | -------------------------------------------------------------- | ------- |
131
- | `--json` | `-j` | Output as JSON | `false` |
132
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
133
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
134
- | `--workflow-name <WORKFLOW_NAME>` | `-n` | Filter by workflow name (list mode only) | - |
135
- | `--status <STATUS>` | `-s` | Filter by status (list mode only) | - |
136
- | `--wait` | `-W` | Wait for execution to complete | `false` |
137
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | `"3s"` |
138
- | `--logs` | - | Display job execution logs (detail mode only) | `false` |
129
+ | Option | Alias | Description | Required | Default |
130
+ | --------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- |
131
+ | `--json` | `-j` | Output as JSON | No | `false` |
132
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
133
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
134
+ | `--workflow-name <WORKFLOW_NAME>` | `-n` | Filter by workflow name (list mode only) | No | - |
135
+ | `--status <STATUS>` | `-s` | Filter by status (list mode only) | No | - |
136
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` |
137
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
138
+ | `--logs` | - | Display job execution logs (detail mode only) | No | `false` |
139
139
 
140
140
  <!-- politty:command:workflow executions:end -->
141
141
  <!-- politty:command:workflow resume:start -->
@@ -158,14 +158,14 @@ tailor-sdk workflow resume [options] <executionId>
158
158
 
159
159
  **Options**
160
160
 
161
- | Option | Alias | Description | Default |
162
- | ------------------------------- | ----- | -------------------------------------------------------------- | ------- |
163
- | `--json` | `-j` | Output as JSON | `false` |
164
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
165
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
166
- | `--wait` | `-W` | Wait for execution to complete | `false` |
167
- | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | `"3s"` |
168
- | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | `false` |
161
+ | Option | Alias | Description | Required | Default |
162
+ | ------------------------------- | ----- | -------------------------------------------------------------- | -------- | ------- |
163
+ | `--json` | `-j` | Output as JSON | No | `false` |
164
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
165
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
166
+ | `--wait` | `-W` | Wait for execution to complete | No | `false` |
167
+ | `--interval <INTERVAL>` | `-i` | Polling interval when using --wait (e.g., '3s', '500ms', '1m') | No | `"3s"` |
168
+ | `--logs` | `-l` | Display job execution logs after completion (requires --wait) | No | `false` |
169
169
 
170
170
  <!-- politty:command:workflow resume:end -->
171
171
 
@@ -41,16 +41,16 @@ tailor-sdk workspace create [options]
41
41
 
42
42
  **Options**
43
43
 
44
- | Option | Alias | Description | Default |
45
- | ------------------------------------- | ----- | ----------------------------------------------------- | ------- |
46
- | `--json` | `-j` | Output as JSON | `false` |
47
- | `--name <NAME>` | `-n` | Workspace name | - |
48
- | `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | - |
49
- | `--delete-protection` | `-d` | Enable delete protection | `false` |
50
- | `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | - |
51
- | `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | - |
52
- | `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | - |
53
- | `--profile-user <PROFILE_USER>` | - | User email for the profile (defaults to current user) | - |
44
+ | Option | Alias | Description | Required | Default |
45
+ | ------------------------------------- | ----- | ----------------------------------------------------- | -------- | ------- |
46
+ | `--json` | `-j` | Output as JSON | No | `false` |
47
+ | `--name <NAME>` | `-n` | Workspace name | Yes | - |
48
+ | `--region <REGION>` | `-r` | Workspace region (us-west, asia-northeast) | Yes | - |
49
+ | `--delete-protection` | `-d` | Enable delete protection | No | `false` |
50
+ | `--organization-id <ORGANIZATION_ID>` | `-o` | Organization ID to workspace associate with | No | - |
51
+ | `--folder-id <FOLDER_ID>` | `-f` | Folder ID to workspace associate with | No | - |
52
+ | `--profile-name <PROFILE_NAME>` | `-p` | Profile name to create | No | - |
53
+ | `--profile-user <PROFILE_USER>` | - | User email for the profile (defaults to current user) | No | - |
54
54
 
55
55
  <!-- politty:command:workspace create:end -->
56
56
  <!-- politty:command:workspace list:start -->
@@ -67,10 +67,10 @@ tailor-sdk workspace list [options]
67
67
 
68
68
  **Options**
69
69
 
70
- | Option | Alias | Description | Default |
71
- | ----------------- | ----- | ------------------------------------ | ------- |
72
- | `--json` | `-j` | Output as JSON | `false` |
73
- | `--limit <LIMIT>` | `-l` | Maximum number of workspaces to list | - |
70
+ | Option | Alias | Description | Required | Default |
71
+ | ----------------- | ----- | ------------------------------------ | -------- | ------- |
72
+ | `--json` | `-j` | Output as JSON | No | `false` |
73
+ | `--limit <LIMIT>` | `-l` | Maximum number of workspaces to list | No | - |
74
74
 
75
75
  <!-- politty:command:workspace list:end -->
76
76
  <!-- politty:command:workspace delete:start -->
@@ -87,10 +87,10 @@ tailor-sdk workspace delete [options]
87
87
 
88
88
  **Options**
89
89
 
90
- | Option | Alias | Description | Default |
91
- | ------------------------------- | ----- | ------------------------- | ------- |
92
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
93
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
90
+ | Option | Alias | Description | Required | Default |
91
+ | ------------------------------- | ----- | ------------------------- | -------- | ------- |
92
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
93
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
94
94
 
95
95
  <!-- politty:command:workspace delete:end -->
96
96
  <!-- politty:command:profile:start -->
@@ -135,11 +135,11 @@ tailor-sdk profile create [options] <name>
135
135
 
136
136
  **Options**
137
137
 
138
- | Option | Alias | Description | Default |
139
- | ------------------------------- | ----- | -------------- | ------- |
140
- | `--json` | `-j` | Output as JSON | `false` |
141
- | `--user <USER>` | `-u` | User email | - |
142
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
138
+ | Option | Alias | Description | Required | Default |
139
+ | ------------------------------- | ----- | -------------- | -------- | ------- |
140
+ | `--json` | `-j` | Output as JSON | No | `false` |
141
+ | `--user <USER>` | `-u` | User email | Yes | - |
142
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
143
143
 
144
144
  <!-- politty:command:profile create:end -->
145
145
  <!-- politty:command:profile list:start -->
@@ -156,9 +156,9 @@ tailor-sdk profile list [options]
156
156
 
157
157
  **Options**
158
158
 
159
- | Option | Alias | Description | Default |
160
- | -------- | ----- | -------------- | ------- |
161
- | `--json` | `-j` | Output as JSON | `false` |
159
+ | Option | Alias | Description | Required | Default |
160
+ | -------- | ----- | -------------- | -------- | ------- |
161
+ | `--json` | `-j` | Output as JSON | No | `false` |
162
162
 
163
163
  <!-- politty:command:profile list:end -->
164
164
  <!-- politty:command:profile update:start -->
@@ -181,11 +181,11 @@ tailor-sdk profile update [options] <name>
181
181
 
182
182
  **Options**
183
183
 
184
- | Option | Alias | Description | Default |
185
- | ------------------------------- | ----- | ---------------- | ------- |
186
- | `--json` | `-j` | Output as JSON | `false` |
187
- | `--user <USER>` | `-u` | New user email | - |
188
- | `--workspace-id <WORKSPACE_ID>` | `-w` | New workspace ID | - |
184
+ | Option | Alias | Description | Required | Default |
185
+ | ------------------------------- | ----- | ---------------- | -------- | ------- |
186
+ | `--json` | `-j` | Output as JSON | No | `false` |
187
+ | `--user <USER>` | `-u` | New user email | No | - |
188
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | New workspace ID | No | - |
189
189
 
190
190
  <!-- politty:command:profile update:end -->
191
191
  <!-- politty:command:profile delete:start -->
@@ -243,12 +243,12 @@ tailor-sdk workspace app health [options]
243
243
 
244
244
  **Options**
245
245
 
246
- | Option | Alias | Description | Default |
247
- | ------------------------------- | ----- | ----------------- | ------- |
248
- | `--json` | `-j` | Output as JSON | `false` |
249
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
250
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
251
- | `--name <NAME>` | `-n` | Application name | - |
246
+ | Option | Alias | Description | Required | Default |
247
+ | ------------------------------- | ----- | ----------------- | -------- | ------- |
248
+ | `--json` | `-j` | Output as JSON | No | `false` |
249
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
250
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
251
+ | `--name <NAME>` | `-n` | Application name | Yes | - |
252
252
 
253
253
  <!-- politty:command:workspace app health:end -->
254
254
 
@@ -266,12 +266,12 @@ tailor-sdk workspace app list [options]
266
266
 
267
267
  **Options**
268
268
 
269
- | Option | Alias | Description | Default |
270
- | ------------------------------- | ----- | -------------------------------------- | ------- |
271
- | `--json` | `-j` | Output as JSON | `false` |
272
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
273
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
274
- | `--limit <LIMIT>` | `-l` | Maximum number of applications to list | - |
269
+ | Option | Alias | Description | Required | Default |
270
+ | ------------------------------- | ----- | -------------------------------------- | -------- | ------- |
271
+ | `--json` | `-j` | Output as JSON | No | `false` |
272
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
273
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
274
+ | `--limit <LIMIT>` | `-l` | Maximum number of applications to list | No | - |
275
275
 
276
276
  <!-- politty:command:workspace app list:end -->
277
277
 
@@ -289,11 +289,11 @@ tailor-sdk workspace get [options]
289
289
 
290
290
  **Options**
291
291
 
292
- | Option | Alias | Description | Default |
293
- | ------------------------------- | ----- | ----------------- | ------- |
294
- | `--json` | `-j` | Output as JSON | `false` |
295
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
296
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
292
+ | Option | Alias | Description | Required | Default |
293
+ | ------------------------------- | ----- | ----------------- | -------- | ------- |
294
+ | `--json` | `-j` | Output as JSON | No | `false` |
295
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
296
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
297
297
 
298
298
  <!-- politty:command:workspace get:end -->
299
299
 
@@ -311,10 +311,10 @@ tailor-sdk workspace restore [options]
311
311
 
312
312
  **Options**
313
313
 
314
- | Option | Alias | Description | Default |
315
- | ------------------------------- | ----- | ------------------------- | ------- |
316
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
317
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
314
+ | Option | Alias | Description | Required | Default |
315
+ | ------------------------------- | ----- | ------------------------- | -------- | ------- |
316
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | Yes | - |
317
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
318
318
 
319
319
  <!-- politty:command:workspace restore:end -->
320
320
 
@@ -355,12 +355,12 @@ tailor-sdk workspace user invite [options]
355
355
 
356
356
  **Options**
357
357
 
358
- | Option | Alias | Description | Default |
359
- | ------------------------------- | ----- | -------------------------------------- | ------- |
360
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
361
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
362
- | `--email <EMAIL>` | - | Email address of the user to invite | - |
363
- | `--role <ROLE>` | `-r` | Role to assign (admin, editor, viewer) | - |
358
+ | Option | Alias | Description | Required | Default |
359
+ | ------------------------------- | ----- | -------------------------------------- | -------- | ------- |
360
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
361
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
362
+ | `--email <EMAIL>` | - | Email address of the user to invite | Yes | - |
363
+ | `--role <ROLE>` | `-r` | Role to assign (admin, editor, viewer) | Yes | - |
364
364
 
365
365
  <!-- politty:command:workspace user invite:end -->
366
366
 
@@ -378,12 +378,12 @@ tailor-sdk workspace user list [options]
378
378
 
379
379
  **Options**
380
380
 
381
- | Option | Alias | Description | Default |
382
- | ------------------------------- | ----- | ------------------------------- | ------- |
383
- | `--json` | `-j` | Output as JSON | `false` |
384
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
385
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
386
- | `--limit <LIMIT>` | `-l` | Maximum number of users to list | - |
381
+ | Option | Alias | Description | Required | Default |
382
+ | ------------------------------- | ----- | ------------------------------- | -------- | ------- |
383
+ | `--json` | `-j` | Output as JSON | No | `false` |
384
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
385
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
386
+ | `--limit <LIMIT>` | `-l` | Maximum number of users to list | No | - |
387
387
 
388
388
  <!-- politty:command:workspace user list:end -->
389
389
 
@@ -401,12 +401,12 @@ tailor-sdk workspace user remove [options]
401
401
 
402
402
  **Options**
403
403
 
404
- | Option | Alias | Description | Default |
405
- | ------------------------------- | ----- | ----------------------------------- | ------- |
406
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
407
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
408
- | `--email <EMAIL>` | - | Email address of the user to remove | - |
409
- | `--yes` | `-y` | Skip confirmation prompts | `false` |
404
+ | Option | Alias | Description | Required | Default |
405
+ | ------------------------------- | ----- | ----------------------------------- | -------- | ------- |
406
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
407
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
408
+ | `--email <EMAIL>` | - | Email address of the user to remove | Yes | - |
409
+ | `--yes` | `-y` | Skip confirmation prompts | No | `false` |
410
410
 
411
411
  <!-- politty:command:workspace user remove:end -->
412
412
 
@@ -424,11 +424,11 @@ tailor-sdk workspace user update [options]
424
424
 
425
425
  **Options**
426
426
 
427
- | Option | Alias | Description | Default |
428
- | ------------------------------- | ----- | ------------------------------------------ | ------- |
429
- | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | - |
430
- | `--profile <PROFILE>` | `-p` | Workspace profile | - |
431
- | `--email <EMAIL>` | - | Email address of the user to update | - |
432
- | `--role <ROLE>` | `-r` | New role to assign (admin, editor, viewer) | - |
427
+ | Option | Alias | Description | Required | Default |
428
+ | ------------------------------- | ----- | ------------------------------------------ | -------- | ------- |
429
+ | `--workspace-id <WORKSPACE_ID>` | `-w` | Workspace ID | No | - |
430
+ | `--profile <PROFILE>` | `-p` | Workspace profile | No | - |
431
+ | `--email <EMAIL>` | - | Email address of the user to update | Yes | - |
432
+ | `--role <ROLE>` | `-r` | New role to assign (admin, editor, viewer) | Yes | - |
433
433
 
434
434
  <!-- politty:command:workspace user update:end -->
@@ -184,3 +184,11 @@ Commands for managing and deploying static websites.
184
184
  | [staticwebsite deploy](./cli/staticwebsite.md#staticwebsite-deploy) | Deploy a static website from a local build directory |
185
185
  | [staticwebsite list](./cli/staticwebsite.md#staticwebsite-list) | List static websites in a workspace |
186
186
  | [staticwebsite get](./cli/staticwebsite.md#staticwebsite-get) | Get details of a static website |
187
+
188
+ ### [Completion](./cli/completion.md)
189
+
190
+ Generate shell completion scripts for bash, zsh, and fish.
191
+
192
+ | Command | Description |
193
+ | -------------------------------------------- | -------------------------------- |
194
+ | [completion](./cli/completion.md#completion) | Generate shell completion script |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailor-platform/sdk",
3
- "version": "1.13.0",
3
+ "version": "1.14.0",
4
4
  "description": "Tailor Platform SDK - The SDK to work with Tailor Platform",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -76,7 +76,7 @@
76
76
  "p-limit": "7.2.0",
77
77
  "pathe": "2.0.3",
78
78
  "pkg-types": "2.3.0",
79
- "politty": "^0.1.1",
79
+ "politty": "^0.3.0",
80
80
  "rolldown": "1.0.0-beta.60",
81
81
  "serve": "14.2.5",
82
82
  "std-env": "3.10.0",