envshed 0.11.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +1 -0
- package/dist/api.d.ts.map +1 -1
- package/dist/api.js +18 -0
- package/dist/api.js.map +1 -1
- package/dist/commands/completions.d.ts.map +1 -1
- package/dist/commands/completions.js +238 -9
- package/dist/commands/completions.js.map +1 -1
- package/dist/commands/definition.d.ts +3 -0
- package/dist/commands/definition.d.ts.map +1 -0
- package/dist/commands/definition.js +135 -0
- package/dist/commands/definition.js.map +1 -0
- package/dist/commands/definition.test.d.ts +2 -0
- package/dist/commands/definition.test.d.ts.map +1 -0
- package/dist/commands/definition.test.js +233 -0
- package/dist/commands/definition.test.js.map +1 -0
- package/dist/commands/env.d.ts.map +1 -1
- package/dist/commands/env.js +183 -7
- package/dist/commands/env.js.map +1 -1
- package/dist/commands/env.test.js +218 -2
- package/dist/commands/env.test.js.map +1 -1
- package/dist/commands/envs.js.map +1 -1
- package/dist/commands/member.d.ts +3 -0
- package/dist/commands/member.d.ts.map +1 -0
- package/dist/commands/member.js +162 -0
- package/dist/commands/member.js.map +1 -0
- package/dist/commands/member.test.d.ts +2 -0
- package/dist/commands/member.test.d.ts.map +1 -0
- package/dist/commands/member.test.js +230 -0
- package/dist/commands/member.test.js.map +1 -0
- package/dist/commands/orgs.d.ts +1 -0
- package/dist/commands/orgs.d.ts.map +1 -1
- package/dist/commands/orgs.js +60 -0
- package/dist/commands/orgs.js.map +1 -1
- package/dist/commands/orgs.test.js +64 -0
- package/dist/commands/orgs.test.js.map +1 -1
- package/dist/commands/project.d.ts +3 -0
- package/dist/commands/project.d.ts.map +1 -0
- package/dist/commands/project.js +129 -0
- package/dist/commands/project.js.map +1 -0
- package/dist/commands/project.test.d.ts +2 -0
- package/dist/commands/project.test.d.ts.map +1 -0
- package/dist/commands/project.test.js +243 -0
- package/dist/commands/project.test.js.map +1 -0
- package/dist/commands/projects.js.map +1 -1
- package/dist/commands/rename-env.d.ts.map +1 -1
- package/dist/commands/rename-env.js +10 -1
- package/dist/commands/rename-env.js.map +1 -1
- package/dist/commands/secret.d.ts +3 -0
- package/dist/commands/secret.d.ts.map +1 -0
- package/dist/commands/secret.js +260 -0
- package/dist/commands/secret.js.map +1 -0
- package/dist/commands/secret.test.d.ts +2 -0
- package/dist/commands/secret.test.d.ts.map +1 -0
- package/dist/commands/secret.test.js +201 -0
- package/dist/commands/secret.test.js.map +1 -0
- package/dist/commands/token.d.ts.map +1 -1
- package/dist/commands/token.js +40 -1
- package/dist/commands/token.js.map +1 -1
- package/dist/commands/token.test.js +72 -2
- package/dist/commands/token.test.js.map +1 -1
- package/dist/commands/webhook.d.ts +3 -0
- package/dist/commands/webhook.d.ts.map +1 -0
- package/dist/commands/webhook.js +202 -0
- package/dist/commands/webhook.js.map +1 -0
- package/dist/commands/webhook.test.d.ts +2 -0
- package/dist/commands/webhook.test.d.ts.map +1 -0
- package/dist/commands/webhook.test.js +259 -0
- package/dist/commands/webhook.test.js.map +1 -0
- package/dist/index.js +15 -4
- package/dist/index.js.map +1 -1
- package/dist/lib/confirm.d.ts +9 -0
- package/dist/lib/confirm.d.ts.map +1 -0
- package/dist/lib/confirm.js +19 -0
- package/dist/lib/confirm.js.map +1 -0
- package/dist/lib/output.d.ts +17 -0
- package/dist/lib/output.d.ts.map +1 -0
- package/dist/lib/output.js +31 -0
- package/dist/lib/output.js.map +1 -0
- package/dist/locales/en.json +194 -3
- package/dist/locales/es.json +194 -3
- package/dist/locales/pt-BR.json +194 -3
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import Table from "cli-table3";
|
|
2
|
+
/**
|
|
3
|
+
* Print data as a table or JSON depending on --output flag.
|
|
4
|
+
* @param headers - Table column headers
|
|
5
|
+
* @param rows - Array of row arrays (same length as headers)
|
|
6
|
+
* @param jsonData - The raw data array to JSON.stringify when --output json
|
|
7
|
+
* @param opts - { output?: "json" }
|
|
8
|
+
*/
|
|
9
|
+
export function formatOutput(headers, rows, jsonData, opts) {
|
|
10
|
+
if (opts.output === "json") {
|
|
11
|
+
console.log(JSON.stringify(jsonData, null, 2));
|
|
12
|
+
return;
|
|
13
|
+
}
|
|
14
|
+
const table = new Table({ head: headers });
|
|
15
|
+
for (const row of rows) {
|
|
16
|
+
table.push(row);
|
|
17
|
+
}
|
|
18
|
+
console.log(table.toString());
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Print a single result as success line or JSON.
|
|
22
|
+
* For create/update/delete responses.
|
|
23
|
+
*/
|
|
24
|
+
export function formatResult(successLine, jsonData, opts) {
|
|
25
|
+
if (opts.output === "json") {
|
|
26
|
+
console.log(JSON.stringify(jsonData, null, 2));
|
|
27
|
+
return;
|
|
28
|
+
}
|
|
29
|
+
console.log(successLine);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=output.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"output.js","sourceRoot":"","sources":["../../src/lib/output.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,YAAY,CAAC;AAM/B;;;;;;GAMG;AACH,MAAM,UAAU,YAAY,CAC1B,OAAiB,EACjB,IAAgB,EAChB,QAAiB,EACjB,IAAsB;IAEtB,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,EAAE,CAAC;QAC3B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC/C,OAAO;IACT,CAAC;IACD,MAAM,KAAK,GAAG,IAAI,KAAK,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAC3C,KAAK,MAAM,GAAG,IAAI,IAAI,EAAE,CAAC;QACvB,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAClB,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC,CAAC;AAChC,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,YAAY,CAC1B,WAAmB,EACnB,QAAiB,EACjB,IAAsB;IAEtB,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,EAAE,CAAC;QAC3B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;QAC/C,OAAO;IACT,CAAC;IACD,OAAO,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC;AAC3B,CAAC"}
|
package/dist/locales/en.json
CHANGED
|
@@ -167,6 +167,22 @@
|
|
|
167
167
|
"headRole": "Role",
|
|
168
168
|
"failed": "Failed: {{message}}"
|
|
169
169
|
},
|
|
170
|
+
"org": {
|
|
171
|
+
"description": "Manage organizations",
|
|
172
|
+
"listDescription": "List all organizations",
|
|
173
|
+
"createDescription": "Create a new organization",
|
|
174
|
+
"none": "No organizations found.",
|
|
175
|
+
"fetching": "Fetching organizations...",
|
|
176
|
+
"creating": "Creating organization...",
|
|
177
|
+
"created": "Organization '{{name}}' created (slug: {{slug}})",
|
|
178
|
+
"headName": "Name",
|
|
179
|
+
"headSlug": "Slug",
|
|
180
|
+
"headRole": "Role",
|
|
181
|
+
"slugOption": "Custom slug (auto-derived from name if omitted)",
|
|
182
|
+
"descriptionOption": "Organization description",
|
|
183
|
+
"planLimitError": "Free organization limit reached. Upgrade to a paid plan to create more organizations.",
|
|
184
|
+
"failed": "Failed: {{message}}"
|
|
185
|
+
},
|
|
170
186
|
"projects": {
|
|
171
187
|
"description": "List projects in an organization",
|
|
172
188
|
"fetching": "Fetching projects...",
|
|
@@ -230,10 +246,18 @@
|
|
|
230
246
|
"activeYes": "yes",
|
|
231
247
|
"activeNo": "no",
|
|
232
248
|
"revokingService": "Revoking service token...",
|
|
233
|
-
"serviceRevoked": "Service token revoked."
|
|
249
|
+
"serviceRevoked": "Service token revoked.",
|
|
250
|
+
"updateDescription": "Update a service token's name, description, or active status",
|
|
251
|
+
"updateIdArg": "Service token ID",
|
|
252
|
+
"updating": "Updating service token...",
|
|
253
|
+
"updated": "Service token '{{name}}' updated",
|
|
254
|
+
"updateNoChanges": "No changes specified. Use --name, --description, or --active/--no-active.",
|
|
255
|
+
"updateActiveOption": "Activate the token",
|
|
256
|
+
"updateActiveNoOption": "Deactivate the token"
|
|
234
257
|
},
|
|
235
258
|
"env": {
|
|
236
|
-
"description": "
|
|
259
|
+
"description": "Manage environments",
|
|
260
|
+
"checkoutDescription": "Switch to a different environment",
|
|
237
261
|
"slugArg": "Environment slug to switch to",
|
|
238
262
|
"verifying": "Verifying environment...",
|
|
239
263
|
"verifyingWorkspace": "Verifying {{path}}...",
|
|
@@ -270,7 +294,28 @@
|
|
|
270
294
|
"createPrompt": "Environment \"{{slug}}\" does not exist. Create it?",
|
|
271
295
|
"creating": "Creating environment {{slug}}...",
|
|
272
296
|
"created": "Created environment {{slug}}",
|
|
273
|
-
"createFailed": "Failed to create environment: {{message}}"
|
|
297
|
+
"createFailed": "Failed to create environment: {{message}}",
|
|
298
|
+
"createDescription": "Create a new environment",
|
|
299
|
+
"updateDescription": "Update an environment's name or description",
|
|
300
|
+
"deleteDescription": "Delete an environment",
|
|
301
|
+
"updateSlugArg": "Environment slug to update",
|
|
302
|
+
"deleteSlugArg": "Environment slug to delete",
|
|
303
|
+
"nameOption": "New environment name",
|
|
304
|
+
"descriptionOption": "Environment description",
|
|
305
|
+
"noChanges": "No changes specified. Use --name or --description.",
|
|
306
|
+
"creating_cmd": "Creating environment...",
|
|
307
|
+
"created_cmd": "Environment '{{name}}' created (slug: {{slug}})",
|
|
308
|
+
"updating_cmd": "Updating environment...",
|
|
309
|
+
"updated_cmd": "Environment '{{name}}' updated (slug: {{slug}})",
|
|
310
|
+
"deleting_cmd": "Deleting environment...",
|
|
311
|
+
"deleted_cmd": "Environment '{{slug}}' deleted",
|
|
312
|
+
"deleteConfirm": "Are you sure you want to delete environment '{{slug}}'? This cannot be undone.",
|
|
313
|
+
"deleteCancelled": "Delete cancelled.",
|
|
314
|
+
"failed_cmd": "Failed: {{message}}",
|
|
315
|
+
"duplicateDescription": "Duplicate an environment with all its secrets",
|
|
316
|
+
"duplicateSourceArg": "Source environment slug",
|
|
317
|
+
"duplicating": "Duplicating environment...",
|
|
318
|
+
"duplicated": "Environment '{{name}}' duplicated (slug: {{slug}})"
|
|
274
319
|
},
|
|
275
320
|
"branch": {
|
|
276
321
|
"description": "Show the current environment context",
|
|
@@ -392,9 +437,155 @@
|
|
|
392
437
|
"summary": "{{added}} added, {{removed}} removed, {{changed}} changed",
|
|
393
438
|
"showValuesWarning": "Warning: secret values are visible in this output. Do not share or log this output."
|
|
394
439
|
},
|
|
440
|
+
"output": {
|
|
441
|
+
"jsonOption": "Output format (json)",
|
|
442
|
+
"yesOption": "Skip confirmation prompts"
|
|
443
|
+
},
|
|
444
|
+
"project": {
|
|
445
|
+
"description": "Manage projects",
|
|
446
|
+
"listDescription": "List all projects in an organization",
|
|
447
|
+
"createDescription": "Create a new project",
|
|
448
|
+
"updateDescription": "Update a project",
|
|
449
|
+
"deleteDescription": "Delete a project",
|
|
450
|
+
"slugArg": "Project slug",
|
|
451
|
+
"nameOption": "New project name",
|
|
452
|
+
"descriptionOption": "Project description",
|
|
453
|
+
"fetching": "Fetching projects...",
|
|
454
|
+
"none": "No projects found.",
|
|
455
|
+
"failed": "Failed to fetch projects: {{message}}",
|
|
456
|
+
"creating": "Creating project...",
|
|
457
|
+
"created": "Project '{{name}}' created (slug: {{slug}})",
|
|
458
|
+
"updating": "Updating project...",
|
|
459
|
+
"updated": "Project '{{name}}' updated (slug: {{slug}})",
|
|
460
|
+
"deleting": "Deleting project...",
|
|
461
|
+
"deleted": "Project '{{slug}}' deleted",
|
|
462
|
+
"deleteConfirm": "Are you sure you want to delete project '{{slug}}'? This cannot be undone.",
|
|
463
|
+
"deleteCancelled": "Delete cancelled.",
|
|
464
|
+
"noChanges": "No changes specified. Use --name or --description."
|
|
465
|
+
},
|
|
395
466
|
"api": {
|
|
396
467
|
"error": "API error ({{status}}): {{text}}"
|
|
397
468
|
},
|
|
469
|
+
"secret": {
|
|
470
|
+
"description": "Manage individual secrets",
|
|
471
|
+
"getDescription": "Get the value of a secret by key",
|
|
472
|
+
"setDescription": "Set or update a secret value",
|
|
473
|
+
"deleteDescription": "Delete a secret by key",
|
|
474
|
+
"keyArg": "Secret key name",
|
|
475
|
+
"placeholderOption": "Mark the secret as a placeholder",
|
|
476
|
+
"ttyWarning": "Tip: pipe to clipboard or file to avoid terminal history exposure",
|
|
477
|
+
"valuePrompt": "Value for {{key}}",
|
|
478
|
+
"getting": "Fetching secret...",
|
|
479
|
+
"setting": "Setting secret...",
|
|
480
|
+
"deleting": "Deleting secret...",
|
|
481
|
+
"set_ok": "Secret {{key}} updated",
|
|
482
|
+
"deleted": "Secret {{key}} deleted",
|
|
483
|
+
"deleteConfirm": "Delete secret {{key}}?",
|
|
484
|
+
"deleteCancelled": "Delete cancelled",
|
|
485
|
+
"failed": "Failed: {{message}}",
|
|
486
|
+
"override": {
|
|
487
|
+
"description": "Manage personal secret overrides",
|
|
488
|
+
"setDescription": "Set a personal override for a secret",
|
|
489
|
+
"removeDescription": "Remove your personal override for a secret",
|
|
490
|
+
"valuePrompt": "Override value for {{key}}",
|
|
491
|
+
"setting": "Setting override...",
|
|
492
|
+
"removing": "Removing override...",
|
|
493
|
+
"set_ok": "Override for {{key}} saved",
|
|
494
|
+
"removed": "Override for {{key}} removed",
|
|
495
|
+
"removeConfirm": "Remove override for {{key}}?",
|
|
496
|
+
"removeCancelled": "Remove cancelled"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"definition": {
|
|
500
|
+
"description": "Manage secret definitions",
|
|
501
|
+
"listDescription": "List all secret definitions for a project",
|
|
502
|
+
"createDescription": "Create a new secret definition",
|
|
503
|
+
"updateDescription": "Update a secret definition",
|
|
504
|
+
"deleteDescription": "Delete a secret definition",
|
|
505
|
+
"keyArg": "Secret key name",
|
|
506
|
+
"descriptionOption": "Definition description",
|
|
507
|
+
"requiredOption": "Mark the secret as required",
|
|
508
|
+
"none": "No definitions found.",
|
|
509
|
+
"fetching": "Fetching definitions...",
|
|
510
|
+
"creating": "Creating definition...",
|
|
511
|
+
"creating_cmd": "Creating definition...",
|
|
512
|
+
"updating": "Updating definition...",
|
|
513
|
+
"updating_cmd": "Updating definition...",
|
|
514
|
+
"deleting": "Deleting definition...",
|
|
515
|
+
"deleting_cmd": "Deleting definition...",
|
|
516
|
+
"created": "Definition '{{key}}' created",
|
|
517
|
+
"updated": "Definition '{{key}}' updated",
|
|
518
|
+
"deleted": "Definition '{{key}}' deleted",
|
|
519
|
+
"deleteConfirm": "Are you sure you want to delete definition '{{key}}'? This cannot be undone.",
|
|
520
|
+
"deleteWarning": "Warning: deleting definition '{{key}}' will remove schema documentation for any active secrets with this key.",
|
|
521
|
+
"deleteCancelled": "Delete cancelled.",
|
|
522
|
+
"noChanges": "No changes specified. Use --description or --required/--no-required.",
|
|
523
|
+
"failed": "Failed: {{message}}",
|
|
524
|
+
"headKey": "Key",
|
|
525
|
+
"headDescription": "Description",
|
|
526
|
+
"headRequired": "Required"
|
|
527
|
+
},
|
|
528
|
+
"member": {
|
|
529
|
+
"description": "Manage org members",
|
|
530
|
+
"listDescription": "List all members in an organization",
|
|
531
|
+
"inviteDescription": "Invite a new member to the organization",
|
|
532
|
+
"roleDescription": "Change a member's role",
|
|
533
|
+
"removeDescription": "Remove a member from the organization",
|
|
534
|
+
"emailArg": "Member email address",
|
|
535
|
+
"roleOption": "Member role (owner, admin, member, viewer)",
|
|
536
|
+
"fetching": "Fetching members...",
|
|
537
|
+
"none": "No members found.",
|
|
538
|
+
"inviting": "Inviting member...",
|
|
539
|
+
"invited": "Invitation sent to {{email}} with role '{{role}}'",
|
|
540
|
+
"changingRole": "Updating role...",
|
|
541
|
+
"roleChanged": "Role for {{email}} updated to '{{role}}'",
|
|
542
|
+
"removing": "Removing member...",
|
|
543
|
+
"removed": "{{email}} removed from the organization",
|
|
544
|
+
"removeConfirm": "Are you sure you want to remove {{email}} from the organization?",
|
|
545
|
+
"removeCancelled": "Remove cancelled.",
|
|
546
|
+
"notFound": "No member found with email {{email}}",
|
|
547
|
+
"planLimitError": "Upgrade your plan to invite more members",
|
|
548
|
+
"failed": "Failed: {{message}}",
|
|
549
|
+
"headEmail": "Email",
|
|
550
|
+
"headName": "Name",
|
|
551
|
+
"headRole": "Role",
|
|
552
|
+
"headJoined": "Joined"
|
|
553
|
+
},
|
|
554
|
+
"webhook": {
|
|
555
|
+
"description": "Manage webhooks",
|
|
556
|
+
"listDescription": "List all webhooks for an organization",
|
|
557
|
+
"createDescription": "Create a new webhook",
|
|
558
|
+
"updateDescription": "Update a webhook",
|
|
559
|
+
"deleteDescription": "Delete a webhook",
|
|
560
|
+
"testDescription": "Send a test event to a webhook",
|
|
561
|
+
"idArg": "Webhook ID",
|
|
562
|
+
"nameOption": "Webhook name",
|
|
563
|
+
"urlOption": "Webhook URL",
|
|
564
|
+
"eventsOption": "Comma-separated list of events (e.g. push,delete)",
|
|
565
|
+
"typeOption": "Webhook type (default: http)",
|
|
566
|
+
"activeOption": "Enable or disable the webhook",
|
|
567
|
+
"none": "No webhooks found.",
|
|
568
|
+
"fetching": "Fetching webhooks...",
|
|
569
|
+
"creating": "Creating webhook...",
|
|
570
|
+
"updating": "Updating webhook...",
|
|
571
|
+
"deleting": "Deleting webhook...",
|
|
572
|
+
"testing": "Testing webhook...",
|
|
573
|
+
"created": "Webhook created (id: {{id}})",
|
|
574
|
+
"updated": "Webhook {{id}} updated",
|
|
575
|
+
"deleted": "Webhook {{id}} deleted",
|
|
576
|
+
"secretWarning": "Save this signing secret — it will not be shown again:",
|
|
577
|
+
"missingCreateArgs": "--name, --url, and --events are required",
|
|
578
|
+
"noChanges": "No changes specified. Use --name, --url, --events, or --active/--no-active.",
|
|
579
|
+
"deleteConfirm": "Are you sure you want to delete webhook {{id}}? This cannot be undone.",
|
|
580
|
+
"deleteCancelled": "Delete cancelled.",
|
|
581
|
+
"testResult": "Status: {{status}} Latency: {{latency}}ms",
|
|
582
|
+
"failed": "Failed: {{message}}",
|
|
583
|
+
"headId": "ID",
|
|
584
|
+
"headName": "Name",
|
|
585
|
+
"headUrl": "URL",
|
|
586
|
+
"headEvents": "Events",
|
|
587
|
+
"headActive": "Active"
|
|
588
|
+
},
|
|
398
589
|
"import": {
|
|
399
590
|
"description": "Import secrets from a file (.env, JSON, YAML, CSV)",
|
|
400
591
|
"fileArg": "File to import (.env, .json, .yaml, .yml, .csv)",
|
package/dist/locales/es.json
CHANGED
|
@@ -167,6 +167,22 @@
|
|
|
167
167
|
"headRole": "Rol",
|
|
168
168
|
"failed": "Falló: {{message}}"
|
|
169
169
|
},
|
|
170
|
+
"org": {
|
|
171
|
+
"description": "Administrar organizaciones",
|
|
172
|
+
"listDescription": "Listar todas las organizaciones",
|
|
173
|
+
"createDescription": "Crear una nueva organizacion",
|
|
174
|
+
"none": "No se encontraron organizaciones.",
|
|
175
|
+
"fetching": "Obteniendo organizaciones...",
|
|
176
|
+
"creating": "Creando organizacion...",
|
|
177
|
+
"created": "Organizacion '{{name}}' creada (slug: {{slug}})",
|
|
178
|
+
"headName": "Nombre",
|
|
179
|
+
"headSlug": "Slug",
|
|
180
|
+
"headRole": "Rol",
|
|
181
|
+
"slugOption": "Slug personalizado (se genera automaticamente a partir del nombre si se omite)",
|
|
182
|
+
"descriptionOption": "Descripcion de la organizacion",
|
|
183
|
+
"planLimitError": "Limite de organizaciones gratuitas alcanzado. Actualice a un plan de pago para crear mas organizaciones.",
|
|
184
|
+
"failed": "Fallo: {{message}}"
|
|
185
|
+
},
|
|
170
186
|
"projects": {
|
|
171
187
|
"description": "Listar proyectos en una organización",
|
|
172
188
|
"fetching": "Obteniendo proyectos...",
|
|
@@ -230,10 +246,18 @@
|
|
|
230
246
|
"activeYes": "sí",
|
|
231
247
|
"activeNo": "no",
|
|
232
248
|
"revokingService": "Revocando token de servicio...",
|
|
233
|
-
"serviceRevoked": "Token de servicio revocado."
|
|
249
|
+
"serviceRevoked": "Token de servicio revocado.",
|
|
250
|
+
"updateDescription": "Actualizar el nombre, descripción o estado activo de un token de servicio",
|
|
251
|
+
"updateIdArg": "ID del token de servicio",
|
|
252
|
+
"updating": "Actualizando token de servicio...",
|
|
253
|
+
"updated": "Token de servicio '{{name}}' actualizado",
|
|
254
|
+
"updateNoChanges": "No se especificaron cambios. Usa --name, --description o --active/--no-active.",
|
|
255
|
+
"updateActiveOption": "Activar el token",
|
|
256
|
+
"updateActiveNoOption": "Desactivar el token"
|
|
234
257
|
},
|
|
235
258
|
"env": {
|
|
236
|
-
"description": "
|
|
259
|
+
"description": "Gestionar entornos",
|
|
260
|
+
"checkoutDescription": "Cambiar a un entorno diferente",
|
|
237
261
|
"slugArg": "Slug del entorno al que cambiar",
|
|
238
262
|
"verifying": "Verificando entorno...",
|
|
239
263
|
"verifyingWorkspace": "Verificando {{path}}...",
|
|
@@ -270,7 +294,28 @@
|
|
|
270
294
|
"createPrompt": "El entorno \"{{slug}}\" no existe. ¿Crearlo?",
|
|
271
295
|
"creating": "Creando entorno {{slug}}...",
|
|
272
296
|
"created": "Entorno {{slug}} creado",
|
|
273
|
-
"createFailed": "Error al crear el entorno: {{message}}"
|
|
297
|
+
"createFailed": "Error al crear el entorno: {{message}}",
|
|
298
|
+
"createDescription": "Crear un nuevo entorno",
|
|
299
|
+
"updateDescription": "Actualizar el nombre o descripcion de un entorno",
|
|
300
|
+
"deleteDescription": "Eliminar un entorno",
|
|
301
|
+
"updateSlugArg": "Slug del entorno a actualizar",
|
|
302
|
+
"deleteSlugArg": "Slug del entorno a eliminar",
|
|
303
|
+
"nameOption": "Nuevo nombre del entorno",
|
|
304
|
+
"descriptionOption": "Descripcion del entorno",
|
|
305
|
+
"noChanges": "No se especificaron cambios. Usa --name o --description.",
|
|
306
|
+
"creating_cmd": "Creando entorno...",
|
|
307
|
+
"created_cmd": "Entorno '{{name}}' creado (slug: {{slug}})",
|
|
308
|
+
"updating_cmd": "Actualizando entorno...",
|
|
309
|
+
"updated_cmd": "Entorno '{{name}}' actualizado (slug: {{slug}})",
|
|
310
|
+
"deleting_cmd": "Eliminando entorno...",
|
|
311
|
+
"deleted_cmd": "Entorno '{{slug}}' eliminado",
|
|
312
|
+
"deleteConfirm": "¿Estas seguro de que deseas eliminar el entorno '{{slug}}'? Esto no se puede deshacer.",
|
|
313
|
+
"deleteCancelled": "Eliminacion cancelada.",
|
|
314
|
+
"failed_cmd": "Fallo: {{message}}",
|
|
315
|
+
"duplicateDescription": "Duplicar un entorno con todos sus secretos",
|
|
316
|
+
"duplicateSourceArg": "Slug del entorno de origen",
|
|
317
|
+
"duplicating": "Duplicando entorno...",
|
|
318
|
+
"duplicated": "Entorno '{{name}}' duplicado (slug: {{slug}})"
|
|
274
319
|
},
|
|
275
320
|
"branch": {
|
|
276
321
|
"description": "Mostrar el contexto del entorno actual",
|
|
@@ -392,9 +437,125 @@
|
|
|
392
437
|
"summary": "{{added}} agregados, {{removed}} eliminados, {{changed}} modificados",
|
|
393
438
|
"showValuesWarning": "Advertencia: los valores de los secretos son visibles en esta salida. No compartas ni registres esta salida."
|
|
394
439
|
},
|
|
440
|
+
"output": {
|
|
441
|
+
"jsonOption": "Formato de salida (json)",
|
|
442
|
+
"yesOption": "Omitir confirmaciones"
|
|
443
|
+
},
|
|
444
|
+
"project": {
|
|
445
|
+
"description": "Administrar proyectos",
|
|
446
|
+
"listDescription": "Listar todos los proyectos de una organizacion",
|
|
447
|
+
"createDescription": "Crear un nuevo proyecto",
|
|
448
|
+
"updateDescription": "Actualizar un proyecto",
|
|
449
|
+
"deleteDescription": "Eliminar un proyecto",
|
|
450
|
+
"slugArg": "Slug del proyecto",
|
|
451
|
+
"nameOption": "Nuevo nombre del proyecto",
|
|
452
|
+
"descriptionOption": "Descripción del proyecto",
|
|
453
|
+
"fetching": "Obteniendo proyectos...",
|
|
454
|
+
"none": "No se encontraron proyectos.",
|
|
455
|
+
"failed": "Error al obtener proyectos: {{message}}",
|
|
456
|
+
"creating": "Creando proyecto...",
|
|
457
|
+
"created": "Proyecto '{{name}}' creado (slug: {{slug}})",
|
|
458
|
+
"updating": "Actualizando proyecto...",
|
|
459
|
+
"updated": "Proyecto '{{name}}' actualizado (slug: {{slug}})",
|
|
460
|
+
"deleting": "Eliminando proyecto...",
|
|
461
|
+
"deleted": "Proyecto '{{slug}}' eliminado",
|
|
462
|
+
"deleteConfirm": "¿Estás seguro de que deseas eliminar el proyecto '{{slug}}'? Esta acción no se puede deshacer.",
|
|
463
|
+
"deleteCancelled": "Eliminación cancelada.",
|
|
464
|
+
"noChanges": "No se especificaron cambios. Usa --name o --description."
|
|
465
|
+
},
|
|
395
466
|
"api": {
|
|
396
467
|
"error": "Error de API ({{status}}): {{text}}"
|
|
397
468
|
},
|
|
469
|
+
"definition": {
|
|
470
|
+
"description": "Gestionar definiciones de secretos",
|
|
471
|
+
"listDescription": "Listar todas las definiciones de secretos de un proyecto",
|
|
472
|
+
"createDescription": "Crear una nueva definición de secreto",
|
|
473
|
+
"updateDescription": "Actualizar una definición de secreto",
|
|
474
|
+
"deleteDescription": "Eliminar una definición de secreto",
|
|
475
|
+
"keyArg": "Nombre de la clave del secreto",
|
|
476
|
+
"descriptionOption": "Descripción de la definición",
|
|
477
|
+
"requiredOption": "Marcar el secreto como obligatorio",
|
|
478
|
+
"none": "No se encontraron definiciones.",
|
|
479
|
+
"fetching": "Obteniendo definiciones...",
|
|
480
|
+
"creating": "Creando definición...",
|
|
481
|
+
"creating_cmd": "Creando definición...",
|
|
482
|
+
"updating": "Actualizando definición...",
|
|
483
|
+
"updating_cmd": "Actualizando definición...",
|
|
484
|
+
"deleting": "Eliminando definición...",
|
|
485
|
+
"deleting_cmd": "Eliminando definición...",
|
|
486
|
+
"created": "Definición '{{key}}' creada",
|
|
487
|
+
"updated": "Definición '{{key}}' actualizada",
|
|
488
|
+
"deleted": "Definición '{{key}}' eliminada",
|
|
489
|
+
"deleteConfirm": "¿Estás seguro de que deseas eliminar la definición '{{key}}'? Esta acción no se puede deshacer.",
|
|
490
|
+
"deleteWarning": "Advertencia: eliminar la definición '{{key}}' eliminará la documentación de esquema de cualquier secreto activo con esta clave.",
|
|
491
|
+
"deleteCancelled": "Eliminación cancelada.",
|
|
492
|
+
"noChanges": "No se especificaron cambios. Usa --description o --required/--no-required.",
|
|
493
|
+
"failed": "Falló: {{message}}",
|
|
494
|
+
"headKey": "Clave",
|
|
495
|
+
"headDescription": "Descripción",
|
|
496
|
+
"headRequired": "Obligatorio"
|
|
497
|
+
},
|
|
498
|
+
"member": {
|
|
499
|
+
"description": "Gestionar miembros de la organización",
|
|
500
|
+
"listDescription": "Listar todos los miembros de una organización",
|
|
501
|
+
"inviteDescription": "Invitar a un nuevo miembro a la organización",
|
|
502
|
+
"roleDescription": "Cambiar el rol de un miembro",
|
|
503
|
+
"removeDescription": "Eliminar un miembro de la organización",
|
|
504
|
+
"emailArg": "Correo electrónico del miembro",
|
|
505
|
+
"roleOption": "Rol del miembro (owner, admin, member, viewer)",
|
|
506
|
+
"fetching": "Obteniendo miembros...",
|
|
507
|
+
"none": "No se encontraron miembros.",
|
|
508
|
+
"inviting": "Invitando miembro...",
|
|
509
|
+
"invited": "Invitación enviada a {{email}} con rol '{{role}}'",
|
|
510
|
+
"changingRole": "Actualizando rol...",
|
|
511
|
+
"roleChanged": "Rol de {{email}} actualizado a '{{role}}'",
|
|
512
|
+
"removing": "Eliminando miembro...",
|
|
513
|
+
"removed": "{{email}} eliminado de la organización",
|
|
514
|
+
"removeConfirm": "¿Estás seguro de que deseas eliminar a {{email}} de la organización?",
|
|
515
|
+
"removeCancelled": "Eliminación cancelada.",
|
|
516
|
+
"notFound": "No se encontró ningún miembro con el correo {{email}}",
|
|
517
|
+
"planLimitError": "Actualiza tu plan para invitar más miembros",
|
|
518
|
+
"failed": "Falló: {{message}}",
|
|
519
|
+
"headEmail": "Correo",
|
|
520
|
+
"headName": "Nombre",
|
|
521
|
+
"headRole": "Rol",
|
|
522
|
+
"headJoined": "Se unió"
|
|
523
|
+
},
|
|
524
|
+
"webhook": {
|
|
525
|
+
"description": "Gestionar webhooks",
|
|
526
|
+
"listDescription": "Listar todos los webhooks de una organización",
|
|
527
|
+
"createDescription": "Crear un nuevo webhook",
|
|
528
|
+
"updateDescription": "Actualizar un webhook",
|
|
529
|
+
"deleteDescription": "Eliminar un webhook",
|
|
530
|
+
"testDescription": "Enviar un evento de prueba a un webhook",
|
|
531
|
+
"idArg": "ID del webhook",
|
|
532
|
+
"nameOption": "Nombre del webhook",
|
|
533
|
+
"urlOption": "URL del webhook",
|
|
534
|
+
"eventsOption": "Lista de eventos separados por coma (ej. push,delete)",
|
|
535
|
+
"typeOption": "Tipo de webhook (predeterminado: http)",
|
|
536
|
+
"activeOption": "Activar o desactivar el webhook",
|
|
537
|
+
"none": "No se encontraron webhooks.",
|
|
538
|
+
"fetching": "Obteniendo webhooks...",
|
|
539
|
+
"creating": "Creando webhook...",
|
|
540
|
+
"updating": "Actualizando webhook...",
|
|
541
|
+
"deleting": "Eliminando webhook...",
|
|
542
|
+
"testing": "Probando webhook...",
|
|
543
|
+
"created": "Webhook creado (id: {{id}})",
|
|
544
|
+
"updated": "Webhook {{id}} actualizado",
|
|
545
|
+
"deleted": "Webhook {{id}} eliminado",
|
|
546
|
+
"secretWarning": "Guarda este secreto de firma — no se mostrará de nuevo:",
|
|
547
|
+
"missingCreateArgs": "--name, --url y --events son obligatorios",
|
|
548
|
+
"noChanges": "No se especificaron cambios. Usa --name, --url, --events o --active/--no-active.",
|
|
549
|
+
"deleteConfirm": "¿Estás seguro de que deseas eliminar el webhook {{id}}? Esta acción no se puede deshacer.",
|
|
550
|
+
"deleteCancelled": "Eliminación cancelada.",
|
|
551
|
+
"testResult": "Estado: {{status}} Latencia: {{latency}}ms",
|
|
552
|
+
"failed": "Falló: {{message}}",
|
|
553
|
+
"headId": "ID",
|
|
554
|
+
"headName": "Nombre",
|
|
555
|
+
"headUrl": "URL",
|
|
556
|
+
"headEvents": "Eventos",
|
|
557
|
+
"headActive": "Activo"
|
|
558
|
+
},
|
|
398
559
|
"import": {
|
|
399
560
|
"description": "Importar secretos desde un archivo (.env, JSON, YAML, CSV)",
|
|
400
561
|
"fileArg": "Archivo a importar (.env, .json, .yaml, .yml, .csv)",
|
|
@@ -414,5 +575,35 @@
|
|
|
414
575
|
"imported": "Importados {{total}} secretos a {{target}}: {{new}} nuevos, {{modified}} modificados, {{unchanged}} sin cambios.",
|
|
415
576
|
"importFailed": "Error al importar: {{message}}",
|
|
416
577
|
"forceWarning": "Advertencia: --force activo. Sobrescribiendo secretos existentes sin confirmación."
|
|
578
|
+
},
|
|
579
|
+
"secret": {
|
|
580
|
+
"description": "Gestionar secretos individuales",
|
|
581
|
+
"getDescription": "Obtener el valor de un secreto por clave",
|
|
582
|
+
"setDescription": "Establecer o actualizar el valor de un secreto",
|
|
583
|
+
"deleteDescription": "Eliminar un secreto por clave",
|
|
584
|
+
"keyArg": "Nombre de la clave del secreto",
|
|
585
|
+
"placeholderOption": "Marcar el secreto como marcador de posición",
|
|
586
|
+
"ttyWarning": "Consejo: redirige a portapapeles o archivo para evitar exposición en el historial del terminal",
|
|
587
|
+
"valuePrompt": "Valor para {{key}}",
|
|
588
|
+
"getting": "Obteniendo secreto...",
|
|
589
|
+
"setting": "Estableciendo secreto...",
|
|
590
|
+
"deleting": "Eliminando secreto...",
|
|
591
|
+
"set_ok": "Secreto {{key}} actualizado",
|
|
592
|
+
"deleted": "Secreto {{key}} eliminado",
|
|
593
|
+
"deleteConfirm": "¿Eliminar secreto {{key}}?",
|
|
594
|
+
"deleteCancelled": "Eliminación cancelada",
|
|
595
|
+
"failed": "Falló: {{message}}",
|
|
596
|
+
"override": {
|
|
597
|
+
"description": "Gestionar anulaciones personales de secretos",
|
|
598
|
+
"setDescription": "Establecer una anulación personal para un secreto",
|
|
599
|
+
"removeDescription": "Eliminar tu anulación personal para un secreto",
|
|
600
|
+
"valuePrompt": "Valor de anulación para {{key}}",
|
|
601
|
+
"setting": "Estableciendo anulación...",
|
|
602
|
+
"removing": "Eliminando anulación...",
|
|
603
|
+
"set_ok": "Anulación para {{key}} guardada",
|
|
604
|
+
"removed": "Anulación para {{key}} eliminada",
|
|
605
|
+
"removeConfirm": "¿Eliminar anulación para {{key}}?",
|
|
606
|
+
"removeCancelled": "Eliminación cancelada"
|
|
607
|
+
}
|
|
417
608
|
}
|
|
418
609
|
}
|