@bussolabs/closeyourit-cli 0.0.19 → 0.0.20

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.17",
6
+ "version": "0.0.20",
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": {
@@ -351,6 +351,93 @@
351
351
  "closeyourit projects unlink-server <link-id> --project LBRA --confirm"
352
352
  ]
353
353
  },
354
+ {
355
+ "name": "github",
356
+ "description": "Show a project GitHub integration (repo link + tag→release binding rules).",
357
+ "options": [
358
+ {
359
+ "name": "--project",
360
+ "aliases": [
361
+ "-p"
362
+ ],
363
+ "required": true,
364
+ "description": "Project id (UUID) or key.",
365
+ "arguments": [
366
+ {
367
+ "name": "PROJECT",
368
+ "required": true
369
+ }
370
+ ]
371
+ }
372
+ ],
373
+ "examples": [
374
+ "closeyourit projects github --project legalbloom-rails",
375
+ "closeyourit projects github -p LBRA"
376
+ ]
377
+ },
378
+ {
379
+ "name": "github-update",
380
+ "description": "Update a project GitHub binding rules (environment mapping + sync/binding/autoclose flags); only the passed fields change.",
381
+ "options": [
382
+ {
383
+ "name": "--project",
384
+ "aliases": [
385
+ "-p"
386
+ ],
387
+ "required": true,
388
+ "description": "Project id (UUID) or key.",
389
+ "arguments": [
390
+ {
391
+ "name": "PROJECT",
392
+ "required": true
393
+ }
394
+ ]
395
+ },
396
+ {
397
+ "name": "--default-branch",
398
+ "description": "Default base branch used to create branches/PRs.",
399
+ "arguments": [
400
+ {
401
+ "name": "BRANCH"
402
+ }
403
+ ]
404
+ },
405
+ {
406
+ "name": "--production-environment-id",
407
+ "description": "Environment id mapped to STABLE tags (production target).",
408
+ "arguments": [
409
+ {
410
+ "name": "ENV_ID"
411
+ }
412
+ ]
413
+ },
414
+ {
415
+ "name": "--staging-environment-id",
416
+ "description": "Environment id mapped to PRE-RELEASE tags (staging target).",
417
+ "arguments": [
418
+ {
419
+ "name": "ENV_ID"
420
+ }
421
+ ]
422
+ },
423
+ {
424
+ "name": "--sync-enabled",
425
+ "description": "Enable/disable processing of webhook events."
426
+ },
427
+ {
428
+ "name": "--tag-binding-enabled",
429
+ "description": "Enable/disable tag→release live binding."
430
+ },
431
+ {
432
+ "name": "--autoclose-on-merge",
433
+ "description": "Enable/disable moving the ticket to done on PR merge."
434
+ }
435
+ ],
436
+ "examples": [
437
+ "closeyourit projects github-update -p LBRA --production-environment-id <env-uuid>",
438
+ "closeyourit projects github-update -p LBRA --no-tag-binding-enabled"
439
+ ]
440
+ },
354
441
  {
355
442
  "name": "settings",
356
443
  "description": "Project settings (log/analytics retention + feature flags).",
@@ -812,6 +899,68 @@
812
899
  "closeyourit tickets show DRFL-3 -p driverone-flutter --json"
813
900
  ]
814
901
  },
902
+ {
903
+ "name": "branch",
904
+ "description": "Create a GitHub branch from a ticket (name prefixed with the ticket code).",
905
+ "arguments": [
906
+ {
907
+ "name": "ID",
908
+ "description": "Ticket id (UUID) or code (e.g. DRFL-3).",
909
+ "required": true
910
+ }
911
+ ],
912
+ "options": [
913
+ {
914
+ "name": "--project",
915
+ "aliases": [
916
+ "-p"
917
+ ],
918
+ "required": true,
919
+ "description": "Project id (UUID) or key.",
920
+ "arguments": [
921
+ {
922
+ "name": "PROJECT",
923
+ "required": true
924
+ }
925
+ ]
926
+ }
927
+ ],
928
+ "examples": [
929
+ "closeyourit tickets branch DRFL-3 --project driverone-flutter",
930
+ "closeyourit tickets branch DRFL-3 -p driverone-flutter --json"
931
+ ]
932
+ },
933
+ {
934
+ "name": "pr",
935
+ "description": "Open a GitHub pull request from a ticket (head = the ticket branch, title prefixed with the code).",
936
+ "arguments": [
937
+ {
938
+ "name": "ID",
939
+ "description": "Ticket id (UUID) or code (e.g. DRFL-3).",
940
+ "required": true
941
+ }
942
+ ],
943
+ "options": [
944
+ {
945
+ "name": "--project",
946
+ "aliases": [
947
+ "-p"
948
+ ],
949
+ "required": true,
950
+ "description": "Project id (UUID) or key.",
951
+ "arguments": [
952
+ {
953
+ "name": "PROJECT",
954
+ "required": true
955
+ }
956
+ ]
957
+ }
958
+ ],
959
+ "examples": [
960
+ "closeyourit tickets pr DRFL-3 --project driverone-flutter",
961
+ "closeyourit tickets pr DRFL-3 -p driverone-flutter --json"
962
+ ]
963
+ },
815
964
  {
816
965
  "name": "comments",
817
966
  "description": "List all comments of a ticket (oldest first), including attached files.",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bussolabs/closeyourit-cli",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
5
5
  "publishConfig": {
6
6
  "access": "public"