@tailor-platform/sdk 0.16.3 → 0.17.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.
@@ -21,808 +21,87 @@ You can use environment variables to configure workspace and authentication:
21
21
 
22
22
  - `TAILOR_PLATFORM_WORKSPACE_ID` - Specify workspace ID for the `apply` command
23
23
  - `TAILOR_PLATFORM_TOKEN` - Specify authentication token (alternative to using `login`)
24
- - `TAILOR_PLATFORM_PROFILE` - Specify workspace profile name to use (combines user and workspace configuration)
24
+ - `TAILOR_PLATFORM_PROFILE` - Specify workspace profile name to use (see [profile commands](./cli/workspace.md#profile))
25
25
  - `TAILOR_PLATFORM_SDK_CONFIG_PATH` - Specify path to the SDK config file (alternative to using `--config` option)
26
26
 
27
27
  ## Commands
28
28
 
29
- ### init
30
-
31
- Initialize a new project using create-sdk.
32
-
33
- ```bash
34
- tailor-sdk init [name] [options]
35
- ```
36
-
37
- **Arguments:**
38
-
39
- - `name` - Project name
40
-
41
- **Options:**
42
-
43
- - `-t, --template` - Template name
44
-
45
- ### generate
46
-
47
- Generate files using Tailor configuration.
48
-
49
- ```bash
50
- tailor-sdk generate [options]
51
- ```
52
-
53
- **Options:**
54
-
55
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
56
- - `-w, --watch` - Watch for type/resolver changes and regenerate
57
-
58
- ### apply
59
-
60
- Apply Tailor configuration to deploy your application.
61
-
62
- ```bash
63
- tailor-sdk apply [options]
64
- ```
65
-
66
- **Options:**
67
-
68
- - `-w, --workspace-id` - ID of the workspace to apply the configuration to
69
- - `-p, --profile` - Workspace profile to use
70
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
71
- - `-d, --dryRun` - Run the command without making any changes
72
- - `-y, --yes` - Skip confirmation prompt
73
-
74
- ### remove
75
-
76
- Remove all resources managed by the application from the workspace.
77
-
78
- ```bash
79
- tailor-sdk remove [options]
80
- ```
81
-
82
- **Options:**
83
-
84
- - `-w, --workspace-id` - ID of the workspace to remove resources from
85
- - `-p, --profile` - Workspace profile to use
86
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
87
- - `-y, --yes` - Skip confirmation prompt
88
-
89
- ### show
90
-
91
- Show information about the deployed application.
92
-
93
- ```bash
94
- tailor-sdk show [options]
95
- ```
96
-
97
- **Options:**
98
-
99
- - `-w, --workspace-id` - ID of the workspace to show the application from
100
- - `-p, --profile` - Workspace profile to use
101
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
102
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
103
-
104
- ### login
105
-
106
- Login to Tailor Platform.
107
-
108
- ```bash
109
- tailor-sdk login
110
- ```
111
-
112
- ### logout
113
-
114
- Logout from Tailor Platform.
115
-
116
- ```bash
117
- tailor-sdk logout
118
- ```
119
-
120
- ### workspace
121
-
122
- Manage Tailor Platform workspaces.
123
-
124
- ```bash
125
- tailor-sdk workspace <subcommand> [options]
126
- ```
127
-
128
- #### workspace create
129
-
130
- Create a new Tailor Platform workspace.
131
-
132
- ```bash
133
- tailor-sdk workspace create [options]
134
- ```
135
-
136
- **Options:**
137
-
138
- - `-n, --name` - Name of the workspace (required)
139
- - `-r, --region` - Region of the workspace: `us-west` or `asia-northeast` (required)
140
- - `-d, --delete-protection` - Enable delete protection for the workspace
141
- - `-o, --organization-id` - Organization ID to associate the workspace with
142
- - `-f, --folder-id` - Folder ID to associate the workspace with
143
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
144
-
145
- #### workspace list
146
-
147
- List all Tailor Platform workspaces.
148
-
149
- ```bash
150
- tailor-sdk workspace list [options]
151
- ```
152
-
153
- **Options:**
154
-
155
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
156
-
157
- #### workspace delete
158
-
159
- Delete a Tailor Platform workspace.
160
-
161
- ```bash
162
- tailor-sdk workspace delete [options]
163
- ```
164
-
165
- **Options:**
166
-
167
- - `-w, --workspace-id` - ID of the workspace to delete (required)
168
- - `-y, --yes` - Skip confirmation prompt
169
-
170
- ### profile
171
-
172
- Manage workspace profiles (user + workspace combinations).
173
-
174
- ```bash
175
- tailor-sdk profile <subcommand> [options]
176
- ```
177
-
178
- #### profile create
179
-
180
- Create a new profile.
181
-
182
- ```bash
183
- tailor-sdk profile create <name> [options]
184
- ```
185
-
186
- **Arguments:**
187
-
188
- - `name` - Profile name (required)
189
-
190
- **Options:**
191
-
192
- - `-u, --user` - User email (required)
193
- - `-w, --workspace-id` - Workspace ID (required)
194
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
195
-
196
- #### profile list
197
-
198
- List all profiles.
199
-
200
- ```bash
201
- tailor-sdk profile list [options]
202
- ```
203
-
204
- **Options:**
205
-
206
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
207
-
208
- #### profile update
209
-
210
- Update profile properties.
211
-
212
- ```bash
213
- tailor-sdk profile update <name> [options]
214
- ```
215
-
216
- **Arguments:**
217
-
218
- - `name` - Profile name (required)
219
-
220
- **Options:**
221
-
222
- - `-u, --user` - New user email
223
- - `-w, --workspace-id` - New workspace ID
224
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
225
-
226
- #### profile delete
227
-
228
- Delete a profile.
229
-
230
- ```bash
231
- tailor-sdk profile delete <name>
232
- ```
233
-
234
- **Arguments:**
235
-
236
- - `name` - Profile name (required)
237
-
238
- ### user
239
-
240
- Manage Tailor Platform users.
241
-
242
- ```bash
243
- tailor-sdk user <subcommand> [options]
244
- ```
245
-
246
- #### user current
247
-
248
- Show current user.
249
-
250
- ```bash
251
- tailor-sdk user current [options]
252
- ```
253
-
254
- #### user list
255
-
256
- List all users.
257
-
258
- ```bash
259
- tailor-sdk user list [options]
260
- ```
261
-
262
- **Options:**
263
-
264
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
265
-
266
- #### user use
267
-
268
- Set current user.
269
-
270
- ```bash
271
- tailor-sdk user use <user>
272
- ```
273
-
274
- **Arguments:**
275
-
276
- - `user` - User email (required)
277
-
278
- #### user pat
279
-
280
- Manage personal access tokens.
281
-
282
- ```bash
283
- tailor-sdk user pat <subcommand> [options]
284
- ```
285
-
286
- When no subcommand is provided, defaults to `list`.
287
-
288
- ##### user pat list
289
-
290
- List all personal access tokens.
291
-
292
- ```bash
293
- tailor-sdk user pat list [options]
294
- ```
295
-
296
- **Options:**
297
-
298
- - `-f, --format` - Output format: `text` or `json` (default: `text`)
299
-
300
- **Output (default):**
301
-
302
- ```
303
- token-name-1: read/write
304
- token-name-2: read
305
- ```
306
-
307
- **Output (`--format json`):**
308
-
309
- ```json
310
- [
311
- { "name": "token-name-1", "scopes": ["read", "write"] },
312
- { "name": "token-name-2", "scopes": ["read"] }
313
- ]
314
- ```
315
-
316
- ##### user pat create
317
-
318
- Create a new personal access token.
319
-
320
- ```bash
321
- tailor-sdk user pat create <name> [options]
322
- ```
323
-
324
- **Arguments:**
325
-
326
- - `name` - Token name (required)
327
-
328
- **Options:**
329
-
330
- - `-w, --write` - Grant write permission (default: read-only)
331
- - `-f, --format` - Output format: `text` or `json` (default: `text`)
332
-
333
- **Output (default):**
334
-
335
- ```
336
- Personal access token created successfully.
337
-
338
- name: token-name
339
- scopes: read/write
340
- token: tpp_xxxxxxxxxxxxx
341
-
342
- Please save this token in a secure location. You won't be able to see it again.
343
- ```
344
-
345
- **Output (`--format json`):**
346
-
347
- ```json
348
- { "name": "token-name", "scopes": ["read", "write"], "token": "eyJhbGc..." }
349
- ```
350
-
351
- ##### user pat delete
352
-
353
- Delete a personal access token.
354
-
355
- ```bash
356
- tailor-sdk user pat delete <name>
357
- ```
358
-
359
- **Arguments:**
360
-
361
- - `name` - Token name (required)
362
-
363
- ##### user pat update
364
-
365
- Update a personal access token (delete and recreate).
366
-
367
- ```bash
368
- tailor-sdk user pat update <name> [options]
369
- ```
370
-
371
- **Arguments:**
372
-
373
- - `name` - Token name (required)
374
-
375
- **Options:**
376
-
377
- - `-w, --write` - Grant write permission (if not specified, keeps read-only)
378
- - `-f, --format` - Output format: `text` or `json` (default: `text`)
379
-
380
- **Output (default):**
381
-
382
- ```
383
- Personal access token updated successfully.
384
-
385
- name: token-name
386
- scopes: read/write
387
- token: tpp_xxxxxxxxxxxxx
388
-
389
- Please save this token in a secure location. You won't be able to see it again.
390
- ```
391
-
392
- **Output (`--format json`):**
393
-
394
- ```json
395
- {
396
- "name": "token-name",
397
- "scopes": ["read", "write"],
398
- "token": "tpp_xxxxxxxxxxxxx"
399
- }
400
- ```
401
-
402
- ### tailordb
403
-
404
- Manage TailorDB tables and data.
405
-
406
- ```bash
407
- tailor-sdk tailordb <subcommand> [options]
408
- ```
409
-
410
- #### tailordb truncate
411
-
412
- Truncate (delete all records from) TailorDB tables.
413
-
414
- ```bash
415
- tailor-sdk tailordb truncate [types...] [options]
416
- ```
417
-
418
- **Arguments:**
419
-
420
- - `types...` - Space-separated list of type names to truncate (optional)
421
-
422
- **Options:**
423
-
424
- - `-a, --all` - Truncate all tables in all namespaces
425
- - `-n, --namespace` - Truncate all tables in the specified namespace
426
- - `-y, --yes` - Skip confirmation prompt
427
- - `-w, --workspace-id` - ID of the workspace
428
- - `-p, --profile` - Workspace profile to use
429
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
430
-
431
- **Usage Examples:**
432
-
433
- ```bash
434
- # Truncate all tables in all namespaces (requires confirmation)
435
- tailor-sdk tailordb truncate --all
436
-
437
- # Truncate all tables in all namespaces (skip confirmation)
438
- tailor-sdk tailordb truncate --all --yes
439
-
440
- # Truncate all tables in a specific namespace
441
- tailor-sdk tailordb truncate --namespace myNamespace
442
-
443
- # Truncate specific types (namespace is auto-detected)
444
- tailor-sdk tailordb truncate User Post Comment
445
-
446
- # Truncate specific types with confirmation skipped
447
- tailor-sdk tailordb truncate User Post --yes
448
- ```
449
-
450
- **Notes:**
451
-
452
- - You must specify exactly one of: `--all`, `--namespace`, or type names
453
- - When truncating specific types, the namespace is automatically detected from your config
454
- - Confirmation prompts vary based on the operation:
455
- - `--all`: requires typing `truncate all`
456
- - `--namespace`: requires typing `truncate <namespace-name>`
457
- - Specific types: requires typing `yes`
458
- - Use `--yes` flag to skip confirmation prompts (useful for scripts and CI/CD)
459
-
460
- ### machineuser
461
-
462
- Manage machine users in your Tailor Platform application.
463
-
464
- ```bash
465
- tailor-sdk machineuser <subcommand> [options]
466
- ```
467
-
468
- #### machineuser list
469
-
470
- List all machine users in the application.
471
-
472
- ```bash
473
- tailor-sdk machineuser list [options]
474
- ```
475
-
476
- **Options:**
477
-
478
- - `-w, --workspace-id` - ID of the workspace
479
- - `-p, --profile` - Workspace profile to use
480
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
481
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
482
-
483
- #### machineuser token
484
-
485
- Get an access token for a machine user.
486
-
487
- ```bash
488
- tailor-sdk machineuser token <name> [options]
489
- ```
490
-
491
- **Arguments:**
492
-
493
- - `name` - Machine user name (required)
494
-
495
- **Options:**
496
-
497
- - `-w, --workspace-id` - ID of the workspace
498
- - `-p, --profile` - Workspace profile to use
499
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
500
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
501
-
502
- ### oauth2client
503
-
504
- Manage OAuth2 clients in your Tailor Platform application.
505
-
506
- ```bash
507
- tailor-sdk oauth2client <subcommand> [options]
508
- ```
509
-
510
- #### oauth2client list
511
-
512
- List all OAuth2 clients in the application.
513
-
514
- ```bash
515
- tailor-sdk oauth2client list [options]
516
- ```
517
-
518
- **Options:**
519
-
520
- - `-w, --workspace-id` - ID of the workspace
521
- - `-p, --profile` - Workspace profile to use
522
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
523
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
524
-
525
- **Output:**
526
-
527
- Returns a list of OAuth2 clients with the following fields:
528
-
529
- - `name` - Client name
530
- - `description` - Client description
531
- - `clientId` - OAuth2 client ID
532
- - `grantTypes` - Supported grant types (e.g., `authorization_code`, `refresh_token`)
533
- - `redirectUris` - Registered redirect URIs
534
- - `createdAt` - Creation timestamp
535
-
536
- #### oauth2client get
537
-
538
- Get OAuth2 client credentials (including client secret).
539
-
540
- ```bash
541
- tailor-sdk oauth2client get <name> [options]
542
- ```
543
-
544
- **Arguments:**
545
-
546
- - `name` - OAuth2 client name (required)
547
-
548
- **Options:**
549
-
550
- - `-w, --workspace-id` - ID of the workspace
551
- - `-p, --profile` - Workspace profile to use
552
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
553
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
554
-
555
- **Output:**
556
-
557
- Returns the OAuth2 client credentials with the following fields:
558
-
559
- - `name` - Client name
560
- - `description` - Client description
561
- - `clientId` - OAuth2 client ID
562
- - `clientSecret` - OAuth2 client secret
563
- - `grantTypes` - Supported grant types
564
- - `redirectUris` - Registered redirect URIs
565
- - `createdAt` - Creation timestamp
566
-
567
- ### workflow
568
-
569
- Manage workflows and workflow executions.
570
-
571
- ```bash
572
- tailor-sdk workflow <subcommand> [options]
573
- ```
574
-
575
- #### workflow list
576
-
577
- List all workflows in the workspace.
578
-
579
- ```bash
580
- tailor-sdk workflow list [options]
581
- ```
582
-
583
- **Options:**
584
-
585
- - `-w, --workspace-id` - ID of the workspace
586
- - `-p, --profile` - Workspace profile to use
587
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
588
-
589
- #### workflow get
590
-
591
- Get workflow details.
592
-
593
- ```bash
594
- tailor-sdk workflow get <nameOrId> [options]
595
- ```
596
-
597
- **Arguments:**
598
-
599
- - `nameOrId` - Workflow name or ID (required)
600
-
601
- **Options:**
602
-
603
- - `-w, --workspace-id` - ID of the workspace
604
- - `-p, --profile` - Workspace profile to use
605
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
606
-
607
- #### workflow start
608
-
609
- Start a workflow execution.
610
-
611
- ```bash
612
- tailor-sdk workflow start <nameOrId> [options]
613
- ```
614
-
615
- **Arguments:**
616
-
617
- - `nameOrId` - Workflow name or ID (required)
618
-
619
- **Options:**
620
-
621
- - `-m, --machineuser` - Machine user name (required)
622
- - `-g, --arg` - Workflow argument (JSON string)
623
- - `-w, --workspace-id` - ID of the workspace
624
- - `-p, --profile` - Workspace profile to use
625
- - `-c, --config` - Path to the SDK config file (default: `tailor.config.ts`)
626
- - `--wait` - Wait for execution to complete
627
- - `--interval` - Polling interval when using --wait (default: `3s`)
628
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
629
-
630
- **Usage Examples:**
631
-
632
- ```bash
633
- # Start a workflow
634
- tailor-sdk workflow start my-workflow -m admin-machine-user
635
-
636
- # Start with argument
637
- tailor-sdk workflow start my-workflow -m admin -g '{"userId": "123"}'
638
-
639
- # Start and wait for completion
640
- tailor-sdk workflow start my-workflow -m admin --wait
641
- ```
642
-
643
- #### workflow executions
644
-
645
- List or get workflow executions.
646
-
647
- ```bash
648
- tailor-sdk workflow executions [executionId] [options]
649
- ```
650
-
651
- **Arguments:**
652
-
653
- - `executionId` - Execution ID (optional, if provided shows details)
654
-
655
- **Options:**
656
-
657
- - `-w, --workspace-id` - ID of the workspace
658
- - `-p, --profile` - Workspace profile to use
659
- - `-n, --workflow-name` - Filter by workflow name (list mode only)
660
- - `-s, --status` - Filter by status: `PENDING`, `PENDING_RESUME`, `RUNNING`, `SUCCESS`, `FAILED` (list mode only)
661
- - `--wait` - Wait for execution to complete (detail mode only)
662
- - `--interval` - Polling interval when using --wait (default: `3s`)
663
- - `--logs` - Display job execution logs (detail mode only)
664
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
665
-
666
- **Usage Examples:**
667
-
668
- ```bash
669
- # List all executions
670
- tailor-sdk workflow executions
671
-
672
- # Filter by workflow name
673
- tailor-sdk workflow executions -n my-workflow
674
-
675
- # Filter by status
676
- tailor-sdk workflow executions -s RUNNING
677
-
678
- # Get execution details
679
- tailor-sdk workflow executions <execution-id>
680
-
681
- # Get execution details with logs
682
- tailor-sdk workflow executions <execution-id> --logs
683
-
684
- # Wait for execution to complete
685
- tailor-sdk workflow executions <execution-id> --wait
686
- ```
687
-
688
- #### workflow resume
689
-
690
- Resume a failed or pending workflow execution.
691
-
692
- ```bash
693
- tailor-sdk workflow resume <executionId> [options]
694
- ```
695
-
696
- **Arguments:**
697
-
698
- - `executionId` - Failed or pending execution ID (required)
699
-
700
- **Options:**
701
-
702
- - `-w, --workspace-id` - ID of the workspace
703
- - `-p, --profile` - Workspace profile to use
704
- - `--wait` - Wait for execution to complete after resuming
705
- - `--interval` - Polling interval when using --wait (default: `3s`)
706
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
707
-
708
- ### secret
709
-
710
- Manage Secret Manager vaults and secrets.
711
-
712
- ```bash
713
- tailor-sdk secret <subcommand> [options]
714
- ```
715
-
716
- #### secret vault
717
-
718
- Manage Secret Manager vaults.
719
-
720
- ```bash
721
- tailor-sdk secret vault <subcommand> [options]
722
- ```
723
-
724
- ##### secret vault create
725
-
726
- Create a new Secret Manager vault.
727
-
728
- ```bash
729
- tailor-sdk secret vault create [options]
730
- ```
731
-
732
- **Options:**
733
-
734
- - `--name` - Vault name (required)
735
- - `-w, --workspace-id` - ID of the workspace
736
- - `-p, --profile` - Workspace profile to use
737
-
738
- ##### secret vault delete
739
-
740
- Delete a Secret Manager vault.
741
-
742
- ```bash
743
- tailor-sdk secret vault delete [options]
744
- ```
745
-
746
- **Options:**
747
-
748
- - `--name` - Vault name (required)
749
- - `-w, --workspace-id` - ID of the workspace
750
- - `-p, --profile` - Workspace profile to use
751
- - `-y, --yes` - Skip confirmation prompt
752
-
753
- ##### secret vault list
754
-
755
- List all Secret Manager vaults in the workspace.
756
-
757
- ```bash
758
- tailor-sdk secret vault list [options]
759
- ```
760
-
761
- **Options:**
762
-
763
- - `-w, --workspace-id` - ID of the workspace
764
- - `-p, --profile` - Workspace profile to use
765
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
766
-
767
- #### secret create
768
-
769
- Create a secret in a vault.
770
-
771
- ```bash
772
- tailor-sdk secret create [options]
773
- ```
774
-
775
- **Options:**
776
-
777
- - `--vault-name` - Vault name (required)
778
- - `--name` - Secret name (required)
779
- - `--value` - Secret value (required)
780
- - `-w, --workspace-id` - ID of the workspace
781
- - `-p, --profile` - Workspace profile to use
782
-
783
- #### secret update
784
-
785
- Update a secret in a vault.
786
-
787
- ```bash
788
- tailor-sdk secret update [options]
789
- ```
790
-
791
- **Options:**
792
-
793
- - `--vault-name` - Vault name (required)
794
- - `--name` - Secret name (required)
795
- - `--value` - New secret value (required)
796
- - `-w, --workspace-id` - ID of the workspace
797
- - `-p, --profile` - Workspace profile to use
798
-
799
- #### secret list
800
-
801
- List all secrets in a vault.
802
-
803
- ```bash
804
- tailor-sdk secret list [options]
805
- ```
806
-
807
- **Options:**
808
-
809
- - `--vault-name` - Vault name (required)
810
- - `-w, --workspace-id` - ID of the workspace
811
- - `-p, --profile` - Workspace profile to use
812
- - `-f, --format` - Output format: `table` or `json` (default: `table`)
813
-
814
- #### secret delete
815
-
816
- Delete a secret in a vault.
817
-
818
- ```bash
819
- tailor-sdk secret delete [options]
820
- ```
821
-
822
- **Options:**
823
-
824
- - `--vault-name` - Vault name (required)
825
- - `--name` - Secret name (required)
826
- - `-w, --workspace-id` - ID of the workspace
827
- - `-p, --profile` - Workspace profile to use
828
- - `-y, --yes` - Skip confirmation prompt
29
+ ### [Application Commands](./cli/application.md)
30
+
31
+ Commands for managing Tailor Platform applications (work with `tailor.config.ts`).
32
+
33
+ | Command | Description |
34
+ | ----------------------------------------------------------- | --------------------------------- |
35
+ | [init](./cli/application.md#init) | Initialize a new project |
36
+ | [generate](./cli/application.md#generate) | Generate files from configuration |
37
+ | [apply](./cli/application.md#apply) | Deploy application to workspace |
38
+ | [remove](./cli/application.md#remove) | Remove application from workspace |
39
+ | [show](./cli/application.md#show) | Show deployed application info |
40
+ | [tailordb truncate](./cli/application.md#tailordb-truncate) | Truncate TailorDB tables |
41
+
42
+ ### [User & Auth Commands](./cli/user.md)
43
+
44
+ Commands for authentication and user management.
45
+
46
+ | Command | Description |
47
+ | ------------------------------------------------ | ------------------------------ |
48
+ | [login](./cli/user.md#login) | Login to Tailor Platform |
49
+ | [logout](./cli/user.md#logout) | Logout from Tailor Platform |
50
+ | [user current](./cli/user.md#user-current) | Show current user |
51
+ | [user list](./cli/user.md#user-list) | List all users |
52
+ | [user use](./cli/user.md#user-use) | Set current user |
53
+ | [user pat list](./cli/user.md#user-pat-list) | List personal access tokens |
54
+ | [user pat create](./cli/user.md#user-pat-create) | Create a personal access token |
55
+ | [user pat delete](./cli/user.md#user-pat-delete) | Delete a personal access token |
56
+ | [user pat update](./cli/user.md#user-pat-update) | Update a personal access token |
57
+
58
+ ### [Workspace Commands](./cli/workspace.md)
59
+
60
+ Commands for managing workspaces and profiles.
61
+
62
+ | Command | Description |
63
+ | ------------------------------------------------------- | ---------------------- |
64
+ | [workspace create](./cli/workspace.md#workspace-create) | Create a new workspace |
65
+ | [workspace list](./cli/workspace.md#workspace-list) | List all workspaces |
66
+ | [workspace delete](./cli/workspace.md#workspace-delete) | Delete a workspace |
67
+ | [profile create](./cli/workspace.md#profile-create) | Create a new profile |
68
+ | [profile list](./cli/workspace.md#profile-list) | List all profiles |
69
+ | [profile update](./cli/workspace.md#profile-update) | Update a profile |
70
+ | [profile delete](./cli/workspace.md#profile-delete) | Delete a profile |
71
+
72
+ ### [Auth Resource Commands](./cli/auth.md)
73
+
74
+ Commands for managing Auth service resources.
75
+
76
+ | Command | Description |
77
+ | ---------------------------------------------------- | ----------------------------- |
78
+ | [machineuser list](./cli/auth.md#machineuser-list) | List machine users |
79
+ | [machineuser token](./cli/auth.md#machineuser-token) | Get machine user access token |
80
+ | [oauth2client list](./cli/auth.md#oauth2client-list) | List OAuth2 clients |
81
+ | [oauth2client get](./cli/auth.md#oauth2client-get) | Get OAuth2 client credentials |
82
+
83
+ ### [Workflow Commands](./cli/workflow.md)
84
+
85
+ Commands for managing workflows and executions.
86
+
87
+ | Command | Description |
88
+ | ------------------------------------------------------------ | -------------------------- |
89
+ | [workflow list](./cli/workflow.md#workflow-list) | List all workflows |
90
+ | [workflow get](./cli/workflow.md#workflow-get) | Get workflow details |
91
+ | [workflow start](./cli/workflow.md#workflow-start) | Start a workflow execution |
92
+ | [workflow executions](./cli/workflow.md#workflow-executions) | List or get executions |
93
+ | [workflow resume](./cli/workflow.md#workflow-resume) | Resume a failed execution |
94
+
95
+ ### [Secret Commands](./cli/secret.md)
96
+
97
+ Commands for managing secrets and vaults.
98
+
99
+ | Command | Description |
100
+ | ---------------------------------------------------------- | ----------------------- |
101
+ | [secret vault create](./cli/secret.md#secret-vault-create) | Create a vault |
102
+ | [secret vault delete](./cli/secret.md#secret-vault-delete) | Delete a vault |
103
+ | [secret vault list](./cli/secret.md#secret-vault-list) | List all vaults |
104
+ | [secret create](./cli/secret.md#secret-create) | Create a secret |
105
+ | [secret update](./cli/secret.md#secret-update) | Update a secret |
106
+ | [secret list](./cli/secret.md#secret-list) | List secrets in a vault |
107
+ | [secret delete](./cli/secret.md#secret-delete) | Delete a secret |