@bussolabs/closeyourit-cli 0.0.27 → 0.1.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/opencli.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "opencli": "0.1",
4
4
  "info": {
5
5
  "title": "closeyourit",
6
- "version": "0.0.27",
6
+ "version": "0.1.0",
7
7
  "summary": "CLI for CloseYourIt",
8
8
  "description": "Manage organization, projects, error monitoring, ingest tokens, tickets and performance metrics with your CloseYourIt user token.",
9
9
  "license": {
@@ -438,6 +438,60 @@
438
438
  "closeyourit projects github-update -p LBRA --no-tag-binding-enabled"
439
439
  ]
440
440
  },
441
+ {
442
+ "name": "github-map",
443
+ "description": "List the project to GitHub repository mapping for local automation.",
444
+ "options": [
445
+ {
446
+ "name": "--connected-only",
447
+ "description": "Show only projects connected to a GitHub repository."
448
+ }
449
+ ],
450
+ "examples": [
451
+ "closeyourit projects github-map",
452
+ "closeyourit projects github-map --connected-only",
453
+ "closeyourit projects github-map --connected-only --json"
454
+ ]
455
+ },
456
+ {
457
+ "name": "set-environment-capabilities",
458
+ "description": "Override servers, uptime and secrets capabilities for a project environment.",
459
+ "options": [
460
+ {
461
+ "name": "--project",
462
+ "aliases": ["-p"],
463
+ "required": true,
464
+ "description": "Project id (UUID) or key.",
465
+ "arguments": [{"name": "PROJECT", "required": true}]
466
+ },
467
+ {
468
+ "name": "--environment",
469
+ "aliases": ["-e"],
470
+ "required": true,
471
+ "description": "Environment code or id.",
472
+ "arguments": [{"name": "ENVIRONMENT", "required": true}]
473
+ },
474
+ {
475
+ "name": "--servers",
476
+ "description": "Servers capability override.",
477
+ "arguments": [{"name": "inherit|on|off"}]
478
+ },
479
+ {
480
+ "name": "--uptime",
481
+ "description": "Uptime capability override.",
482
+ "arguments": [{"name": "inherit|on|off"}]
483
+ },
484
+ {
485
+ "name": "--secrets",
486
+ "description": "Secrets capability override.",
487
+ "arguments": [{"name": "inherit|on|off"}]
488
+ }
489
+ ],
490
+ "examples": [
491
+ "closeyourit projects set-environment-capabilities -p LBRA -e production --uptime off",
492
+ "closeyourit projects set-environment-capabilities -p legalbloom-rails -e staging --uptime off --secrets inherit"
493
+ ]
494
+ },
441
495
  {
442
496
  "name": "settings",
443
497
  "description": "Project settings (log/analytics retention + feature flags).",
@@ -4530,6 +4584,75 @@
4530
4584
  }
4531
4585
  ]
4532
4586
  },
4587
+ {
4588
+ "name": "environments",
4589
+ "description": "Organization environments and their default capabilities.",
4590
+ "commands": [
4591
+ {
4592
+ "name": "list",
4593
+ "description": "List the environments in your organization.",
4594
+ "options": [
4595
+ {"name": "--page", "description": "Page number.", "arguments": [{"name": "N"}]}
4596
+ ],
4597
+ "examples": [
4598
+ "closeyourit environments list",
4599
+ "closeyourit environments list --page 2 --json"
4600
+ ]
4601
+ },
4602
+ {
4603
+ "name": "create",
4604
+ "description": "Create an environment in your organization.",
4605
+ "arguments": [
4606
+ {"name": "CODE", "required": true, "description": "Environment code (lowercase)."}
4607
+ ],
4608
+ "options": [
4609
+ {"name": "--label", "required": true, "description": "Human-readable label.", "arguments": [{"name": "LABEL", "required": true}]},
4610
+ {"name": "--color", "description": "Color label.", "arguments": [{"name": "COLOR"}]},
4611
+ {"name": "--position", "description": "Sort position.", "arguments": [{"name": "N"}]},
4612
+ {"name": "--active", "description": "Whether the environment is active."},
4613
+ {"name": "--servers", "description": "Servers capability default."},
4614
+ {"name": "--uptime", "description": "Uptime capability default."},
4615
+ {"name": "--secrets", "description": "Secrets capability default."}
4616
+ ],
4617
+ "examples": [
4618
+ "closeyourit environments create production --label Production",
4619
+ "closeyourit environments create staging --label Staging --no-uptime"
4620
+ ]
4621
+ },
4622
+ {
4623
+ "name": "update",
4624
+ "description": "Update an environment and its default capabilities.",
4625
+ "arguments": [
4626
+ {"name": "ENVIRONMENT", "required": true, "description": "Environment id or code."}
4627
+ ],
4628
+ "options": [
4629
+ {"name": "--code", "description": "New code.", "arguments": [{"name": "CODE"}]},
4630
+ {"name": "--label", "description": "New label.", "arguments": [{"name": "LABEL"}]},
4631
+ {"name": "--color", "description": "Color label.", "arguments": [{"name": "COLOR"}]},
4632
+ {"name": "--position", "description": "Sort position.", "arguments": [{"name": "N"}]},
4633
+ {"name": "--active", "description": "Whether the environment is active."},
4634
+ {"name": "--servers", "description": "Servers capability default."},
4635
+ {"name": "--uptime", "description": "Uptime capability default."},
4636
+ {"name": "--secrets", "description": "Secrets capability default."}
4637
+ ],
4638
+ "examples": [
4639
+ "closeyourit environments update staging --label \"Staging env\"",
4640
+ "closeyourit environments update staging --no-uptime --servers"
4641
+ ]
4642
+ },
4643
+ {
4644
+ "name": "delete",
4645
+ "description": "Delete an unreferenced environment.",
4646
+ "arguments": [
4647
+ {"name": "ENVIRONMENT", "required": true, "description": "Environment id or code."}
4648
+ ],
4649
+ "options": [
4650
+ {"name": "--confirm", "required": true, "description": "Confirm the deletion."}
4651
+ ],
4652
+ "examples": ["closeyourit environments delete staging --confirm"]
4653
+ }
4654
+ ]
4655
+ },
4533
4656
  {
4534
4657
  "name": "platforms",
4535
4658
  "description": "Platforms (devices/systems your projects run on).",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bussolabs/closeyourit-cli",
3
- "version": "0.0.27",
3
+ "version": "0.1.0",
4
4
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
5
5
  "publishConfig": {
6
6
  "access": "public"