@tigrisdata/cli 2.14.0-beta.1 → 2.14.0-beta.3
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.
- package/dist/auth/client.js +1 -1
- package/dist/auth/fly.js +1 -1
- package/dist/auth/iam.js +1 -0
- package/dist/auth/provider.js +1 -0
- package/dist/auth/storage.js +1 -1
- package/dist/chunk-3FMWZQ3C.js +4 -0
- package/dist/chunk-3LHPCSFG.js +4 -0
- package/dist/chunk-4R4YLHT7.js +7 -0
- package/dist/chunk-52HSMT5H.js +1 -0
- package/dist/chunk-5VDFQRGP.js +2 -0
- package/dist/chunk-7J6WK54T.js +1 -0
- package/dist/chunk-AHGPPFCQ.js +1 -0
- package/dist/{chunk-2XAO2OYD.js → chunk-ATBINUDP.js} +1 -1
- package/dist/chunk-CLO5HM7B.js +1 -0
- package/dist/chunk-DV3LCXRH.js +1 -0
- package/dist/chunk-DZUJWPQ3.js +8 -0
- package/dist/chunk-EULV7RV7.js +5 -0
- package/dist/{chunk-LCWHZUZZ.js → chunk-NDNMIXDC.js} +1 -1
- package/dist/{chunk-BETAO4PB.js → chunk-PPNBQWSR.js} +1 -1
- package/dist/{chunk-UKNEQJZX.js → chunk-RG5EZWTN.js} +1 -1
- package/dist/chunk-RTJM32XN.js +5 -0
- package/dist/chunk-X3GRUJWS.js +1 -0
- package/dist/cli-core.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/constants.js +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/access-keys/assign.js +1 -2
- package/dist/lib/access-keys/create.js +1 -2
- package/dist/lib/access-keys/delete.js +1 -2
- package/dist/lib/access-keys/get.js +1 -2
- package/dist/lib/access-keys/list.js +1 -2
- package/dist/lib/buckets/create.js +1 -1
- package/dist/lib/buckets/delete.js +1 -1
- package/dist/lib/buckets/get.js +1 -1
- package/dist/lib/buckets/list.js +1 -1
- package/dist/lib/buckets/set-cors.js +1 -1
- package/dist/lib/buckets/set-locations.js +1 -1
- package/dist/lib/buckets/set-migration.js +1 -1
- package/dist/lib/buckets/set-notifications.js +1 -1
- package/dist/lib/buckets/set-transition.js +1 -1
- package/dist/lib/buckets/set-ttl.js +1 -1
- package/dist/lib/buckets/set.js +1 -1
- package/dist/lib/configure/index.js +1 -1
- package/dist/lib/cp.js +1 -1
- package/dist/lib/credentials/test.js +1 -1
- package/dist/lib/forks/create.js +1 -1
- package/dist/lib/forks/list.js +1 -1
- package/dist/lib/iam/policies/create.js +1 -2
- package/dist/lib/iam/policies/delete.js +1 -2
- package/dist/lib/iam/policies/edit.js +1 -2
- package/dist/lib/iam/policies/get.js +1 -2
- package/dist/lib/iam/policies/list.js +1 -2
- package/dist/lib/iam/users/invite.js +1 -5
- package/dist/lib/iam/users/list.js +4 -8
- package/dist/lib/iam/users/remove.js +1 -5
- package/dist/lib/iam/users/revoke-invitation.js +1 -5
- package/dist/lib/iam/users/update-role.js +1 -5
- package/dist/lib/login/credentials.js +1 -1
- package/dist/lib/login/oauth.js +1 -1
- package/dist/lib/login/select.js +1 -1
- package/dist/lib/logout.js +1 -1
- package/dist/lib/ls.js +1 -1
- package/dist/lib/mk.js +1 -1
- package/dist/lib/mv.js +1 -1
- package/dist/lib/objects/delete.js +1 -1
- package/dist/lib/objects/get.js +1 -1
- package/dist/lib/objects/list.js +1 -1
- package/dist/lib/objects/put.js +1 -1
- package/dist/lib/objects/set.js +1 -1
- package/dist/lib/organizations/create.js +2 -5
- package/dist/lib/organizations/list.js +1 -4
- package/dist/lib/organizations/select.js +3 -6
- package/dist/lib/presign.js +1 -1
- package/dist/lib/rm.js +1 -1
- package/dist/lib/snapshots/list.js +1 -1
- package/dist/lib/snapshots/take.js +1 -1
- package/dist/lib/stat.js +1 -1
- package/dist/lib/touch.js +1 -1
- package/dist/lib/update.js +1 -0
- package/dist/lib/whoami.js +2 -2
- package/dist/specs.yaml +82 -208
- package/dist/utils/errors.js +1 -0
- package/dist/utils/exit.js +1 -0
- package/dist/utils/messages.js +1 -1
- package/dist/utils/options.js +1 -1
- package/dist/utils/path.js +1 -1
- package/dist/utils/specs.js +1 -1
- package/dist/utils/update-check.js +1 -1
- package/package.json +25 -15
- package/dist/auth/config.js +0 -1
- package/dist/auth/s3-client.js +0 -1
- package/dist/auth/types.js +0 -0
- package/dist/chunk-2F6KRYMD.js +0 -4
- package/dist/chunk-2HWTMFLS.js +0 -8
- package/dist/chunk-BQX7MWWL.js +0 -2
- package/dist/chunk-CQDWZKYG.js +0 -2
- package/dist/chunk-DOUR5YEY.js +0 -1
- package/dist/chunk-E4MLGABW.js +0 -1
- package/dist/chunk-GZ7JBHFT.js +0 -1
- package/dist/chunk-JRALYIRA.js +0 -1
- package/dist/chunk-KH63ANUX.js +0 -1
- package/dist/chunk-PUTZ24A6.js +0 -1
- package/dist/chunk-S7W2ICW6.js +0 -9
package/dist/specs.yaml
CHANGED
|
@@ -86,6 +86,19 @@ definitions:
|
|
|
86
86
|
|
|
87
87
|
access_options: &access_options [public, private]
|
|
88
88
|
|
|
89
|
+
global_arguments: &global_arguments
|
|
90
|
+
- name: format
|
|
91
|
+
description: Output format
|
|
92
|
+
options: [json, table]
|
|
93
|
+
default: table
|
|
94
|
+
- name: json
|
|
95
|
+
description: Output as JSON
|
|
96
|
+
type: flag
|
|
97
|
+
- name: yes
|
|
98
|
+
description: Skip confirmation prompts
|
|
99
|
+
type: flag
|
|
100
|
+
alias: "y"
|
|
101
|
+
|
|
89
102
|
commands:
|
|
90
103
|
#########################
|
|
91
104
|
# Authentication
|
|
@@ -101,6 +114,11 @@ commands:
|
|
|
101
114
|
onStart: 'Saving credentials...'
|
|
102
115
|
onSuccess: 'Credentials saved to ~/.tigris/config.json. You can now use all tigris commands.'
|
|
103
116
|
onFailure: 'Failed to save credentials'
|
|
117
|
+
nextActions:
|
|
118
|
+
- command: 'tigris credentials test'
|
|
119
|
+
description: 'Verify your credentials are working'
|
|
120
|
+
- command: 'tigris ls'
|
|
121
|
+
description: 'List your buckets'
|
|
104
122
|
arguments:
|
|
105
123
|
- name: access-key
|
|
106
124
|
description: Your Tigris access key ID
|
|
@@ -156,6 +174,11 @@ commands:
|
|
|
156
174
|
onFailure: 'Authentication failed'
|
|
157
175
|
onAlreadyDone: "Already logged in.\nRun \"tigris logout\" first to switch accounts."
|
|
158
176
|
hint: "You have {{count}} organizations.\nRun \"tigris orgs list\" to switch."
|
|
177
|
+
nextActions:
|
|
178
|
+
- command: 'tigris orgs list'
|
|
179
|
+
description: 'List and switch organizations'
|
|
180
|
+
- command: 'tigris ls'
|
|
181
|
+
description: 'List your buckets'
|
|
159
182
|
# credentials
|
|
160
183
|
- name: credentials
|
|
161
184
|
description: Login with an access key and secret. Creates a temporary session that is cleared on logout
|
|
@@ -167,6 +190,9 @@ commands:
|
|
|
167
190
|
onStart: 'Authenticating...'
|
|
168
191
|
onSuccess: 'Logged in with credentials'
|
|
169
192
|
onFailure: 'Authentication failed'
|
|
193
|
+
nextActions:
|
|
194
|
+
- command: 'tigris ls'
|
|
195
|
+
description: 'List your buckets'
|
|
170
196
|
arguments:
|
|
171
197
|
- name: access-key
|
|
172
198
|
description: Your access key ID (will prompt if not provided)
|
|
@@ -189,15 +215,16 @@ commands:
|
|
|
189
215
|
onSuccess: ''
|
|
190
216
|
onFailure: 'Failed to get user information'
|
|
191
217
|
onAlreadyDone: "Not authenticated\nRun \"tigris login\" to authenticate"
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
218
|
+
# update
|
|
219
|
+
- name: update
|
|
220
|
+
description: Update the CLI to the latest version
|
|
221
|
+
examples:
|
|
222
|
+
- "tigris update"
|
|
223
|
+
messages:
|
|
224
|
+
onStart: 'Checking for updates...'
|
|
225
|
+
onSuccess: 'Updated to {{latestVersion}}'
|
|
226
|
+
onFailure: 'Failed to update'
|
|
227
|
+
onAlreadyDone: 'Already on the latest version ({{currentVersion}})'
|
|
201
228
|
|
|
202
229
|
# logout
|
|
203
230
|
- name: logout
|
|
@@ -232,14 +259,6 @@ commands:
|
|
|
232
259
|
description: Bucket name to test access against (optional)
|
|
233
260
|
alias: b
|
|
234
261
|
required: false
|
|
235
|
-
- name: format
|
|
236
|
-
description: Output format
|
|
237
|
-
alias: f
|
|
238
|
-
options: [json, table]
|
|
239
|
-
default: table
|
|
240
|
-
- name: json
|
|
241
|
-
description: Output as JSON
|
|
242
|
-
type: flag
|
|
243
262
|
|
|
244
263
|
|
|
245
264
|
#########################
|
|
@@ -271,12 +290,8 @@ commands:
|
|
|
271
290
|
alias: snapshot
|
|
272
291
|
- name: format
|
|
273
292
|
description: Output format
|
|
274
|
-
alias: f
|
|
275
293
|
options: [json, table, xml]
|
|
276
294
|
default: table
|
|
277
|
-
- name: json
|
|
278
|
-
description: Output as JSON
|
|
279
|
-
type: flag
|
|
280
295
|
|
|
281
296
|
# mk
|
|
282
297
|
- name: mk
|
|
@@ -340,14 +355,6 @@ commands:
|
|
|
340
355
|
- name: source-snapshot
|
|
341
356
|
description: Fork from a specific snapshot of the source bucket. Accepts a snapshot version string or any UNIX nanosecond-precision timestamp (e.g. 1765889000501544464). Requires --fork-of
|
|
342
357
|
alias: source-snap
|
|
343
|
-
- name: format
|
|
344
|
-
description: Output format
|
|
345
|
-
alias: f
|
|
346
|
-
options: [json, table]
|
|
347
|
-
default: table
|
|
348
|
-
- name: json
|
|
349
|
-
description: Output as JSON
|
|
350
|
-
type: flag
|
|
351
358
|
|
|
352
359
|
# touch
|
|
353
360
|
- name: touch
|
|
@@ -365,14 +372,6 @@ commands:
|
|
|
365
372
|
examples:
|
|
366
373
|
- my-bucket/my-file.txt
|
|
367
374
|
- t3://my-bucket/my-file.txt
|
|
368
|
-
- name: format
|
|
369
|
-
description: Output format
|
|
370
|
-
alias: f
|
|
371
|
-
options: [json, table]
|
|
372
|
-
default: table
|
|
373
|
-
- name: json
|
|
374
|
-
description: Output as JSON
|
|
375
|
-
type: flag
|
|
376
375
|
|
|
377
376
|
# stat
|
|
378
377
|
- name: stat
|
|
@@ -396,12 +395,8 @@ commands:
|
|
|
396
395
|
- t3://my-bucket/my-object.json
|
|
397
396
|
- name: format
|
|
398
397
|
description: Output format
|
|
399
|
-
alias: f
|
|
400
398
|
options: [json, table, xml]
|
|
401
399
|
default: table
|
|
402
|
-
- name: json
|
|
403
|
-
description: Output as JSON
|
|
404
|
-
type: flag
|
|
405
400
|
- name: snapshot-version
|
|
406
401
|
description: Read from a specific bucket snapshot. Accepts a snapshot version string or any UNIX nanosecond-precision timestamp (e.g. 1765889000501544464)
|
|
407
402
|
alias: snapshot
|
|
@@ -439,12 +434,8 @@ commands:
|
|
|
439
434
|
description: Access key ID to use for signing. If not provided, resolved from credentials or prompted interactively
|
|
440
435
|
- name: format
|
|
441
436
|
description: Output format
|
|
442
|
-
alias: f
|
|
443
437
|
options: [url, json]
|
|
444
438
|
default: url
|
|
445
|
-
- name: json
|
|
446
|
-
description: Output as JSON
|
|
447
|
-
type: flag
|
|
448
439
|
|
|
449
440
|
# cp
|
|
450
441
|
- name: cp
|
|
@@ -481,14 +472,6 @@ commands:
|
|
|
481
472
|
type: flag
|
|
482
473
|
alias: r
|
|
483
474
|
description: Copy directories recursively
|
|
484
|
-
- name: format
|
|
485
|
-
description: Output format
|
|
486
|
-
alias: f
|
|
487
|
-
options: [json, table]
|
|
488
|
-
default: table
|
|
489
|
-
- name: json
|
|
490
|
-
description: Output as JSON
|
|
491
|
-
type: flag
|
|
492
475
|
|
|
493
476
|
# mv
|
|
494
477
|
- name: mv
|
|
@@ -523,14 +506,7 @@ commands:
|
|
|
523
506
|
- name: force
|
|
524
507
|
type: flag
|
|
525
508
|
alias: f
|
|
526
|
-
description: Skip confirmation
|
|
527
|
-
- name: format
|
|
528
|
-
description: Output format
|
|
529
|
-
options: [json, table]
|
|
530
|
-
default: table
|
|
531
|
-
- name: json
|
|
532
|
-
description: Output as JSON
|
|
533
|
-
type: flag
|
|
509
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
534
510
|
|
|
535
511
|
# rm
|
|
536
512
|
- name: rm
|
|
@@ -560,14 +536,7 @@ commands:
|
|
|
560
536
|
- name: force
|
|
561
537
|
type: flag
|
|
562
538
|
alias: f
|
|
563
|
-
description: Skip confirmation
|
|
564
|
-
- name: format
|
|
565
|
-
description: Output format
|
|
566
|
-
options: [json, table]
|
|
567
|
-
default: table
|
|
568
|
-
- name: json
|
|
569
|
-
description: Output as JSON
|
|
570
|
-
type: flag
|
|
539
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
571
540
|
|
|
572
541
|
#########################
|
|
573
542
|
# Manage organizations
|
|
@@ -595,12 +564,8 @@ commands:
|
|
|
595
564
|
arguments:
|
|
596
565
|
- name: format
|
|
597
566
|
description: Output format
|
|
598
|
-
alias: f
|
|
599
567
|
options: [json, table, xml, select]
|
|
600
568
|
default: select
|
|
601
|
-
- name: json
|
|
602
|
-
description: Output as JSON
|
|
603
|
-
type: flag
|
|
604
569
|
- name: select
|
|
605
570
|
description: Interactive selection mode
|
|
606
571
|
alias: i
|
|
@@ -615,6 +580,9 @@ commands:
|
|
|
615
580
|
onSuccess: "Organization '{{name}}' created successfully\nOrganization ID: {{id}}"
|
|
616
581
|
onFailure: 'Failed to create organization'
|
|
617
582
|
hint: "Next steps:\n - Select this organization: tigris orgs select {{name}}"
|
|
583
|
+
nextActions:
|
|
584
|
+
- command: 'tigris orgs select {{name}}'
|
|
585
|
+
description: 'Select this organization as active'
|
|
618
586
|
arguments:
|
|
619
587
|
- name: name
|
|
620
588
|
type: positional
|
|
@@ -631,6 +599,11 @@ commands:
|
|
|
631
599
|
onStart: ''
|
|
632
600
|
onSuccess: "Organization '{{name}}' selected"
|
|
633
601
|
onFailure: 'Failed to select organization'
|
|
602
|
+
nextActions:
|
|
603
|
+
- command: 'tigris ls'
|
|
604
|
+
description: 'List your buckets'
|
|
605
|
+
- command: 'tigris buckets create <name>'
|
|
606
|
+
description: 'Create a new bucket'
|
|
634
607
|
arguments:
|
|
635
608
|
- name: name
|
|
636
609
|
type: positional
|
|
@@ -667,12 +640,8 @@ commands:
|
|
|
667
640
|
arguments:
|
|
668
641
|
- name: format
|
|
669
642
|
description: Output format
|
|
670
|
-
alias: f
|
|
671
643
|
options: [json, table, xml]
|
|
672
644
|
default: table
|
|
673
|
-
- name: json
|
|
674
|
-
description: Output as JSON
|
|
675
|
-
type: flag
|
|
676
645
|
- name: forks-of
|
|
677
646
|
description: Only list buckets that are forks of the named source bucket
|
|
678
647
|
# create
|
|
@@ -689,6 +658,11 @@ commands:
|
|
|
689
658
|
onStart: 'Creating bucket...'
|
|
690
659
|
onSuccess: "Bucket '{{name}}' created successfully"
|
|
691
660
|
onFailure: 'Failed to create bucket'
|
|
661
|
+
nextActions:
|
|
662
|
+
- command: 'tigris access-keys create <name>'
|
|
663
|
+
description: 'Create an access key for programmatic access'
|
|
664
|
+
- command: 'tigris cp ./file t3://{{name}}/'
|
|
665
|
+
description: 'Upload files to the new bucket'
|
|
692
666
|
arguments:
|
|
693
667
|
- name: name
|
|
694
668
|
description: Name of the bucket
|
|
@@ -735,14 +709,6 @@ commands:
|
|
|
735
709
|
- name: source-snapshot
|
|
736
710
|
description: Fork from a specific snapshot of the source bucket. Accepts a snapshot version string or any UNIX nanosecond-precision timestamp (e.g. 1765889000501544464). Requires --fork-of
|
|
737
711
|
alias: source-snap
|
|
738
|
-
- name: format
|
|
739
|
-
description: Output format
|
|
740
|
-
alias: f
|
|
741
|
-
options: [json, table]
|
|
742
|
-
default: table
|
|
743
|
-
- name: json
|
|
744
|
-
description: Output as JSON
|
|
745
|
-
type: flag
|
|
746
712
|
# get
|
|
747
713
|
- name: get
|
|
748
714
|
description: Show details for a bucket including access level, region, tier, and custom domain
|
|
@@ -762,23 +728,22 @@ commands:
|
|
|
762
728
|
- my-bucket
|
|
763
729
|
- name: format
|
|
764
730
|
description: Output format
|
|
765
|
-
alias: f
|
|
766
731
|
options: [json, table, xml]
|
|
767
732
|
default: table
|
|
768
|
-
- name: json
|
|
769
|
-
description: Output as JSON
|
|
770
|
-
type: flag
|
|
771
733
|
# delete
|
|
772
734
|
- name: delete
|
|
773
735
|
description: Delete one or more buckets by name. The bucket must be empty or delete-protection must be off
|
|
774
736
|
alias: d
|
|
775
737
|
examples:
|
|
776
|
-
- "tigris buckets delete my-bucket --
|
|
777
|
-
- "tigris buckets delete bucket-a,bucket-b --
|
|
738
|
+
- "tigris buckets delete my-bucket --yes"
|
|
739
|
+
- "tigris buckets delete bucket-a,bucket-b --yes"
|
|
778
740
|
messages:
|
|
779
741
|
onStart: 'Deleting bucket...'
|
|
780
742
|
onSuccess: "Bucket '{{name}}' deleted successfully"
|
|
781
743
|
onFailure: "Failed to delete bucket '{{name}}'"
|
|
744
|
+
nextActions:
|
|
745
|
+
- command: 'tigris ls'
|
|
746
|
+
description: 'List remaining buckets'
|
|
782
747
|
arguments:
|
|
783
748
|
- name: name
|
|
784
749
|
description: Name of the bucket or comma separated list of buckets
|
|
@@ -789,15 +754,7 @@ commands:
|
|
|
789
754
|
- my-bucket
|
|
790
755
|
- name: force
|
|
791
756
|
type: flag
|
|
792
|
-
description: Skip confirmation
|
|
793
|
-
- name: format
|
|
794
|
-
description: Output format
|
|
795
|
-
alias: f
|
|
796
|
-
options: [json, table]
|
|
797
|
-
default: table
|
|
798
|
-
- name: json
|
|
799
|
-
description: Output as JSON
|
|
800
|
-
type: flag
|
|
757
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
801
758
|
# set
|
|
802
759
|
- name: set
|
|
803
760
|
description: Update settings on an existing bucket such as access level, location, caching, or custom domain
|
|
@@ -845,13 +802,6 @@ commands:
|
|
|
845
802
|
- name: enable-additional-headers
|
|
846
803
|
description: Enable additional HTTP headers (X-Content-Type-Options nosniff)
|
|
847
804
|
type: boolean
|
|
848
|
-
- name: format
|
|
849
|
-
description: Output format
|
|
850
|
-
options: [json, table]
|
|
851
|
-
default: table
|
|
852
|
-
- name: json
|
|
853
|
-
description: Output as JSON
|
|
854
|
-
type: flag
|
|
855
805
|
# set-ttl
|
|
856
806
|
- name: set-ttl
|
|
857
807
|
description: Configure object expiration (TTL) on a bucket. Objects expire after a number of days or on a specific date
|
|
@@ -1092,12 +1042,8 @@ commands:
|
|
|
1092
1042
|
- my-bucket
|
|
1093
1043
|
- name: format
|
|
1094
1044
|
description: Output format
|
|
1095
|
-
alias: f
|
|
1096
1045
|
options: [json, table, xml]
|
|
1097
1046
|
default: table
|
|
1098
|
-
- name: json
|
|
1099
|
-
description: Output as JSON
|
|
1100
|
-
type: flag
|
|
1101
1047
|
# create
|
|
1102
1048
|
- name: create
|
|
1103
1049
|
description: (Deprecated, use "buckets create --fork-of") Create a new fork (copy-on-write clone) of the source bucket
|
|
@@ -1159,12 +1105,8 @@ commands:
|
|
|
1159
1105
|
- my-bucket
|
|
1160
1106
|
- name: format
|
|
1161
1107
|
description: Output format
|
|
1162
|
-
alias: f
|
|
1163
1108
|
options: [json, table, xml]
|
|
1164
1109
|
default: table
|
|
1165
|
-
- name: json
|
|
1166
|
-
description: Output as JSON
|
|
1167
|
-
type: flag
|
|
1168
1110
|
# take
|
|
1169
1111
|
- name: take
|
|
1170
1112
|
description: Take a new snapshot of the bucket's current state. Optionally provide a name for the snapshot
|
|
@@ -1227,12 +1169,8 @@ commands:
|
|
|
1227
1169
|
alias: p
|
|
1228
1170
|
- name: format
|
|
1229
1171
|
description: Output format
|
|
1230
|
-
alias: f
|
|
1231
1172
|
options: [json, table, xml]
|
|
1232
1173
|
default: table
|
|
1233
|
-
- name: json
|
|
1234
|
-
description: Output as JSON
|
|
1235
|
-
type: flag
|
|
1236
1174
|
- name: snapshot-version
|
|
1237
1175
|
description: Read from a specific bucket snapshot. Accepts a snapshot version string or any UNIX nanosecond-precision timestamp (e.g. 1765889000501544464)
|
|
1238
1176
|
alias: snapshot
|
|
@@ -1270,14 +1208,6 @@ commands:
|
|
|
1270
1208
|
- name: snapshot-version
|
|
1271
1209
|
description: Read from a specific bucket snapshot. Accepts a snapshot version string or any UNIX nanosecond-precision timestamp (e.g. 1765889000501544464)
|
|
1272
1210
|
alias: snapshot
|
|
1273
|
-
- name: format
|
|
1274
|
-
description: Output format
|
|
1275
|
-
alias: f
|
|
1276
|
-
options: [json, table]
|
|
1277
|
-
default: table
|
|
1278
|
-
- name: json
|
|
1279
|
-
description: Output as JSON
|
|
1280
|
-
type: flag
|
|
1281
1211
|
# put
|
|
1282
1212
|
- name: put
|
|
1283
1213
|
description: Upload a local file as an object. Content-type is auto-detected from extension unless overridden
|
|
@@ -1289,6 +1219,9 @@ commands:
|
|
|
1289
1219
|
onStart: 'Uploading object...'
|
|
1290
1220
|
onSuccess: "Object '{{key}}' uploaded successfully"
|
|
1291
1221
|
onFailure: 'Failed to upload object'
|
|
1222
|
+
nextActions:
|
|
1223
|
+
- command: 'tigris presign {{bucket}}/{{key}}'
|
|
1224
|
+
description: 'Generate a presigned URL for the uploaded object'
|
|
1292
1225
|
arguments:
|
|
1293
1226
|
- name: bucket
|
|
1294
1227
|
description: Name of the bucket
|
|
@@ -1317,23 +1250,22 @@ commands:
|
|
|
1317
1250
|
alias: t
|
|
1318
1251
|
- name: format
|
|
1319
1252
|
description: Output format
|
|
1320
|
-
alias: f
|
|
1321
1253
|
options: [json, table, xml]
|
|
1322
1254
|
default: table
|
|
1323
|
-
- name: json
|
|
1324
|
-
description: Output as JSON
|
|
1325
|
-
type: flag
|
|
1326
1255
|
# delete
|
|
1327
1256
|
- name: delete
|
|
1328
1257
|
description: Delete one or more objects by key from the given bucket
|
|
1329
1258
|
alias: d
|
|
1330
1259
|
examples:
|
|
1331
|
-
- "tigris objects delete my-bucket old-file.txt --
|
|
1332
|
-
- "tigris objects delete my-bucket file-a.txt,file-b.txt --
|
|
1260
|
+
- "tigris objects delete my-bucket old-file.txt --yes"
|
|
1261
|
+
- "tigris objects delete my-bucket file-a.txt,file-b.txt --yes"
|
|
1333
1262
|
messages:
|
|
1334
1263
|
onStart: 'Deleting object...'
|
|
1335
1264
|
onSuccess: "Object '{{key}}' deleted successfully"
|
|
1336
1265
|
onFailure: 'Failed to delete object'
|
|
1266
|
+
nextActions:
|
|
1267
|
+
- command: 'tigris ls {{bucket}}'
|
|
1268
|
+
description: 'List remaining objects in the bucket'
|
|
1337
1269
|
arguments:
|
|
1338
1270
|
- name: bucket
|
|
1339
1271
|
description: Name of the bucket
|
|
@@ -1350,15 +1282,7 @@ commands:
|
|
|
1350
1282
|
- my-file.txt
|
|
1351
1283
|
- name: force
|
|
1352
1284
|
type: flag
|
|
1353
|
-
description: Skip confirmation
|
|
1354
|
-
- name: format
|
|
1355
|
-
description: Output format
|
|
1356
|
-
alias: f
|
|
1357
|
-
options: [json, table]
|
|
1358
|
-
default: table
|
|
1359
|
-
- name: json
|
|
1360
|
-
description: Output as JSON
|
|
1361
|
-
type: flag
|
|
1285
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
1362
1286
|
# set
|
|
1363
1287
|
- name: set
|
|
1364
1288
|
description: Update settings on an existing object such as access level
|
|
@@ -1387,14 +1311,6 @@ commands:
|
|
|
1387
1311
|
- name: new-key
|
|
1388
1312
|
description: Rename the object to a new key
|
|
1389
1313
|
alias: n
|
|
1390
|
-
- name: format
|
|
1391
|
-
description: Output format
|
|
1392
|
-
alias: f
|
|
1393
|
-
options: [json, table]
|
|
1394
|
-
default: table
|
|
1395
|
-
- name: json
|
|
1396
|
-
description: Output as JSON
|
|
1397
|
-
type: flag
|
|
1398
1314
|
|
|
1399
1315
|
#########################
|
|
1400
1316
|
# Manage access keys
|
|
@@ -1420,12 +1336,8 @@ commands:
|
|
|
1420
1336
|
arguments:
|
|
1421
1337
|
- name: format
|
|
1422
1338
|
description: Output format
|
|
1423
|
-
alias: f
|
|
1424
1339
|
options: [json, table, xml]
|
|
1425
1340
|
default: table
|
|
1426
|
-
- name: json
|
|
1427
|
-
description: Output as JSON
|
|
1428
|
-
type: flag
|
|
1429
1341
|
- name: create
|
|
1430
1342
|
description: Create a new access key with the given name. Returns the key ID and secret (shown only once)
|
|
1431
1343
|
alias: c
|
|
@@ -1435,6 +1347,9 @@ commands:
|
|
|
1435
1347
|
onStart: 'Creating access key...'
|
|
1436
1348
|
onSuccess: 'Access key created'
|
|
1437
1349
|
onFailure: 'Failed to create access key'
|
|
1350
|
+
nextActions:
|
|
1351
|
+
- command: 'tigris access-keys assign {{id}} --bucket <bucket> --role Editor'
|
|
1352
|
+
description: 'Assign bucket roles to the new access key'
|
|
1438
1353
|
arguments:
|
|
1439
1354
|
- name: name
|
|
1440
1355
|
description: Name for the access key
|
|
@@ -1442,19 +1357,11 @@ commands:
|
|
|
1442
1357
|
required: true
|
|
1443
1358
|
examples:
|
|
1444
1359
|
- my-key
|
|
1445
|
-
- name: format
|
|
1446
|
-
description: Output format
|
|
1447
|
-
alias: f
|
|
1448
|
-
options: [json, table]
|
|
1449
|
-
default: table
|
|
1450
|
-
- name: json
|
|
1451
|
-
description: Output as JSON
|
|
1452
|
-
type: flag
|
|
1453
1360
|
- name: delete
|
|
1454
1361
|
description: Permanently delete an access key by its ID. This revokes all access immediately
|
|
1455
1362
|
alias: d
|
|
1456
1363
|
examples:
|
|
1457
|
-
- "tigris access-keys delete tid_AaBbCcDdEeFf --
|
|
1364
|
+
- "tigris access-keys delete tid_AaBbCcDdEeFf --yes"
|
|
1458
1365
|
messages:
|
|
1459
1366
|
onStart: 'Deleting access key...'
|
|
1460
1367
|
onSuccess: 'Access key deleted'
|
|
@@ -1468,15 +1375,7 @@ commands:
|
|
|
1468
1375
|
- tid_AaBbCcDdEeFf
|
|
1469
1376
|
- name: force
|
|
1470
1377
|
type: flag
|
|
1471
|
-
description: Skip confirmation
|
|
1472
|
-
- name: format
|
|
1473
|
-
description: Output format
|
|
1474
|
-
alias: f
|
|
1475
|
-
options: [json, table]
|
|
1476
|
-
default: table
|
|
1477
|
-
- name: json
|
|
1478
|
-
description: Output as JSON
|
|
1479
|
-
type: flag
|
|
1378
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
1480
1379
|
- name: get
|
|
1481
1380
|
description: Show details for an access key including its name, creation date, and assigned bucket roles
|
|
1482
1381
|
alias: g
|
|
@@ -1493,14 +1392,6 @@ commands:
|
|
|
1493
1392
|
required: true
|
|
1494
1393
|
examples:
|
|
1495
1394
|
- tid_AaBbCcDdEeFf
|
|
1496
|
-
- name: format
|
|
1497
|
-
description: Output format
|
|
1498
|
-
alias: f
|
|
1499
|
-
options: [json, table]
|
|
1500
|
-
default: table
|
|
1501
|
-
- name: json
|
|
1502
|
-
description: Output as JSON
|
|
1503
|
-
type: flag
|
|
1504
1395
|
- name: assign
|
|
1505
1396
|
description: Assign per-bucket roles to an access key. Pair each --bucket with a --role (Editor or ReadOnly), or use --admin for org-wide access
|
|
1506
1397
|
alias: a
|
|
@@ -1513,6 +1404,9 @@ commands:
|
|
|
1513
1404
|
onStart: 'Assigning bucket roles...'
|
|
1514
1405
|
onSuccess: 'Bucket roles assigned'
|
|
1515
1406
|
onFailure: 'Failed to assign bucket roles'
|
|
1407
|
+
nextActions:
|
|
1408
|
+
- command: 'tigris cp ./file t3://<bucket>/'
|
|
1409
|
+
description: 'Upload files using the assigned access key'
|
|
1516
1410
|
arguments:
|
|
1517
1411
|
- name: id
|
|
1518
1412
|
description: Access key ID
|
|
@@ -1537,14 +1431,6 @@ commands:
|
|
|
1537
1431
|
- name: revoke-roles
|
|
1538
1432
|
description: Revoke all bucket roles from the access key
|
|
1539
1433
|
type: flag
|
|
1540
|
-
- name: format
|
|
1541
|
-
description: Output format
|
|
1542
|
-
alias: f
|
|
1543
|
-
options: [json, table]
|
|
1544
|
-
default: table
|
|
1545
|
-
- name: json
|
|
1546
|
-
description: Output as JSON
|
|
1547
|
-
type: flag
|
|
1548
1434
|
|
|
1549
1435
|
#########################
|
|
1550
1436
|
# IAM - Identity and Access Management
|
|
@@ -1577,12 +1463,8 @@ commands:
|
|
|
1577
1463
|
arguments:
|
|
1578
1464
|
- name: format
|
|
1579
1465
|
description: Output format
|
|
1580
|
-
alias: f
|
|
1581
1466
|
options: [json, table, xml]
|
|
1582
1467
|
default: table
|
|
1583
|
-
- name: json
|
|
1584
|
-
description: Output as JSON
|
|
1585
|
-
type: flag
|
|
1586
1468
|
- name: get
|
|
1587
1469
|
description: Show details for a policy including its document and attached users. If no ARN provided, shows interactive selection
|
|
1588
1470
|
alias: g
|
|
@@ -1603,12 +1485,8 @@ commands:
|
|
|
1603
1485
|
- arn:aws:iam::org_id:policy/my-policy
|
|
1604
1486
|
- name: format
|
|
1605
1487
|
description: Output format
|
|
1606
|
-
alias: f
|
|
1607
1488
|
options: [json, table, xml]
|
|
1608
1489
|
default: table
|
|
1609
|
-
- name: json
|
|
1610
|
-
description: Output as JSON
|
|
1611
|
-
type: flag
|
|
1612
1490
|
- name: create
|
|
1613
1491
|
description: Create a new policy with the given name and policy document. Document can be provided via file, inline JSON, or stdin
|
|
1614
1492
|
alias: c
|
|
@@ -1664,7 +1542,7 @@ commands:
|
|
|
1664
1542
|
alias: d
|
|
1665
1543
|
examples:
|
|
1666
1544
|
- "tigris iam policies delete"
|
|
1667
|
-
- "tigris iam policies delete arn:aws:iam::org_id:policy/my-policy --
|
|
1545
|
+
- "tigris iam policies delete arn:aws:iam::org_id:policy/my-policy --yes"
|
|
1668
1546
|
messages:
|
|
1669
1547
|
onStart: 'Deleting policy...'
|
|
1670
1548
|
onSuccess: "Policy '{{resource}}' deleted"
|
|
@@ -1679,7 +1557,7 @@ commands:
|
|
|
1679
1557
|
- arn:aws:iam::org_id:policy/my-policy
|
|
1680
1558
|
- name: force
|
|
1681
1559
|
type: flag
|
|
1682
|
-
description: Skip confirmation
|
|
1560
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
1683
1561
|
|
|
1684
1562
|
- name: users
|
|
1685
1563
|
description: Manage organization users and invitations
|
|
@@ -1703,12 +1581,8 @@ commands:
|
|
|
1703
1581
|
arguments:
|
|
1704
1582
|
- name: format
|
|
1705
1583
|
description: Output format
|
|
1706
|
-
alias: f
|
|
1707
1584
|
options: [json, table, xml]
|
|
1708
1585
|
default: table
|
|
1709
|
-
- name: json
|
|
1710
|
-
description: Output as JSON
|
|
1711
|
-
type: flag
|
|
1712
1586
|
- name: invite
|
|
1713
1587
|
description: Invite users to the organization by email
|
|
1714
1588
|
alias: i
|
|
@@ -1739,8 +1613,8 @@ commands:
|
|
|
1739
1613
|
alias: ri
|
|
1740
1614
|
examples:
|
|
1741
1615
|
- "tigris iam users revoke-invitation"
|
|
1742
|
-
- "tigris iam users revoke-invitation invitation_id --
|
|
1743
|
-
- "tigris iam users revoke-invitation id1,id2,id3 --
|
|
1616
|
+
- "tigris iam users revoke-invitation invitation_id --yes"
|
|
1617
|
+
- "tigris iam users revoke-invitation id1,id2,id3 --yes"
|
|
1744
1618
|
messages:
|
|
1745
1619
|
onStart: 'Revoking invitation...'
|
|
1746
1620
|
onSuccess: "Invitation(s) revoked"
|
|
@@ -1754,7 +1628,7 @@ commands:
|
|
|
1754
1628
|
multiple: true
|
|
1755
1629
|
- name: force
|
|
1756
1630
|
type: flag
|
|
1757
|
-
description: Skip confirmation
|
|
1631
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
1758
1632
|
- name: update-role
|
|
1759
1633
|
description: Update user roles in the organization. If no user ID provided, shows interactive selection
|
|
1760
1634
|
alias: ur
|
|
@@ -1785,8 +1659,8 @@ commands:
|
|
|
1785
1659
|
alias: rm
|
|
1786
1660
|
examples:
|
|
1787
1661
|
- "tigris iam users remove"
|
|
1788
|
-
- "tigris iam users remove user@example.com --
|
|
1789
|
-
- "tigris iam users remove user@example.com,user@example.net --
|
|
1662
|
+
- "tigris iam users remove user@example.com --yes"
|
|
1663
|
+
- "tigris iam users remove user@example.com,user@example.net --yes"
|
|
1790
1664
|
messages:
|
|
1791
1665
|
onStart: 'Removing user...'
|
|
1792
1666
|
onSuccess: "User(s) removed"
|
|
@@ -1800,4 +1674,4 @@ commands:
|
|
|
1800
1674
|
multiple: true
|
|
1801
1675
|
- name: force
|
|
1802
1676
|
type: flag
|
|
1803
|
-
description: Skip confirmation
|
|
1677
|
+
description: Skip confirmation prompts (alias for --yes)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../chunk-DV3LCXRH.js";export{a as ExitCode,b as classifyError};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d}from"../chunk-3FMWZQ3C.js";import"../chunk-DV3LCXRH.js";import"../chunk-5VDFQRGP.js";import"../chunk-PPNBQWSR.js";export{a as exitWithError,b as failWithError,c as getSuccessNextActions,d as printNextActions};
|
package/dist/utils/messages.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i}from"../chunk-5VDFQRGP.js";import"../chunk-PPNBQWSR.js";export{a as interpolate,i as msg,f as printAlreadyDone,h as printDeprecated,e as printEmpty,d as printFailure,g as printHint,b as printStart,c as printSuccess};
|
package/dist/utils/options.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b}from"../chunk-
|
|
1
|
+
import{a,b,c}from"../chunk-AHGPPFCQ.js";export{b as getFormat,a as getOption,c as parseBoolean};
|
package/dist/utils/path.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i}from"../chunk-NDNMIXDC.js";export{g as globToRegex,d as isPathFolder,a as isRemotePath,i as listAllItems,f as parseAnyPath,c as parsePath,e as parsePaths,b as parseRemotePath,h as wildcardPrefix};
|
package/dist/utils/specs.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e}from"../chunk-PPNBQWSR.js";export{e as buildPromptChoices,d as getArgumentSpec,c as getCommandSpec,b as loadSpecs,a as setSpecs};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b}from"../chunk-
|
|
1
|
+
import{b as a,c as b,d as c,e as d,f as e}from"../chunk-DZUJWPQ3.js";import"../chunk-ATBINUDP.js";export{e as checkForUpdates,d as fetchLatestVersion,c as getUpdateCommand,b as isNewerVersion,a as readUpdateCache};
|