@tigrisdata/cli 3.17.0 → 3.17.2

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.
Files changed (130) hide show
  1. package/README.md +480 -458
  2. package/SKILL.md +1 -1
  3. package/dist/auth/iam.js +1 -1
  4. package/dist/auth/provider.js +1 -1
  5. package/dist/browser/index.d.ts +2 -1
  6. package/dist/browser/index.js +447 -448
  7. package/dist/chunk-36RAXRXY.js +1 -0
  8. package/dist/{chunk-RQYVMBA7.js → chunk-4BWK33XD.js} +1 -1
  9. package/dist/chunk-56W4QIZP.js +4 -0
  10. package/dist/{chunk-HK3DBOMB.js → chunk-5FFSAQBH.js} +1 -1
  11. package/dist/chunk-6R467XCM.js +1 -0
  12. package/dist/{chunk-I234FGXR.js → chunk-A6IZCL2R.js} +1 -1
  13. package/dist/{chunk-7PRSGIKV.js → chunk-H4VWRKBZ.js} +1 -1
  14. package/dist/{chunk-CBS7RVDP.js → chunk-JQRHEFN2.js} +1 -1
  15. package/dist/chunk-L5TE7GWK.js +1 -0
  16. package/dist/{chunk-4OC6VF2F.js → chunk-QJKKFI5K.js} +1 -1
  17. package/dist/chunk-QJMLIBCG.js +8 -0
  18. package/dist/{chunk-VQHXD36W.js → chunk-U63FQLE2.js} +1 -1
  19. package/dist/chunk-VI5JXLP7.js +1 -0
  20. package/dist/{chunk-W2SGDHBM.js → chunk-XCHHTO54.js} +1 -1
  21. package/dist/{chunk-7GBRSLA4.js → chunk-YRVVZ64M.js} +1 -1
  22. package/dist/cli-core.js +3 -1
  23. package/dist/cli.js +1 -1
  24. package/dist/index.js +1 -1
  25. package/dist/lib/access-keys/assign.js +1 -1
  26. package/dist/lib/access-keys/attach-policy.js +1 -1
  27. package/dist/lib/access-keys/create.js +1 -1
  28. package/dist/lib/access-keys/default-permissions.js +1 -1
  29. package/dist/lib/access-keys/delete.js +1 -1
  30. package/dist/lib/access-keys/detach-policy.js +1 -1
  31. package/dist/lib/access-keys/get.js +1 -1
  32. package/dist/lib/access-keys/list-policies.js +1 -1
  33. package/dist/lib/access-keys/list.js +1 -1
  34. package/dist/lib/access-keys/roles.js +1 -1
  35. package/dist/lib/access-keys/rotate.js +1 -1
  36. package/dist/lib/access-keys/set.js +1 -1
  37. package/dist/lib/buckets/create.js +1 -1
  38. package/dist/lib/buckets/delete.js +1 -1
  39. package/dist/lib/buckets/disable-snapshots.js +1 -1
  40. package/dist/lib/buckets/enable-snapshots.js +1 -1
  41. package/dist/lib/buckets/get.js +1 -1
  42. package/dist/lib/buckets/lifecycle/create.js +1 -1
  43. package/dist/lib/buckets/lifecycle/edit.js +1 -1
  44. package/dist/lib/buckets/lifecycle/list.js +1 -1
  45. package/dist/lib/buckets/lifecycle/shared.js +1 -1
  46. package/dist/lib/buckets/list.js +1 -1
  47. package/dist/lib/buckets/merge.js +1 -1
  48. package/dist/lib/buckets/migrate.js +5 -5
  49. package/dist/lib/buckets/purge.js +1 -1
  50. package/dist/lib/buckets/rebase.js +1 -1
  51. package/dist/lib/buckets/restore.js +1 -1
  52. package/dist/lib/buckets/set-cors.js +1 -1
  53. package/dist/lib/buckets/set-locations.js +1 -1
  54. package/dist/lib/buckets/set-migration.js +1 -1
  55. package/dist/lib/buckets/set-notifications.js +1 -1
  56. package/dist/lib/buckets/set.js +1 -1
  57. package/dist/lib/buckets/share.js +1 -1
  58. package/dist/lib/bundle.js +1 -1
  59. package/dist/lib/configure/index.js +1 -1
  60. package/dist/lib/cp.js +1 -1
  61. package/dist/lib/credentials/test.js +1 -1
  62. package/dist/lib/iam/policies/create.js +1 -1
  63. package/dist/lib/iam/policies/delete.js +1 -1
  64. package/dist/lib/iam/policies/edit.js +1 -1
  65. package/dist/lib/iam/policies/get.js +1 -1
  66. package/dist/lib/iam/policies/link-key.js +1 -1
  67. package/dist/lib/iam/policies/list-keys.js +1 -1
  68. package/dist/lib/iam/policies/list.js +1 -1
  69. package/dist/lib/iam/policies/select-policy.js +1 -1
  70. package/dist/lib/iam/policies/unlink-key.js +1 -1
  71. package/dist/lib/iam/teams/create.js +1 -1
  72. package/dist/lib/iam/teams/edit.js +1 -1
  73. package/dist/lib/iam/teams/list.js +1 -1
  74. package/dist/lib/iam/teams/shared.js +1 -1
  75. package/dist/lib/iam/users/invite.js +1 -1
  76. package/dist/lib/iam/users/list.js +1 -1
  77. package/dist/lib/iam/users/remove.js +1 -1
  78. package/dist/lib/iam/users/revoke-invitation.js +1 -1
  79. package/dist/lib/iam/users/update-role.js +1 -1
  80. package/dist/lib/init/index.js +1 -1
  81. package/dist/lib/login/credentials.js +1 -1
  82. package/dist/lib/login/oauth.js +1 -1
  83. package/dist/lib/login/select.js +1 -1
  84. package/dist/lib/logout.js +1 -1
  85. package/dist/lib/ls.js +1 -1
  86. package/dist/lib/mk.js +1 -1
  87. package/dist/lib/mv.js +1 -1
  88. package/dist/lib/objects/delete.js +1 -1
  89. package/dist/lib/objects/get.js +1 -1
  90. package/dist/lib/objects/info.js +1 -1
  91. package/dist/lib/objects/list-versions.js +1 -1
  92. package/dist/lib/objects/list.js +1 -1
  93. package/dist/lib/objects/purge.js +1 -1
  94. package/dist/lib/objects/put.js +1 -1
  95. package/dist/lib/objects/restore-deleted.js +1 -1
  96. package/dist/lib/objects/restore-info.js +1 -1
  97. package/dist/lib/objects/restore.js +1 -1
  98. package/dist/lib/objects/set-access.js +1 -1
  99. package/dist/lib/objects/set.js +1 -1
  100. package/dist/lib/organizations/create.js +1 -1
  101. package/dist/lib/organizations/delete.js +1 -1
  102. package/dist/lib/organizations/list.js +1 -1
  103. package/dist/lib/organizations/select.js +1 -1
  104. package/dist/lib/presign.js +1 -1
  105. package/dist/lib/rm.js +1 -1
  106. package/dist/lib/snapshots/delete.js +1 -1
  107. package/dist/lib/snapshots/list.js +1 -1
  108. package/dist/lib/snapshots/take.js +1 -1
  109. package/dist/lib/stat.js +1 -1
  110. package/dist/lib/telemetry/disable.js +1 -1
  111. package/dist/lib/telemetry/enable.js +1 -1
  112. package/dist/lib/telemetry/status.js +2 -2
  113. package/dist/lib/touch.js +1 -1
  114. package/dist/lib/update.js +1 -1
  115. package/dist/lib/usage.js +1 -1
  116. package/dist/lib/whoami.js +1 -1
  117. package/dist/specs.yaml +298 -299
  118. package/dist/utils/analytics.js +1 -1
  119. package/dist/utils/exit.js +1 -1
  120. package/dist/utils/telemetry-sender.js +1 -0
  121. package/dist/utils/telemetry.js +1 -1
  122. package/dist/utils/update-check.js +1 -1
  123. package/package.json +5 -2
  124. package/dist/chunk-AQZXG57U.js +0 -1
  125. package/dist/chunk-GE2NFNN4.js +0 -1
  126. package/dist/chunk-HCEAJ2BC.js +0 -4
  127. package/dist/chunk-K3ION5DP.js +0 -1
  128. package/dist/chunk-LBTT65MM.js +0 -3
  129. package/dist/chunk-UOX26MU3.js +0 -7
  130. /package/dist/{chunk-JCXPE6O6.js → chunk-2AC5S3JV.js} +0 -0
package/dist/specs.yaml CHANGED
@@ -32,7 +32,7 @@ definitions:
32
32
 
33
33
  location_options: &location_options
34
34
  - name: Global
35
- value: 'global'
35
+ value: "global"
36
36
  description: Global
37
37
  - name: USA
38
38
  value: usa
@@ -148,9 +148,9 @@ commands:
148
148
  - "npx tigris init"
149
149
  - "tigris init --agent"
150
150
  messages:
151
- onStart: ''
152
- onSuccess: ''
153
- onFailure: 'Setup failed'
151
+ onStart: ""
152
+ onSuccess: ""
153
+ onFailure: "Setup failed"
154
154
  arguments:
155
155
  - name: agent
156
156
  description: Print a setup recipe for an AI coding agent to follow instead of running the interactive wizard
@@ -170,14 +170,14 @@ commands:
170
170
  - "tigris configure --access-key tid_AaBb --access-secret tsec_XxYy"
171
171
  - "tigris configure --endpoint https://custom.endpoint.dev"
172
172
  messages:
173
- onStart: 'Saving credentials...'
174
- onSuccess: 'Credentials saved to ~/.tigris/config.json. You can now use all tigris commands.'
175
- onFailure: 'Failed to save credentials'
173
+ onStart: "Saving credentials..."
174
+ onSuccess: "Credentials saved to ~/.tigris/config.json. You can now use all tigris commands."
175
+ onFailure: "Failed to save credentials"
176
176
  nextActions:
177
- - command: 'tigris credentials test'
178
- description: 'Verify your credentials are working'
179
- - command: 'tigris ls'
180
- description: 'List your buckets'
177
+ - command: "tigris credentials test"
178
+ description: "Verify your credentials are working"
179
+ - command: "tigris ls"
180
+ description: "List your buckets"
181
181
  arguments:
182
182
  - name: access-key
183
183
  description: Your Tigris access key ID
@@ -188,7 +188,7 @@ commands:
188
188
  alias: secret
189
189
  required: false
190
190
  - name: endpoint
191
- description: 'Tigris API endpoint (default: https://t3.storage.dev)'
191
+ description: "Tigris API endpoint (default: https://t3.storage.dev)"
192
192
  alias: e
193
193
  required: false
194
194
 
@@ -202,9 +202,9 @@ commands:
202
202
  - "tigris login oauth"
203
203
  - "tigris login credentials --access-key tid_AaBb --access-secret tsec_XxYy"
204
204
  messages:
205
- onStart: ''
206
- onSuccess: 'Login successful'
207
- onFailure: 'Login failed'
205
+ onStart: ""
206
+ onSuccess: "Login successful"
207
+ onFailure: "Login failed"
208
208
  alias: l
209
209
  arguments:
210
210
  - name: access-key
@@ -221,9 +221,9 @@ commands:
221
221
  description: Choose how to login - OAuth (browser) or credentials (access key)
222
222
  helpText: "Choose how to log in: OAuth or access key"
223
223
  messages:
224
- onStart: ''
225
- onSuccess: 'Login successful'
226
- onFailure: 'Login failed'
224
+ onStart: ""
225
+ onSuccess: "Login successful"
226
+ onFailure: "Login failed"
227
227
  # oauth
228
228
  - name: oauth
229
229
  description: Login via browser using OAuth2 device flow. Best for interactive use
@@ -232,16 +232,16 @@ commands:
232
232
  examples:
233
233
  - "tigris login oauth"
234
234
  messages:
235
- onStart: 'Opening browser for authentication...'
235
+ onStart: "Opening browser for authentication..."
236
236
  onSuccess: "Logged in successfully\nOrganization '{{org}}' selected"
237
- onFailure: 'Authentication failed'
237
+ onFailure: "Authentication failed"
238
238
  onAlreadyDone: "Already logged in.\nRun \"tigris logout\" first to switch accounts."
239
239
  hint: "You have {{count}} organizations.\nRun \"tigris orgs list\" to switch."
240
240
  nextActions:
241
- - command: 'tigris orgs list'
242
- description: 'List and switch organizations'
243
- - command: 'tigris ls'
244
- description: 'List your buckets'
241
+ - command: "tigris orgs list"
242
+ description: "List and switch organizations"
243
+ - command: "tigris ls"
244
+ description: "List your buckets"
245
245
  # credentials
246
246
  - name: credentials
247
247
  description: Login with an access key and secret. Creates a temporary session that is cleared on logout
@@ -251,12 +251,12 @@ commands:
251
251
  - "tigris login credentials --access-key tid_AaBb --access-secret tsec_XxYy"
252
252
  - "tigris login credentials"
253
253
  messages:
254
- onStart: 'Authenticating...'
255
- onSuccess: 'Logged in with credentials'
256
- onFailure: 'Authentication failed'
254
+ onStart: "Authenticating..."
255
+ onSuccess: "Logged in with credentials"
256
+ onFailure: "Authentication failed"
257
257
  nextActions:
258
- - command: 'tigris ls'
259
- description: 'List your buckets'
258
+ - command: "tigris ls"
259
+ description: "List your buckets"
260
260
  arguments:
261
261
  - name: access-key
262
262
  description: Your access key ID (will prompt if not provided)
@@ -277,9 +277,9 @@ commands:
277
277
  examples:
278
278
  - "tigris whoami"
279
279
  messages:
280
- onStart: ''
281
- onSuccess: ''
282
- onFailure: 'Failed to get user information'
280
+ onStart: ""
281
+ onSuccess: ""
282
+ onFailure: "Failed to get user information"
283
283
  onAlreadyDone: "Not authenticated\nRun \"tigris login\" to authenticate"
284
284
 
285
285
  # usage
@@ -293,11 +293,11 @@ commands:
293
293
  - "tigris usage --all"
294
294
  - "tigris usage --format json"
295
295
  messages:
296
- onStart: ''
297
- onSuccess: ''
298
- onFailure: 'Failed to get usage'
299
- onEmpty: 'No usage recorded for {{month}}'
300
- hint: '{{action}}: {{url}}'
296
+ onStart: ""
297
+ onSuccess: ""
298
+ onFailure: "Failed to get usage"
299
+ onEmpty: "No usage recorded for {{month}}"
300
+ hint: "{{action}}: {{url}}"
301
301
  arguments:
302
302
  - name: month
303
303
  description: Billing month as YYYY-MM (default is the current month)
@@ -315,10 +315,10 @@ commands:
315
315
  examples:
316
316
  - "tigris update"
317
317
  messages:
318
- onStart: 'Checking for updates...'
319
- onSuccess: 'Updated to {{latestVersion}}'
320
- onFailure: 'Failed to update'
321
- onAlreadyDone: 'Already on the latest version ({{currentVersion}})'
318
+ onStart: "Checking for updates..."
319
+ onSuccess: "Updated to {{latestVersion}}"
320
+ onFailure: "Failed to update"
321
+ onAlreadyDone: "Already on the latest version ({{currentVersion}})"
322
322
 
323
323
  # logout
324
324
  - name: logout
@@ -328,9 +328,9 @@ commands:
328
328
  examples:
329
329
  - "tigris logout"
330
330
  messages:
331
- onStart: 'Logging out...'
332
- onSuccess: 'Logged out. Your configured credentials are still saved.'
333
- onFailure: 'Failed to logout'
331
+ onStart: "Logging out..."
332
+ onSuccess: "Logged out. Your configured credentials are still saved."
333
+ onFailure: "Failed to logout"
334
334
 
335
335
  # credentials
336
336
  - name: credentials
@@ -350,16 +350,15 @@ commands:
350
350
  - "tigris credentials test"
351
351
  - "tigris credentials test --bucket my-bucket"
352
352
  messages:
353
- onStart: 'Testing credentials...'
354
- onSuccess: 'Credentials are valid'
355
- onFailure: 'Credentials test failed'
353
+ onStart: "Testing credentials..."
354
+ onSuccess: "Credentials are valid"
355
+ onFailure: "Credentials test failed"
356
356
  arguments:
357
357
  - name: bucket
358
358
  description: Bucket name to test access against (optional)
359
359
  alias: b
360
360
  required: false
361
361
 
362
-
363
362
  #########################
364
363
  # Telemetry
365
364
  #########################
@@ -381,26 +380,26 @@ commands:
381
380
  examples:
382
381
  - "tigris telemetry status"
383
382
  messages:
384
- onStart: ''
385
- onSuccess: ''
386
- onFailure: 'Failed to read telemetry settings'
383
+ onStart: ""
384
+ onSuccess: ""
385
+ onFailure: "Failed to read telemetry settings"
387
386
  - name: disable
388
387
  description: Turn off usage analytics and error reports on this machine
389
388
  examples:
390
389
  - "tigris telemetry disable"
391
390
  messages:
392
- onStart: ''
393
- onSuccess: 'Telemetry disabled. The CLI will not send usage analytics or error reports.'
394
- onFailure: 'Failed to disable telemetry'
391
+ onStart: ""
392
+ onSuccess: "Telemetry disabled. The CLI will not send usage analytics or error reports."
393
+ onFailure: "Failed to disable telemetry"
395
394
  - name: enable
396
395
  description: Turn usage analytics and error reports back on for this machine
397
396
  helpText: Turn usage analytics and error reports back on
398
397
  examples:
399
398
  - "tigris telemetry enable"
400
399
  messages:
401
- onStart: ''
402
- onSuccess: 'Telemetry enabled. Thanks for helping us improve the CLI.'
403
- onFailure: 'Failed to enable telemetry'
400
+ onStart: ""
401
+ onSuccess: "Telemetry enabled. Thanks for helping us improve the CLI."
402
+ onFailure: "Failed to enable telemetry"
404
403
 
405
404
  #########################
406
405
  # Unix style commands
@@ -417,7 +416,7 @@ commands:
417
416
  - "tigris ls my-bucket/images/"
418
417
  - "tigris ls t3://my-bucket/prefix/"
419
418
  messages:
420
- onFailure: 'Failed to list. Verify the bucket exists and your credentials have access'
419
+ onFailure: "Failed to list. Verify the bucket exists and your credentials have access"
421
420
  onEmpty: 'No results found. Run "tigris ls" to see all buckets'
422
421
  arguments:
423
422
  - name: path
@@ -463,7 +462,7 @@ commands:
463
462
  - "tigris mk my-fork --fork-of my-bucket"
464
463
  - "tigris mk my-fork --fork-of my-bucket --source-snapshot 1765889000501544464"
465
464
  messages:
466
- onFailure: 'Failed to create. Check the name is valid and your credentials have write access'
465
+ onFailure: "Failed to create. Check the name is valid and your credentials have write access"
467
466
  arguments:
468
467
  - name: path
469
468
  required: true
@@ -514,7 +513,7 @@ commands:
514
513
  description: Location for the bucket (only applies when creating a bucket)
515
514
  alias: l
516
515
  options: *location_options
517
- default: 'global'
516
+ default: "global"
518
517
  - name: fork-of
519
518
  description: Create this bucket as a fork (copy-on-write clone) of the named source bucket
520
519
  alias: fork
@@ -532,7 +531,7 @@ commands:
532
531
  - "tigris touch my-bucket/placeholder.txt"
533
532
  - "tigris touch t3://my-bucket/logs/"
534
533
  messages:
535
- onFailure: 'Failed to create object. Verify the bucket exists and your credentials have write access'
534
+ onFailure: "Failed to create object. Verify the bucket exists and your credentials have write access"
536
535
  arguments:
537
536
  - name: path
538
537
  required: true
@@ -552,9 +551,9 @@ commands:
552
551
  - "tigris stat t3://my-bucket"
553
552
  - "tigris stat t3://my-bucket/my-object.json"
554
553
  messages:
555
- onStart: ''
556
- onSuccess: ''
557
- onFailure: 'Failed to get stats'
554
+ onStart: ""
555
+ onSuccess: ""
556
+ onFailure: "Failed to get stats"
558
557
  arguments:
559
558
  - name: path
560
559
  required: false
@@ -587,9 +586,9 @@ commands:
587
586
  - "tigris presign my-bucket/image.png --format json"
588
587
  - "tigris presign my-bucket/data.csv --access-key tid_AaBb"
589
588
  messages:
590
- onStart: ''
591
- onSuccess: ''
592
- onFailure: 'Failed to generate presigned URL'
589
+ onStart: ""
590
+ onSuccess: ""
591
+ onFailure: "Failed to generate presigned URL"
593
592
  arguments:
594
593
  - name: path
595
594
  required: true
@@ -606,7 +605,7 @@ commands:
606
605
  - name: expires-in
607
606
  description: URL expiry time in seconds
608
607
  alias: e
609
- default: '3600'
608
+ default: "3600"
610
609
  - name: access-key
611
610
  description: Access key ID to use for signing. If not provided, resolved from credentials or auto-selected
612
611
  helpText: Access key ID to sign with. Defaults to your current credentials
@@ -636,7 +635,7 @@ commands:
636
635
  - "tigris cp t3://my-bucket/src/ t3://my-bucket/dest/ -r"
637
636
  - "tigris cp ./images/ t3://my-bucket/images/ -r"
638
637
  messages:
639
- onFailure: 'Copy failed. Verify both paths are correct and credentials have access'
638
+ onFailure: "Copy failed. Verify both paths are correct and credentials have access"
640
639
  arguments:
641
640
  - name: src
642
641
  required: true
@@ -682,7 +681,7 @@ commands:
682
681
  - "tigris mv t3://my-bucket/old-dir/ t3://my-bucket/new-dir/ -rf"
683
682
  - "tigris mv my-bucket/a.txt my-bucket/b.txt -f"
684
683
  messages:
685
- onFailure: 'Move failed. Verify both paths are remote and credentials have access'
684
+ onFailure: "Move failed. Verify both paths are remote and credentials have access"
686
685
  arguments:
687
686
  - *yes_argument
688
687
  - name: src
@@ -722,7 +721,7 @@ commands:
722
721
  - "tigris rm t3://my-bucket -f"
723
722
  - 'tigris rm "t3://my-bucket/logs/*.tmp" -f'
724
723
  messages:
725
- onFailure: 'Remove failed. Verify the path exists and credentials have delete access'
724
+ onFailure: "Remove failed. Verify the path exists and credentials have delete access"
726
725
  arguments:
727
726
  - *yes_argument
728
727
  - name: path
@@ -755,9 +754,9 @@ commands:
755
754
  - "tigris bundle t3://my-bucket --keys keys.txt --compression gzip -o archive.tar.gz"
756
755
  - "cat keys.txt | tigris bundle my-bucket > archive.tar"
757
756
  messages:
758
- onStart: ''
759
- onSuccess: ''
760
- onFailure: 'Bundle failed. Verify the bucket exists and credentials have read access'
757
+ onStart: ""
758
+ onSuccess: ""
759
+ onFailure: "Bundle failed. Verify the bucket exists and credentials have read access"
761
760
  arguments:
762
761
  - name: bucket
763
762
  required: true
@@ -805,9 +804,9 @@ commands:
805
804
  - "tigris orgs list"
806
805
  - "tigris orgs list --format json"
807
806
  messages:
808
- onStart: 'Listing organizations...'
807
+ onStart: "Listing organizations..."
809
808
  onSuccess: "Organization '{{name}}' selected"
810
- onFailure: 'Failed to select organization'
809
+ onFailure: "Failed to select organization"
811
810
  onEmpty: "No organizations found. You may need to re-authenticate.\nRun: tigris login"
812
811
  arguments:
813
812
  - name: format
@@ -824,13 +823,13 @@ commands:
824
823
  examples:
825
824
  - "tigris orgs create my-org"
826
825
  messages:
827
- onStart: 'Creating organization...'
826
+ onStart: "Creating organization..."
828
827
  onSuccess: "Organization '{{name}}' created successfully\nOrganization ID: {{id}}"
829
- onFailure: 'Failed to create organization'
828
+ onFailure: "Failed to create organization"
830
829
  hint: "Next steps:\n - Select this organization: tigris orgs select {{name}}"
831
830
  nextActions:
832
- - command: 'tigris orgs select {{name}}'
833
- description: 'Select this organization as active'
831
+ - command: "tigris orgs select {{name}}"
832
+ description: "Select this organization as active"
834
833
  arguments:
835
834
  - name: name
836
835
  type: positional
@@ -845,14 +844,14 @@ commands:
845
844
  examples:
846
845
  - "tigris orgs select my-org"
847
846
  messages:
848
- onStart: ''
847
+ onStart: ""
849
848
  onSuccess: "Organization '{{name}}' selected"
850
- onFailure: 'Failed to select organization'
849
+ onFailure: "Failed to select organization"
851
850
  nextActions:
852
- - command: 'tigris ls'
853
- description: 'List your buckets'
854
- - command: 'tigris buckets create <name>'
855
- description: 'Create a new bucket'
851
+ - command: "tigris ls"
852
+ description: "List your buckets"
853
+ - command: "tigris buckets create <name>"
854
+ description: "Create a new bucket"
856
855
  arguments:
857
856
  - name: name
858
857
  type: positional
@@ -868,13 +867,13 @@ commands:
868
867
  - "tigris orgs delete"
869
868
  - "tigris orgs delete <org-id> --yes"
870
869
  messages:
871
- onStart: 'Deleting organization...'
870
+ onStart: "Deleting organization..."
872
871
  onSuccess: "Organization '{{name}}' deleted"
873
- onFailure: 'Failed to delete organization'
874
- hint: "That was your active organization. '{{next}}' ({{nextId}}) is active now; run \"tigris orgs list\" to switch"
872
+ onFailure: "Failed to delete organization"
873
+ hint: 'That was your active organization. ''{{next}}'' ({{nextId}}) is active now; run "tigris orgs list" to switch'
875
874
  nextActions:
876
- - command: 'tigris orgs list'
877
- description: 'List your remaining organizations'
875
+ - command: "tigris orgs list"
876
+ description: "List your remaining organizations"
878
877
  arguments:
879
878
  - *yes_argument
880
879
  - name: id
@@ -910,10 +909,10 @@ commands:
910
909
  - "tigris buckets list --owner alice@example.com"
911
910
  - "tigris buckets list --deleted"
912
911
  messages:
913
- onStart: 'Listing buckets...'
914
- onSuccess: 'Found {{count}} bucket(s)'
915
- onFailure: 'Failed to list buckets'
916
- onEmpty: 'No buckets found'
912
+ onStart: "Listing buckets..."
913
+ onSuccess: "Found {{count}} bucket(s)"
914
+ onFailure: "Failed to list buckets"
915
+ onEmpty: "No buckets found"
917
916
  arguments:
918
917
  - name: format
919
918
  description: Output format
@@ -950,14 +949,14 @@ commands:
950
949
  - "tigris buckets create my-fork --fork-of my-bucket"
951
950
  - "tigris buckets create my-fork --fork-of my-bucket --source-snapshot 1765889000501544464"
952
951
  messages:
953
- onStart: 'Creating bucket...'
952
+ onStart: "Creating bucket..."
954
953
  onSuccess: "Bucket '{{name}}' created successfully"
955
- onFailure: 'Failed to create bucket'
954
+ onFailure: "Failed to create bucket"
956
955
  nextActions:
957
- - command: 'tigris access-keys create <name>'
958
- description: 'Create an access key for programmatic access'
959
- - command: 'tigris cp ./file t3://{{name}}/'
960
- description: 'Upload files to the new bucket'
956
+ - command: "tigris access-keys create <name>"
957
+ description: "Create an access key for programmatic access"
958
+ - command: "tigris cp ./file t3://{{name}}/"
959
+ description: "Upload files to the new bucket"
961
960
  arguments:
962
961
  - name: name
963
962
  description: Name of the bucket
@@ -1003,7 +1002,7 @@ commands:
1003
1002
  description: Location for the bucket
1004
1003
  alias: l
1005
1004
  options: *location_options
1006
- default: 'global'
1005
+ default: "global"
1007
1006
  - name: fork-of
1008
1007
  description: Create this bucket as a fork (copy-on-write clone) of the named source bucket
1009
1008
  alias: fork
@@ -1020,11 +1019,11 @@ commands:
1020
1019
  - "tigris buckets rebase my-fork"
1021
1020
  - "tigris buckets rebase my-fork --yes"
1022
1021
  messages:
1023
- onStart: 'Rebasing fork...'
1022
+ onStart: "Rebasing fork..."
1024
1023
  onSuccess: "Fork '{{fork}}' rebased onto its source (snapshot {{snapshotVersion}})"
1025
1024
  onFailure: "Failed to rebase fork '{{fork}}'"
1026
1025
  nextActions:
1027
- - command: 'tigris buckets merge {{fork}}'
1026
+ - command: "tigris buckets merge {{fork}}"
1028
1027
  description: "Merge the fork's changes back into its source bucket"
1029
1028
  arguments:
1030
1029
  - *yes_argument
@@ -1044,12 +1043,12 @@ commands:
1044
1043
  - "tigris buckets merge my-fork --from-snapshot 1765889000501544464"
1045
1044
  - "tigris buckets merge my-fork --yes"
1046
1045
  messages:
1047
- onStart: 'Merging fork...'
1046
+ onStart: "Merging fork..."
1048
1047
  onSuccess: "Fork '{{fork}}' merged into '{{into}}' (snapshot {{snapshotVersion}})"
1049
1048
  onFailure: "Failed to merge fork '{{fork}}'"
1050
1049
  nextActions:
1051
- - command: 'tigris buckets get {{into}}'
1052
- description: 'Inspect the updated source bucket'
1050
+ - command: "tigris buckets get {{into}}"
1051
+ description: "Inspect the updated source bucket"
1053
1052
  arguments:
1054
1053
  - *yes_argument
1055
1054
  - name: fork
@@ -1074,9 +1073,9 @@ commands:
1074
1073
  examples:
1075
1074
  - "tigris buckets get my-bucket"
1076
1075
  messages:
1077
- onStart: 'Getting bucket details...'
1078
- onSuccess: ''
1079
- onFailure: 'Failed to get bucket details'
1076
+ onStart: "Getting bucket details..."
1077
+ onSuccess: ""
1078
+ onFailure: "Failed to get bucket details"
1080
1079
  arguments:
1081
1080
  - name: name
1082
1081
  description: Name of the bucket
@@ -1098,12 +1097,12 @@ commands:
1098
1097
  - "tigris buckets delete my-bucket --yes"
1099
1098
  - "tigris buckets delete bucket-a,bucket-b --yes"
1100
1099
  messages:
1101
- onStart: 'Deleting bucket...'
1100
+ onStart: "Deleting bucket..."
1102
1101
  onSuccess: "Bucket '{{name}}' deleted successfully"
1103
1102
  onFailure: "Failed to delete bucket '{{name}}'"
1104
1103
  nextActions:
1105
- - command: 'tigris ls'
1106
- description: 'List remaining buckets'
1104
+ - command: "tigris ls"
1105
+ description: "List remaining buckets"
1107
1106
  arguments:
1108
1107
  - *yes_argument
1109
1108
  - name: name
@@ -1124,12 +1123,12 @@ commands:
1124
1123
  examples:
1125
1124
  - "tigris buckets restore my-bucket"
1126
1125
  messages:
1127
- onStart: 'Restoring bucket...'
1126
+ onStart: "Restoring bucket..."
1128
1127
  onSuccess: "Bucket '{{name}}' restored successfully"
1129
1128
  onFailure: "Failed to restore bucket '{{name}}'"
1130
1129
  nextActions:
1131
- - command: 'tigris buckets get {{name}}'
1132
- description: 'Inspect the restored bucket'
1130
+ - command: "tigris buckets get {{name}}"
1131
+ description: "Inspect the restored bucket"
1133
1132
  arguments:
1134
1133
  - name: name
1135
1134
  description: Name of the soft-deleted bucket to restore
@@ -1147,12 +1146,12 @@ commands:
1147
1146
  - "tigris buckets purge my-bucket --yes"
1148
1147
  - "tigris buckets purge bucket-a,bucket-b --yes"
1149
1148
  messages:
1150
- onStart: 'Purging bucket...'
1149
+ onStart: "Purging bucket..."
1151
1150
  onSuccess: "Bucket '{{name}}' purged"
1152
1151
  onFailure: "Failed to purge bucket '{{name}}'"
1153
1152
  nextActions:
1154
- - command: 'tigris buckets list --deleted'
1155
- description: 'List the remaining soft-deleted buckets'
1153
+ - command: "tigris buckets list --deleted"
1154
+ description: "List the remaining soft-deleted buckets"
1156
1155
  arguments:
1157
1156
  - *yes_argument
1158
1157
  - name: name
@@ -1179,9 +1178,9 @@ commands:
1179
1178
  - "tigris buckets set my-bucket --soft-delete enable --retention-days 30"
1180
1179
  - "tigris buckets set my-bucket --soft-delete disable"
1181
1180
  messages:
1182
- onStart: 'Updating bucket...'
1183
- onSuccess: 'Bucket {{name}} updated successfully'
1184
- onFailure: 'Failed to update bucket'
1181
+ onStart: "Updating bucket..."
1182
+ onSuccess: "Bucket {{name}} updated successfully"
1183
+ onFailure: "Failed to update bucket"
1185
1184
  arguments:
1186
1185
  - name: name
1187
1186
  description: Name of the bucket
@@ -1236,9 +1235,9 @@ commands:
1236
1235
  examples:
1237
1236
  - "tigris buckets enable-snapshots my-bucket"
1238
1237
  messages:
1239
- onStart: 'Enabling snapshots...'
1240
- onSuccess: 'Snapshots enabled for bucket {{name}}'
1241
- onFailure: 'Failed to enable snapshots'
1238
+ onStart: "Enabling snapshots..."
1239
+ onSuccess: "Snapshots enabled for bucket {{name}}"
1240
+ onFailure: "Failed to enable snapshots"
1242
1241
  arguments:
1243
1242
  - name: name
1244
1243
  description: Name of the bucket
@@ -1254,9 +1253,9 @@ commands:
1254
1253
  examples:
1255
1254
  - "tigris buckets disable-snapshots my-bucket"
1256
1255
  messages:
1257
- onStart: 'Disabling snapshots...'
1258
- onSuccess: 'Snapshots disabled for bucket {{name}}'
1259
- onFailure: 'Failed to disable snapshots'
1256
+ onStart: "Disabling snapshots..."
1257
+ onSuccess: "Snapshots disabled for bucket {{name}}"
1258
+ onFailure: "Failed to disable snapshots"
1260
1259
  arguments:
1261
1260
  - name: name
1262
1261
  description: Name of the bucket
@@ -1267,7 +1266,7 @@ commands:
1267
1266
  # set-ttl
1268
1267
  - name: set-ttl
1269
1268
  removed: true
1270
- replaced_by: 'tigris buckets lifecycle create <bucket> --expire-days <N>'
1269
+ replaced_by: "tigris buckets lifecycle create <bucket> --expire-days <N>"
1271
1270
  # set-locations
1272
1271
  - name: set-locations
1273
1272
  group: Configuration
@@ -1277,9 +1276,9 @@ commands:
1277
1276
  - "tigris buckets set-locations my-bucket --locations iad,fra"
1278
1277
  - "tigris buckets set-locations my-bucket --locations global"
1279
1278
  messages:
1280
- onStart: 'Updating bucket locations...'
1281
- onSuccess: 'Locations updated for bucket {{name}}'
1282
- onFailure: 'Failed to update bucket locations'
1279
+ onStart: "Updating bucket locations..."
1280
+ onSuccess: "Locations updated for bucket {{name}}"
1281
+ onFailure: "Failed to update bucket locations"
1283
1282
  arguments:
1284
1283
  - name: name
1285
1284
  description: Name of the bucket
@@ -1302,9 +1301,9 @@ commands:
1302
1301
  - "tigris buckets set-migration my-bucket --bucket source-bucket --endpoint https://s3.amazonaws.com --region us-east-1 --access-key AKIA... --secret-key wJal... --write-through"
1303
1302
  - "tigris buckets set-migration my-bucket --disable"
1304
1303
  messages:
1305
- onStart: 'Updating migration settings...'
1306
- onSuccess: 'Migration settings updated for bucket {{name}}'
1307
- onFailure: 'Failed to update migration settings'
1304
+ onStart: "Updating migration settings..."
1305
+ onSuccess: "Migration settings updated for bucket {{name}}"
1306
+ onFailure: "Failed to update migration settings"
1308
1307
  arguments:
1309
1308
  - name: name
1310
1309
  description: Name of the bucket
@@ -1344,9 +1343,9 @@ commands:
1344
1343
  - "tigris buckets migrate t3://my-bucket/prefix/"
1345
1344
  - "tigris buckets migrate my-bucket --max-in-flight-gb 100"
1346
1345
  messages:
1347
- onStart: ''
1348
- onSuccess: ''
1349
- onFailure: 'Migration failed'
1346
+ onStart: ""
1347
+ onSuccess: ""
1348
+ onFailure: "Migration failed"
1350
1349
  arguments:
1351
1350
  - name: path
1352
1351
  description: Bucket name or path with optional prefix. Supports t3:// and tigris:// prefixes
@@ -1359,11 +1358,11 @@ commands:
1359
1358
  - name: max-in-flight-gb
1360
1359
  description: Max total gigabytes of scheduled-but-unconfirmed migrations to keep in flight. Accepts 1-100
1361
1360
  helpText: Max gigabytes of unconfirmed migrations to keep in flight (1-100)
1362
- default: '50'
1361
+ default: "50"
1363
1362
  # set-transition
1364
1363
  - name: set-transition
1365
1364
  removed: true
1366
- replaced_by: 'tigris buckets lifecycle create <bucket> --storage-class <class> --days <N>'
1365
+ replaced_by: "tigris buckets lifecycle create <bucket> --storage-class <class> --days <N>"
1367
1366
  # lifecycle
1368
1367
  - name: lifecycle
1369
1368
  group: Configuration
@@ -1383,10 +1382,10 @@ commands:
1383
1382
  - "tigris buckets lifecycle list my-bucket"
1384
1383
  - "tigris buckets lifecycle list my-bucket --json"
1385
1384
  messages:
1386
- onStart: ''
1387
- onSuccess: ''
1388
- onFailure: 'Failed to list lifecycle rules'
1389
- onEmpty: 'No lifecycle rules configured'
1385
+ onStart: ""
1386
+ onSuccess: ""
1387
+ onFailure: "Failed to list lifecycle rules"
1388
+ onEmpty: "No lifecycle rules configured"
1390
1389
  arguments:
1391
1390
  - name: name
1392
1391
  description: Name of the bucket
@@ -1408,9 +1407,9 @@ commands:
1408
1407
  - "tigris buckets lifecycle create my-bucket --prefix tmp/ --expire-days 7"
1409
1408
  - "tigris buckets lifecycle create my-bucket --prefix archive/ --storage-class GLACIER --days 30 --expire-days 365"
1410
1409
  messages:
1411
- onStart: 'Creating lifecycle rule...'
1412
- onSuccess: 'Lifecycle rule created on bucket {{name}} (id: {{id}})'
1413
- onFailure: 'Failed to create lifecycle rule'
1410
+ onStart: "Creating lifecycle rule..."
1411
+ onSuccess: "Lifecycle rule created on bucket {{name}} (id: {{id}})"
1412
+ onFailure: "Failed to create lifecycle rule"
1414
1413
  arguments:
1415
1414
  - name: name
1416
1415
  description: Name of the bucket
@@ -1447,9 +1446,9 @@ commands:
1447
1446
  - "tigris buckets lifecycle edit my-bucket abc123 --expire-days 90"
1448
1447
  - "tigris buckets lifecycle edit my-bucket abc123 --enable"
1449
1448
  messages:
1450
- onStart: 'Updating lifecycle rule...'
1451
- onSuccess: 'Lifecycle rule {{id}} updated on bucket {{name}}'
1452
- onFailure: 'Failed to update lifecycle rule'
1449
+ onStart: "Updating lifecycle rule..."
1450
+ onSuccess: "Lifecycle rule {{id}} updated on bucket {{name}}"
1451
+ onFailure: "Failed to update lifecycle rule"
1453
1452
  arguments:
1454
1453
  - name: name
1455
1454
  description: Name of the bucket
@@ -1497,9 +1496,9 @@ commands:
1497
1496
  - "tigris buckets set-notifications my-bucket --disable"
1498
1497
  - "tigris buckets set-notifications my-bucket --reset"
1499
1498
  messages:
1500
- onStart: 'Updating notification settings...'
1501
- onSuccess: 'Notification settings updated for bucket {{name}}'
1502
- onFailure: 'Failed to update notification settings'
1499
+ onStart: "Updating notification settings..."
1500
+ onSuccess: "Notification settings updated for bucket {{name}}"
1501
+ onFailure: "Failed to update notification settings"
1503
1502
  arguments:
1504
1503
  - name: name
1505
1504
  description: Name of the bucket
@@ -1511,7 +1510,7 @@ commands:
1511
1510
  description: Webhook URL to send notifications to (must be http or https)
1512
1511
  alias: u
1513
1512
  - name: filter
1514
- description: "SQL WHERE clause to filter events by key (e.g. WHERE `key` REGEXP \"^images\")"
1513
+ description: 'SQL WHERE clause to filter events by key (e.g. WHERE `key` REGEXP "^images")'
1515
1514
  alias: f
1516
1515
  - name: token
1517
1516
  description: Token for webhook authentication
@@ -1540,9 +1539,9 @@ commands:
1540
1539
  - "tigris buckets set-cors my-bucket --origins https://example.com --override"
1541
1540
  - "tigris buckets set-cors my-bucket --reset"
1542
1541
  messages:
1543
- onStart: 'Updating CORS settings...'
1544
- onSuccess: 'CORS settings updated for bucket {{name}}'
1545
- onFailure: 'Failed to update CORS settings'
1542
+ onStart: "Updating CORS settings..."
1543
+ onSuccess: "CORS settings updated for bucket {{name}}"
1544
+ onFailure: "Failed to update CORS settings"
1546
1545
  arguments:
1547
1546
  - name: name
1548
1547
  description: Name of the bucket
@@ -1561,7 +1560,7 @@ commands:
1561
1560
  - name: expose-headers
1562
1561
  description: Response headers to expose (comma-separated)
1563
1562
  - name: max-age
1564
- description: 'Preflight cache duration in seconds (default: 3600)'
1563
+ description: "Preflight cache duration in seconds (default: 3600)"
1565
1564
  - name: override
1566
1565
  description: Replace all existing CORS rules instead of appending
1567
1566
  type: flag
@@ -1582,9 +1581,9 @@ commands:
1582
1581
  - "tigris buckets share my-bucket --team tmid_MQQUhV --role Editor --override"
1583
1582
  - "tigris buckets share my-bucket --reset"
1584
1583
  messages:
1585
- onStart: 'Updating bucket shares...'
1586
- onSuccess: 'Shares updated for bucket {{name}}'
1587
- onFailure: 'Failed to update bucket shares'
1584
+ onStart: "Updating bucket shares..."
1585
+ onSuccess: "Shares updated for bucket {{name}}"
1586
+ onFailure: "Failed to update bucket shares"
1588
1587
  arguments:
1589
1588
  - name: name
1590
1589
  description: Name of the bucket
@@ -1629,7 +1628,7 @@ commands:
1629
1628
  - name: forks
1630
1629
  alias: f
1631
1630
  removed: true
1632
- replaced_by: 'tigris buckets create --fork-of and tigris buckets list --forks-of'
1631
+ replaced_by: "tigris buckets create --fork-of and tigris buckets list --forks-of"
1633
1632
 
1634
1633
  #########################
1635
1634
  # Manage snapshots
@@ -1653,10 +1652,10 @@ commands:
1653
1652
  - "tigris snapshots list my-bucket"
1654
1653
  - "tigris snapshots list my-bucket --format json"
1655
1654
  messages:
1656
- onStart: 'Listing snapshots...'
1657
- onSuccess: 'Found {{count}} snapshot(s)'
1658
- onFailure: 'Failed to list snapshots'
1659
- onEmpty: 'No snapshots found for this bucket'
1655
+ onStart: "Listing snapshots..."
1656
+ onSuccess: "Found {{count}} snapshot(s)"
1657
+ onFailure: "Failed to list snapshots"
1658
+ onEmpty: "No snapshots found for this bucket"
1660
1659
  arguments:
1661
1660
  - name: name
1662
1661
  description: Name of the bucket
@@ -1682,9 +1681,9 @@ commands:
1682
1681
  - "tigris snapshots take my-bucket"
1683
1682
  - "tigris snapshots take my-bucket my-snapshot"
1684
1683
  messages:
1685
- onStart: 'Taking snapshot...'
1684
+ onStart: "Taking snapshot..."
1686
1685
  onSuccess: "Snapshot '{{snapshotName}}' taken for bucket '{{name}}'"
1687
- onFailure: 'Failed to take snapshot'
1686
+ onFailure: "Failed to take snapshot"
1688
1687
  arguments:
1689
1688
  - name: name
1690
1689
  description: Name of the bucket
@@ -1707,12 +1706,12 @@ commands:
1707
1706
  - "tigris snapshots delete my-bucket 1765889000501544464 --yes"
1708
1707
  - "tigris snapshots delete my-bucket 1765889000501544464,1765889000501544465 --yes"
1709
1708
  messages:
1710
- onStart: 'Deleting snapshot...'
1709
+ onStart: "Deleting snapshot..."
1711
1710
  onSuccess: "Snapshot '{{version}}' deleted from bucket '{{name}}'"
1712
1711
  onFailure: "Failed to delete snapshot '{{version}}'"
1713
1712
  nextActions:
1714
- - command: 'tigris snapshots list {{name}}'
1715
- description: 'List remaining snapshots'
1713
+ - command: "tigris snapshots list {{name}}"
1714
+ description: "List remaining snapshots"
1716
1715
  arguments:
1717
1716
  - *yes_argument
1718
1717
  - name: name
@@ -1765,10 +1764,10 @@ commands:
1765
1764
  - "tigris objects list my-bucket --format json"
1766
1765
  - "tigris objects list my-bucket --deleted"
1767
1766
  messages:
1768
- onStart: 'Listing objects...'
1769
- onSuccess: 'Found {{count}} object(s)'
1770
- onFailure: 'Failed to list objects'
1771
- onEmpty: 'No objects found'
1767
+ onStart: "Listing objects..."
1768
+ onSuccess: "Found {{count}} object(s)"
1769
+ onFailure: "Failed to list objects"
1770
+ onEmpty: "No objects found"
1772
1771
  arguments:
1773
1772
  - name: bucket
1774
1773
  description: Name of the bucket, or a path with optional prefix (t3://bucket/prefix/)
@@ -1815,10 +1814,10 @@ commands:
1815
1814
  - "tigris objects list-versions my-bucket --format json"
1816
1815
  - "tigris objects list-versions my-bucket --prefix report.pdf --deleted"
1817
1816
  messages:
1818
- onStart: 'Listing object versions...'
1819
- onSuccess: 'Found {{versions}} version(s) and {{deleteMarkers}} delete marker(s)'
1820
- onFailure: 'Failed to list object versions'
1821
- onEmpty: 'No versions or delete markers found'
1817
+ onStart: "Listing object versions..."
1818
+ onSuccess: "Found {{versions}} version(s) and {{deleteMarkers}} delete marker(s)"
1819
+ onFailure: "Failed to list object versions"
1820
+ onEmpty: "No versions or delete markers found"
1822
1821
  arguments:
1823
1822
  - name: bucket
1824
1823
  description: Name of the bucket, or a path with optional prefix (t3://bucket/prefix/)
@@ -1861,9 +1860,9 @@ commands:
1861
1860
  - "tigris objects get t3://my-bucket/config.json"
1862
1861
  - "tigris objects get my-bucket archive.zip --output ./archive.zip --mode stream"
1863
1862
  messages:
1864
- onStart: 'Getting object...'
1865
- onSuccess: ''
1866
- onFailure: 'Failed to get object'
1863
+ onStart: "Getting object..."
1864
+ onSuccess: ""
1865
+ onFailure: "Failed to get object"
1867
1866
  arguments:
1868
1867
  - name: bucket
1869
1868
  description: Name of the bucket, or a full path (t3://bucket/key)
@@ -1906,12 +1905,12 @@ commands:
1906
1905
  - "echo 'hello' | tigris objects put t3://my-bucket/hello.txt"
1907
1906
  - "cat report.pdf | tigris objects put my-bucket report.pdf --content-type application/pdf"
1908
1907
  messages:
1909
- onStart: 'Uploading object...'
1908
+ onStart: "Uploading object..."
1910
1909
  onSuccess: "Object '{{key}}' uploaded successfully"
1911
- onFailure: 'Failed to upload object'
1910
+ onFailure: "Failed to upload object"
1912
1911
  nextActions:
1913
- - command: 'tigris presign {{bucket}}/{{key}}'
1914
- description: 'Generate a presigned URL for the uploaded object'
1912
+ - command: "tigris presign {{bucket}}/{{key}}"
1913
+ description: "Generate a presigned URL for the uploaded object"
1915
1914
  arguments:
1916
1915
  - name: bucket
1917
1916
  description: Name of the bucket, or a full path (t3://bucket/key)
@@ -1959,12 +1958,12 @@ commands:
1959
1958
  - "tigris objects delete my-bucket old-file.txt --version-id abc123 --yes"
1960
1959
  - "tigris objects delete my-bucket old-file.txt --all-versions --yes"
1961
1960
  messages:
1962
- onStart: 'Deleting object...'
1961
+ onStart: "Deleting object..."
1963
1962
  onSuccess: "Object '{{key}}' deleted successfully"
1964
- onFailure: 'Failed to delete object'
1963
+ onFailure: "Failed to delete object"
1965
1964
  nextActions:
1966
- - command: 'tigris ls {{bucket}}'
1967
- description: 'List remaining objects in the bucket'
1965
+ - command: "tigris ls {{bucket}}"
1966
+ description: "List remaining objects in the bucket"
1968
1967
  arguments:
1969
1968
  - *yes_argument
1970
1969
  - name: bucket
@@ -2003,10 +2002,10 @@ commands:
2003
2002
  - "tigris objects set t3://my-bucket/my-file.txt --access public"
2004
2003
  - "tigris objects set my-bucket my-file.txt --access private"
2005
2004
  messages:
2006
- onStart: 'Updating object...'
2005
+ onStart: "Updating object..."
2007
2006
  onSuccess: "Object '{{key}}' updated successfully"
2008
- onFailure: 'Failed to update object'
2009
- onDeprecated: 'tigris objects set is deprecated. Use `tigris objects set-access` for ACL changes and `tigris mv` to rename objects. This command will be removed in a future release.'
2007
+ onFailure: "Failed to update object"
2008
+ onDeprecated: "tigris objects set is deprecated. Use `tigris objects set-access` for ACL changes and `tigris mv` to rename objects. This command will be removed in a future release."
2010
2009
  arguments:
2011
2010
  - name: bucket
2012
2011
  description: Name of the bucket, or a full path (t3://bucket/key)
@@ -2033,9 +2032,9 @@ commands:
2033
2032
  - "tigris objects set-access my-bucket my-file.txt public"
2034
2033
  - "tigris objects set-access t3://my-bucket/my-file.txt private"
2035
2034
  messages:
2036
- onStart: 'Updating object access...'
2035
+ onStart: "Updating object access..."
2037
2036
  onSuccess: "Access for '{{key}}' updated to {{access}}"
2038
- onFailure: 'Failed to update object access'
2037
+ onFailure: "Failed to update object access"
2039
2038
  arguments:
2040
2039
  - name: bucket
2041
2040
  description: Name of the bucket, or a full path (t3://bucket/key)
@@ -2065,9 +2064,9 @@ commands:
2065
2064
  - "tigris objects info my-bucket report.pdf --format json"
2066
2065
  - "tigris objects info my-bucket report.pdf --version-id abc123"
2067
2066
  messages:
2068
- onStart: ''
2069
- onSuccess: ''
2070
- onFailure: 'Failed to get object info'
2067
+ onStart: ""
2068
+ onSuccess: ""
2069
+ onFailure: "Failed to get object info"
2071
2070
  arguments:
2072
2071
  - name: bucket
2073
2072
  type: positional
@@ -2097,9 +2096,9 @@ commands:
2097
2096
  - "tigris objects restore t3://my-bucket/archived.bin --days 7"
2098
2097
  - "tigris objects restore my-bucket archived.bin --snapshot-version 1765889000501544464"
2099
2098
  messages:
2100
- onStart: 'Requesting restore...'
2099
+ onStart: "Requesting restore..."
2101
2100
  onSuccess: "Restore requested for '{{key}}'"
2102
- onFailure: 'Failed to restore object'
2101
+ onFailure: "Failed to restore object"
2103
2102
  arguments:
2104
2103
  - name: bucket
2105
2104
  type: positional
@@ -2135,10 +2134,10 @@ commands:
2135
2134
  - "tigris objects restore-info t3://my-bucket/archived.bin --format json"
2136
2135
  - "tigris objects restore-info my-bucket archived.bin --snapshot-version 1765889000501544464"
2137
2136
  messages:
2138
- onStart: ''
2139
- onSuccess: ''
2140
- onFailure: 'Failed to get restore info'
2141
- onEmpty: 'No restore information for this object (it is not archived)'
2137
+ onStart: ""
2138
+ onSuccess: ""
2139
+ onFailure: "Failed to get restore info"
2140
+ onEmpty: "No restore information for this object (it is not archived)"
2142
2141
  arguments:
2143
2142
  - name: bucket
2144
2143
  type: positional
@@ -2168,12 +2167,12 @@ commands:
2168
2167
  - "tigris objects restore-deleted my-bucket report.pdf --version-id 1787749774802410496"
2169
2168
  - "tigris objects restore-deleted t3://my-bucket/report.pdf --version-id 1787749774802410496"
2170
2169
  messages:
2171
- onStart: 'Restoring deleted object...'
2170
+ onStart: "Restoring deleted object..."
2172
2171
  onSuccess: "Object '{{key}}' restored successfully"
2173
- onFailure: 'Failed to restore deleted object'
2172
+ onFailure: "Failed to restore deleted object"
2174
2173
  nextActions:
2175
- - command: 'tigris ls {{bucket}}'
2176
- description: 'List objects in the bucket'
2174
+ - command: "tigris ls {{bucket}}"
2175
+ description: "List objects in the bucket"
2177
2176
  arguments:
2178
2177
  - name: bucket
2179
2178
  type: positional
@@ -2205,9 +2204,9 @@ commands:
2205
2204
  - "tigris objects purge my-bucket report.pdf --version-id 1787749774802410496 --yes"
2206
2205
  - "tigris objects purge t3://my-bucket/report.pdf --version-id 1787749774802410496 --yes"
2207
2206
  messages:
2208
- onStart: 'Purging deleted object...'
2207
+ onStart: "Purging deleted object..."
2209
2208
  onSuccess: "Purged version '{{versionId}}' of '{{key}}'"
2210
- onFailure: 'Failed to purge deleted object'
2209
+ onFailure: "Failed to purge deleted object"
2211
2210
  arguments:
2212
2211
  - *yes_argument
2213
2212
  - name: bucket
@@ -2253,10 +2252,10 @@ commands:
2253
2252
  examples:
2254
2253
  - "tigris access-keys list"
2255
2254
  messages:
2256
- onStart: ''
2257
- onSuccess: ''
2258
- onFailure: 'Failed to list access keys'
2259
- onEmpty: 'No access keys found'
2255
+ onStart: ""
2256
+ onSuccess: ""
2257
+ onFailure: "Failed to list access keys"
2258
+ onEmpty: "No access keys found"
2260
2259
  arguments:
2261
2260
  - name: format
2262
2261
  description: Output format
@@ -2277,12 +2276,12 @@ commands:
2277
2276
  - "tigris access-keys create ci --bucket my-app-bucket --role ReadOnly --default-permissions disable"
2278
2277
  - 'eval "$(tigris access-keys create dev --bucket my-app-bucket --role Editor --export)"'
2279
2278
  messages:
2280
- onStart: 'Creating access key...'
2281
- onSuccess: 'Access key created'
2282
- onFailure: 'Failed to create access key'
2279
+ onStart: "Creating access key..."
2280
+ onSuccess: "Access key created"
2281
+ onFailure: "Failed to create access key"
2283
2282
  nextActions:
2284
- - command: 'tigris access-keys assign {{id}} --bucket <bucket> --role Editor'
2285
- description: 'Assign bucket roles to the new access key'
2283
+ - command: "tigris access-keys assign {{id}} --bucket <bucket> --role Editor"
2284
+ description: "Assign bucket roles to the new access key"
2286
2285
  arguments:
2287
2286
  - name: name
2288
2287
  description: Name for the access key
@@ -2314,12 +2313,12 @@ commands:
2314
2313
  - "tigris access-keys delete tid_AaBbCcDdEeFf --yes"
2315
2314
  - "tigris access-keys delete tid_AaBb,tid_CcDd --yes"
2316
2315
  messages:
2317
- onStart: 'Deleting access key...'
2316
+ onStart: "Deleting access key..."
2318
2317
  onSuccess: "Access key '{{id}}' deleted"
2319
2318
  onFailure: "Failed to delete access key '{{id}}'"
2320
2319
  nextActions:
2321
- - command: 'tigris access-keys list'
2322
- description: 'List remaining access keys'
2320
+ - command: "tigris access-keys list"
2321
+ description: "List remaining access keys"
2323
2322
  arguments:
2324
2323
  - *yes_argument
2325
2324
  - name: id
@@ -2339,9 +2338,9 @@ commands:
2339
2338
  examples:
2340
2339
  - "tigris access-keys get tid_AaBbCcDdEeFf"
2341
2340
  messages:
2342
- onStart: ''
2343
- onSuccess: ''
2344
- onFailure: 'Failed to get access key'
2341
+ onStart: ""
2342
+ onSuccess: ""
2343
+ onFailure: "Failed to get access key"
2345
2344
  arguments:
2346
2345
  - name: id
2347
2346
  description: Access key ID
@@ -2359,12 +2358,12 @@ commands:
2359
2358
  - "tigris access-keys assign tid_AaBb --admin"
2360
2359
  - "tigris access-keys assign tid_AaBb --revoke-roles"
2361
2360
  messages:
2362
- onStart: 'Assigning bucket roles...'
2363
- onSuccess: 'Bucket roles assigned'
2364
- onFailure: 'Failed to assign bucket roles'
2361
+ onStart: "Assigning bucket roles..."
2362
+ onSuccess: "Bucket roles assigned"
2363
+ onFailure: "Failed to assign bucket roles"
2365
2364
  nextActions:
2366
- - command: 'tigris cp ./file t3://<bucket>/'
2367
- description: 'Upload files using the assigned access key'
2365
+ - command: "tigris cp ./file t3://<bucket>/"
2366
+ description: "Upload files using the assigned access key"
2368
2367
  arguments:
2369
2368
  - name: id
2370
2369
  description: Access key ID
@@ -2386,9 +2385,9 @@ commands:
2386
2385
  - "tigris access-keys set tid_AaBb --default-permissions disable"
2387
2386
  - "tigris access-keys set tid_AaBb --default-permissions enable"
2388
2387
  messages:
2389
- onStart: 'Updating access key...'
2388
+ onStart: "Updating access key..."
2390
2389
  onSuccess: "Default permissions {{setting}} for access key '{{id}}'"
2391
- onFailure: 'Failed to update access key'
2390
+ onFailure: "Failed to update access key"
2392
2391
  arguments:
2393
2392
  - name: id
2394
2393
  description: Access key ID
@@ -2404,12 +2403,12 @@ commands:
2404
2403
  examples:
2405
2404
  - "tigris access-keys rotate tid_AaBbCcDdEeFf --yes"
2406
2405
  messages:
2407
- onStart: 'Rotating access key...'
2408
- onSuccess: 'Access key rotated'
2409
- onFailure: 'Failed to rotate access key'
2406
+ onStart: "Rotating access key..."
2407
+ onSuccess: "Access key rotated"
2408
+ onFailure: "Failed to rotate access key"
2410
2409
  nextActions:
2411
- - command: 'tigris access-keys get {{id}}'
2412
- description: 'Verify the rotated access key'
2410
+ - command: "tigris access-keys get {{id}}"
2411
+ description: "Verify the rotated access key"
2413
2412
  arguments:
2414
2413
  - *yes_argument
2415
2414
  - name: id
@@ -2429,9 +2428,9 @@ commands:
2429
2428
  - "tigris access-keys attach-policy tid_AaBb --policy-arn arn:aws:iam::org_id:policy/my-policy"
2430
2429
  - "tigris access-keys attach-policy tid_AaBb"
2431
2430
  messages:
2432
- onStart: 'Attaching policy...'
2433
- onSuccess: 'Policy attached'
2434
- onFailure: 'Failed to attach policy'
2431
+ onStart: "Attaching policy..."
2432
+ onSuccess: "Policy attached"
2433
+ onFailure: "Failed to attach policy"
2435
2434
  arguments:
2436
2435
  - name: id
2437
2436
  description: Access key ID
@@ -2451,9 +2450,9 @@ commands:
2451
2450
  - "tigris access-keys detach-policy tid_AaBb --policy-arn arn:aws:iam::org_id:policy/my-policy --yes"
2452
2451
  - "tigris access-keys detach-policy tid_AaBb"
2453
2452
  messages:
2454
- onStart: 'Detaching policy...'
2455
- onSuccess: 'Policy detached'
2456
- onFailure: 'Failed to detach policy'
2453
+ onStart: "Detaching policy..."
2454
+ onSuccess: "Policy detached"
2455
+ onFailure: "Failed to detach policy"
2457
2456
  arguments:
2458
2457
  - *yes_argument
2459
2458
  - name: id
@@ -2475,10 +2474,10 @@ commands:
2475
2474
  examples:
2476
2475
  - "tigris access-keys list-policies tid_AaBbCcDdEeFf"
2477
2476
  messages:
2478
- onStart: ''
2479
- onSuccess: ''
2480
- onFailure: 'Failed to list policies for access key'
2481
- onEmpty: 'No policies attached to this access key'
2477
+ onStart: ""
2478
+ onSuccess: ""
2479
+ onFailure: "Failed to list policies for access key"
2480
+ onEmpty: "No policies attached to this access key"
2482
2481
  arguments:
2483
2482
  - name: id
2484
2483
  description: Access key ID
@@ -2523,10 +2522,10 @@ commands:
2523
2522
  examples:
2524
2523
  - "tigris iam policies list"
2525
2524
  messages:
2526
- onStart: ''
2527
- onSuccess: ''
2528
- onFailure: 'Failed to list policies'
2529
- onEmpty: 'No policies found'
2525
+ onStart: ""
2526
+ onSuccess: ""
2527
+ onFailure: "Failed to list policies"
2528
+ onEmpty: "No policies found"
2530
2529
  arguments:
2531
2530
  - name: format
2532
2531
  description: Output format
@@ -2545,10 +2544,10 @@ commands:
2545
2544
  - "tigris iam policies get"
2546
2545
  - "tigris iam policies get arn:aws:iam::org_id:policy/my-policy"
2547
2546
  messages:
2548
- onStart: ''
2549
- onSuccess: ''
2550
- onFailure: 'Failed to get policy'
2551
- onEmpty: 'No policies found'
2547
+ onStart: ""
2548
+ onSuccess: ""
2549
+ onFailure: "Failed to get policy"
2550
+ onEmpty: "No policies found"
2552
2551
  arguments:
2553
2552
  - name: resource
2554
2553
  description: Policy ARN. If omitted, shows interactive selection
@@ -2566,12 +2565,12 @@ commands:
2566
2565
  alias: c
2567
2566
  examples:
2568
2567
  - "tigris iam policies create my-policy --document policy.json"
2569
- - "tigris iam policies create my-policy --document '{\"Version\":\"2012-10-17\",\"Statement\":[...]}'"
2568
+ - 'tigris iam policies create my-policy --document ''{"Version":"2012-10-17","Statement":[...]}'''
2570
2569
  - "cat policy.json | tigris iam policies create my-policy"
2571
2570
  messages:
2572
- onStart: 'Creating policy...'
2571
+ onStart: "Creating policy..."
2573
2572
  onSuccess: "Policy '{{name}}' created"
2574
- onFailure: 'Failed to create policy'
2573
+ onFailure: "Failed to create policy"
2575
2574
  arguments:
2576
2575
  - name: name
2577
2576
  description: Policy name
@@ -2595,10 +2594,10 @@ commands:
2595
2594
  - "tigris iam policies edit arn:aws:iam::org_id:policy/my-policy --document policy.json"
2596
2595
  - "cat policy.json | tigris iam policies edit arn:aws:iam::org_id:policy/my-policy"
2597
2596
  messages:
2598
- onStart: 'Updating policy...'
2597
+ onStart: "Updating policy..."
2599
2598
  onSuccess: "Policy '{{resource}}' updated"
2600
- onFailure: 'Failed to update policy'
2601
- onEmpty: 'No policies found'
2599
+ onFailure: "Failed to update policy"
2600
+ onEmpty: "No policies found"
2602
2601
  arguments:
2603
2602
  - name: resource
2604
2603
  description: Policy ARN. If omitted, shows interactive selection
@@ -2622,10 +2621,10 @@ commands:
2622
2621
  - "tigris iam policies delete"
2623
2622
  - "tigris iam policies delete arn:aws:iam::org_id:policy/my-policy --yes"
2624
2623
  messages:
2625
- onStart: 'Deleting policy...'
2624
+ onStart: "Deleting policy..."
2626
2625
  onSuccess: "Policy '{{resource}}' deleted"
2627
- onFailure: 'Failed to delete policy'
2628
- onEmpty: 'No policies found'
2626
+ onFailure: "Failed to delete policy"
2627
+ onEmpty: "No policies found"
2629
2628
  arguments:
2630
2629
  - *yes_argument
2631
2630
  - name: resource
@@ -2645,10 +2644,10 @@ commands:
2645
2644
  - "tigris iam policies link-key arn:aws:iam::org_id:policy/my-policy --id tid_AaBb"
2646
2645
  - "tigris iam policies link-key"
2647
2646
  messages:
2648
- onStart: 'Linking access key...'
2649
- onSuccess: 'Access key linked'
2650
- onFailure: 'Failed to link access key'
2651
- onEmpty: 'No policies found'
2647
+ onStart: "Linking access key..."
2648
+ onSuccess: "Access key linked"
2649
+ onFailure: "Failed to link access key"
2650
+ onEmpty: "No policies found"
2652
2651
  arguments:
2653
2652
  - name: resource
2654
2653
  description: Policy ARN. If omitted, shows interactive selection
@@ -2668,10 +2667,10 @@ commands:
2668
2667
  - "tigris iam policies unlink-key arn:aws:iam::org_id:policy/my-policy --id tid_AaBb --yes"
2669
2668
  - "tigris iam policies unlink-key"
2670
2669
  messages:
2671
- onStart: 'Unlinking access key...'
2672
- onSuccess: 'Access key unlinked'
2673
- onFailure: 'Failed to unlink access key'
2674
- onEmpty: 'No policies found'
2670
+ onStart: "Unlinking access key..."
2671
+ onSuccess: "Access key unlinked"
2672
+ onFailure: "Failed to unlink access key"
2673
+ onEmpty: "No policies found"
2675
2674
  arguments:
2676
2675
  - *yes_argument
2677
2676
  - name: resource
@@ -2695,10 +2694,10 @@ commands:
2695
2694
  - "tigris iam policies list-keys arn:aws:iam::org_id:policy/my-policy"
2696
2695
  - "tigris iam policies list-keys"
2697
2696
  messages:
2698
- onStart: ''
2699
- onSuccess: ''
2700
- onFailure: 'Failed to list access keys for policy'
2701
- onEmpty: 'No access keys attached to this policy'
2697
+ onStart: ""
2698
+ onSuccess: ""
2699
+ onFailure: "Failed to list access keys for policy"
2700
+ onEmpty: "No access keys attached to this policy"
2702
2701
  arguments:
2703
2702
  - name: resource
2704
2703
  description: Policy ARN. If omitted, shows interactive selection
@@ -2726,10 +2725,10 @@ commands:
2726
2725
  - "tigris iam users list"
2727
2726
  - "tigris iam users list --format json"
2728
2727
  messages:
2729
- onStart: ''
2730
- onSuccess: ''
2731
- onFailure: 'Failed to list users'
2732
- onEmpty: 'No users found in this organization'
2728
+ onStart: ""
2729
+ onSuccess: ""
2730
+ onFailure: "Failed to list users"
2731
+ onEmpty: "No users found in this organization"
2733
2732
  arguments:
2734
2733
  - name: format
2735
2734
  description: Output format
@@ -2743,9 +2742,9 @@ commands:
2743
2742
  - "tigris iam users invite user@example.com --role admin"
2744
2743
  - "tigris iam users invite user1@example.com,user2@example.com"
2745
2744
  messages:
2746
- onStart: 'Sending invitation...'
2745
+ onStart: "Sending invitation..."
2747
2746
  onSuccess: "Invitation sent to '{{email}}'"
2748
- onFailure: 'Failed to send invitation'
2747
+ onFailure: "Failed to send invitation"
2749
2748
  arguments:
2750
2749
  - name: email
2751
2750
  description: Email address(es) to invite (comma-separated for multiple)
@@ -2769,10 +2768,10 @@ commands:
2769
2768
  - "tigris iam users revoke-invitation invitation_id --yes"
2770
2769
  - "tigris iam users revoke-invitation id1,id2,id3 --yes"
2771
2770
  messages:
2772
- onStart: 'Revoking invitation...'
2771
+ onStart: "Revoking invitation..."
2773
2772
  onSuccess: "Invitation(s) revoked"
2774
- onFailure: 'Failed to revoke invitation'
2775
- onEmpty: 'No pending invitations found'
2773
+ onFailure: "Failed to revoke invitation"
2774
+ onEmpty: "No pending invitations found"
2776
2775
  arguments:
2777
2776
  - *yes_argument
2778
2777
  - name: resource
@@ -2794,10 +2793,10 @@ commands:
2794
2793
  - "tigris iam users update-role id1,id2 --role admin"
2795
2794
  - "tigris iam users update-role id1,id2 --role admin,member"
2796
2795
  messages:
2797
- onStart: 'Updating user role...'
2796
+ onStart: "Updating user role..."
2798
2797
  onSuccess: "Role updated"
2799
- onFailure: 'Failed to update user role'
2800
- onEmpty: 'No users found in this organization'
2798
+ onFailure: "Failed to update user role"
2799
+ onEmpty: "No users found in this organization"
2801
2800
  arguments:
2802
2801
  - name: resource
2803
2802
  description: User ID(s) (comma-separated for multiple). If omitted, shows interactive selection
@@ -2821,10 +2820,10 @@ commands:
2821
2820
  - "tigris iam users remove user@example.com --yes"
2822
2821
  - "tigris iam users remove user@example.com,user@example.net --yes"
2823
2822
  messages:
2824
- onStart: 'Removing user...'
2823
+ onStart: "Removing user..."
2825
2824
  onSuccess: "User(s) removed"
2826
- onFailure: 'Failed to remove user'
2827
- onEmpty: 'No users found in this organization'
2825
+ onFailure: "Failed to remove user"
2826
+ onEmpty: "No users found in this organization"
2828
2827
  arguments:
2829
2828
  - *yes_argument
2830
2829
  - name: resource
@@ -2851,10 +2850,10 @@ commands:
2851
2850
  - "tigris iam teams list"
2852
2851
  - "tigris iam teams list --format json"
2853
2852
  messages:
2854
- onStart: ''
2855
- onSuccess: ''
2856
- onFailure: 'Failed to list teams'
2857
- onEmpty: 'No teams found in this organization'
2853
+ onStart: ""
2854
+ onSuccess: ""
2855
+ onFailure: "Failed to list teams"
2856
+ onEmpty: "No teams found in this organization"
2858
2857
  arguments:
2859
2858
  - name: format
2860
2859
  description: Output format
@@ -2868,9 +2867,9 @@ commands:
2868
2867
  - "tigris iam teams create engineering --description 'Engineering team'"
2869
2868
  - "tigris iam teams create engineering --members a@example.com,b@example.com"
2870
2869
  messages:
2871
- onStart: 'Creating team...'
2870
+ onStart: "Creating team..."
2872
2871
  onSuccess: "Team '{{name}}' created"
2873
- onFailure: 'Failed to create team'
2872
+ onFailure: "Failed to create team"
2874
2873
  arguments:
2875
2874
  - name: name
2876
2875
  description: Name of the team
@@ -2894,9 +2893,9 @@ commands:
2894
2893
  - "tigris iam teams edit team_id --description 'Platform team'"
2895
2894
  - "tigris iam teams edit team_id --members a@example.com,b@example.com"
2896
2895
  messages:
2897
- onStart: 'Updating team...'
2896
+ onStart: "Updating team..."
2898
2897
  onSuccess: "Team updated"
2899
- onFailure: 'Failed to update team'
2898
+ onFailure: "Failed to update team"
2900
2899
  arguments:
2901
2900
  - name: id
2902
2901
  description: ID of the team to edit