@bussolabs/closeyourit-cli 0.19.0 → 0.21.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/README.md +39 -5
- package/dist/base.d.ts +22 -0
- package/dist/base.js +46 -0
- package/dist/commands/alerts/notifications/read-all.js +3 -0
- package/dist/commands/alerts/preferences/show.js +2 -0
- package/dist/commands/ideas/convert.d.ts +2 -2
- package/dist/commands/ideas/convert.js +25 -8
- package/dist/commands/kb/book/add-page.d.ts +18 -0
- package/dist/commands/kb/book/add-page.js +55 -0
- package/dist/commands/kb/book/list.d.ts +12 -0
- package/dist/commands/kb/book/list.js +33 -0
- package/dist/commands/kb/book/show.d.ts +9 -0
- package/dist/commands/kb/book/show.js +22 -0
- package/dist/commands/kb/create.js +29 -6
- package/dist/commands/kb/publish.d.ts +15 -0
- package/dist/commands/kb/publish.js +106 -0
- package/dist/commands/kb/update.js +26 -5
- package/dist/commands/logout.js +3 -0
- package/dist/commands/org/show.js +2 -0
- package/dist/commands/personal/import.js +2 -2
- package/dist/commands/personal/run.js +1 -1
- package/dist/commands/run.js +1 -1
- package/dist/commands/secrets/import.js +2 -2
- package/dist/commands/seo/ignore.d.ts +12 -0
- package/dist/commands/seo/ignore.js +27 -0
- package/dist/commands/seo/list.d.ts +13 -0
- package/dist/commands/seo/list.js +52 -0
- package/dist/commands/seo/pages.d.ts +11 -0
- package/dist/commands/seo/pages.js +44 -0
- package/dist/commands/seo/promote.d.ts +9 -0
- package/dist/commands/seo/promote.js +22 -0
- package/dist/commands/seo/reopen.d.ts +9 -0
- package/dist/commands/seo/reopen.js +21 -0
- package/dist/commands/seo/rescan.d.ts +9 -0
- package/dist/commands/seo/rescan.js +21 -0
- package/dist/commands/seo/show.d.ts +9 -0
- package/dist/commands/seo/show.js +35 -0
- package/dist/commands/seo-sites/create.d.ts +14 -0
- package/dist/commands/seo-sites/create.js +43 -0
- package/dist/commands/seo-sites/delete.d.ts +9 -0
- package/dist/commands/seo-sites/delete.js +21 -0
- package/dist/commands/seo-sites/list.d.ts +10 -0
- package/dist/commands/seo-sites/list.js +38 -0
- package/dist/commands/seo-sites/update.d.ts +17 -0
- package/dist/commands/seo-sites/update.js +45 -0
- package/dist/commands/tickets/comment.d.ts +14 -3
- package/dist/commands/tickets/comment.js +29 -1
- package/dist/commands/tickets/create.d.ts +6 -6
- package/dist/commands/tickets/create.js +21 -2
- package/dist/commands/tickets/report-show.d.ts +20 -0
- package/dist/commands/tickets/report-show.js +38 -0
- package/dist/commands/tickets/report-versions.d.ts +19 -0
- package/dist/commands/tickets/report-versions.js +40 -0
- package/dist/commands/tickets/report.d.ts +24 -0
- package/dist/commands/tickets/report.js +69 -0
- package/dist/commands/tickets/status.d.ts +1 -1
- package/dist/commands/tickets/status.js +14 -4
- package/dist/commands/tickets/update.d.ts +25 -6
- package/dist/commands/tickets/update.js +144 -9
- package/dist/commands/whoami.js +3 -0
- package/dist/errors/error-codes.d.ts +12 -0
- package/dist/errors/error-codes.js +19 -0
- package/dist/errors/input-error.d.ts +16 -0
- package/dist/errors/input-error.js +42 -0
- package/dist/lib/alert-events.js +1 -0
- package/dist/lib/knowledge.d.ts +24 -0
- package/dist/lib/knowledge.js +68 -0
- package/dist/lib/limits.d.ts +59 -0
- package/dist/lib/limits.js +92 -0
- package/dist/lib/stdin.d.ts +1 -2
- package/dist/lib/stdin.js +1 -2
- package/dist/lib/subprocess.d.ts +1 -1
- package/dist/lib/subprocess.js +1 -1
- package/dist/lib/ticket-body.d.ts +22 -6
- package/dist/lib/ticket-body.js +71 -9
- package/dist/lib/ticket-lookup.d.ts +53 -0
- package/dist/lib/ticket-lookup.js +78 -0
- package/dist/lib/ticket-report.d.ts +7 -0
- package/dist/lib/ticket-report.js +14 -0
- package/oclif.manifest.json +3931 -2876
- package/opencli.json +860 -113
- package/package.json +4 -1
package/opencli.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"opencli": "0.1",
|
|
4
4
|
"info": {
|
|
5
5
|
"title": "closeyourit",
|
|
6
|
-
"version": "0.
|
|
6
|
+
"version": "0.21.0",
|
|
7
7
|
"description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
|
|
8
8
|
"license": {
|
|
9
9
|
"name": "MIT",
|
|
@@ -292,7 +292,8 @@
|
|
|
292
292
|
"server_replication_down",
|
|
293
293
|
"server_replication_up",
|
|
294
294
|
"server_container_restart_loop",
|
|
295
|
-
"server_container_stable"
|
|
295
|
+
"server_container_stable",
|
|
296
|
+
"seo_issue_new"
|
|
296
297
|
]
|
|
297
298
|
}
|
|
298
299
|
]
|
|
@@ -662,7 +663,8 @@
|
|
|
662
663
|
"server_replication_down",
|
|
663
664
|
"server_replication_up",
|
|
664
665
|
"server_container_restart_loop",
|
|
665
|
-
"server_container_stable"
|
|
666
|
+
"server_container_stable",
|
|
667
|
+
"seo_issue_new"
|
|
666
668
|
]
|
|
667
669
|
}
|
|
668
670
|
]
|
|
@@ -1946,7 +1948,7 @@
|
|
|
1946
1948
|
},
|
|
1947
1949
|
{
|
|
1948
1950
|
"name": "--title",
|
|
1949
|
-
"description": "Ticket title (skips AI when set together with --description)",
|
|
1951
|
+
"description": "Ticket title (skips AI when set together with --description, max 255 characters)",
|
|
1950
1952
|
"arguments": [
|
|
1951
1953
|
{
|
|
1952
1954
|
"name": "TITLE",
|
|
@@ -1956,7 +1958,7 @@
|
|
|
1956
1958
|
},
|
|
1957
1959
|
{
|
|
1958
1960
|
"name": "--description",
|
|
1959
|
-
"description": "Ticket description (skips AI when set together with --title)",
|
|
1961
|
+
"description": "Ticket description (skips AI when set together with --title, max 4000 characters)",
|
|
1960
1962
|
"arguments": [
|
|
1961
1963
|
{
|
|
1962
1964
|
"name": "DESCRIPTION",
|
|
@@ -1981,21 +1983,21 @@
|
|
|
1981
1983
|
]
|
|
1982
1984
|
},
|
|
1983
1985
|
{
|
|
1984
|
-
"name": "--status
|
|
1985
|
-
"description": "Status
|
|
1986
|
+
"name": "--status",
|
|
1987
|
+
"description": "Status code, label or id (e.g. open, \"In Progress\") — default: open",
|
|
1986
1988
|
"arguments": [
|
|
1987
1989
|
{
|
|
1988
|
-
"name": "STATUS
|
|
1990
|
+
"name": "STATUS",
|
|
1989
1991
|
"required": true
|
|
1990
1992
|
}
|
|
1991
1993
|
]
|
|
1992
1994
|
},
|
|
1993
1995
|
{
|
|
1994
|
-
"name": "--priority
|
|
1995
|
-
"description": "Priority
|
|
1996
|
+
"name": "--priority",
|
|
1997
|
+
"description": "Priority code, label or id (e.g. medium, High) — default: medium",
|
|
1996
1998
|
"arguments": [
|
|
1997
1999
|
{
|
|
1998
|
-
"name": "PRIORITY
|
|
2000
|
+
"name": "PRIORITY",
|
|
1999
2001
|
"required": true
|
|
2000
2002
|
}
|
|
2001
2003
|
]
|
|
@@ -2461,6 +2463,121 @@
|
|
|
2461
2463
|
"closeyourit kb ask \"what is our retry/backoff policy?\" --json"
|
|
2462
2464
|
]
|
|
2463
2465
|
},
|
|
2466
|
+
{
|
|
2467
|
+
"name": "book",
|
|
2468
|
+
"description": "Knowledge books: ordered collections of pages (summary, add a page)",
|
|
2469
|
+
"commands": [
|
|
2470
|
+
{
|
|
2471
|
+
"name": "add-page",
|
|
2472
|
+
"description": "Add a knowledge page to a book, optionally at a given position in the summary",
|
|
2473
|
+
"options": [
|
|
2474
|
+
{
|
|
2475
|
+
"name": "--page",
|
|
2476
|
+
"description": "Id of the knowledge page to add (an id, not a page number; alias: --page-id)",
|
|
2477
|
+
"required": true,
|
|
2478
|
+
"arguments": [
|
|
2479
|
+
{
|
|
2480
|
+
"name": "PAGE",
|
|
2481
|
+
"required": true
|
|
2482
|
+
}
|
|
2483
|
+
]
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
"name": "--position",
|
|
2487
|
+
"description": "Where to put it in the summary (0 = top; omit to append at the end)",
|
|
2488
|
+
"arguments": [
|
|
2489
|
+
{
|
|
2490
|
+
"name": "POSITION",
|
|
2491
|
+
"required": true
|
|
2492
|
+
}
|
|
2493
|
+
]
|
|
2494
|
+
}
|
|
2495
|
+
],
|
|
2496
|
+
"arguments": [
|
|
2497
|
+
{
|
|
2498
|
+
"name": "ID",
|
|
2499
|
+
"required": true,
|
|
2500
|
+
"description": "Knowledge book id"
|
|
2501
|
+
}
|
|
2502
|
+
],
|
|
2503
|
+
"examples": [
|
|
2504
|
+
"closeyourit kb book add-page <book-id> --page <page-id>",
|
|
2505
|
+
"closeyourit kb book add-page <book-id> --page <page-id> --position 0",
|
|
2506
|
+
"closeyourit kb book add-page <book-id> --page <page-id> --json"
|
|
2507
|
+
]
|
|
2508
|
+
},
|
|
2509
|
+
{
|
|
2510
|
+
"name": "list",
|
|
2511
|
+
"description": "List knowledge books (ordered collections of pages) across the projects you can see",
|
|
2512
|
+
"options": [
|
|
2513
|
+
{
|
|
2514
|
+
"name": "--project",
|
|
2515
|
+
"aliases": [
|
|
2516
|
+
"-p"
|
|
2517
|
+
],
|
|
2518
|
+
"description": "Filter by project (key or UUID)",
|
|
2519
|
+
"arguments": [
|
|
2520
|
+
{
|
|
2521
|
+
"name": "PROJECT",
|
|
2522
|
+
"required": true
|
|
2523
|
+
}
|
|
2524
|
+
]
|
|
2525
|
+
},
|
|
2526
|
+
{
|
|
2527
|
+
"name": "--q",
|
|
2528
|
+
"description": "Filter by title (substring, case-insensitive)",
|
|
2529
|
+
"arguments": [
|
|
2530
|
+
{
|
|
2531
|
+
"name": "Q",
|
|
2532
|
+
"required": true
|
|
2533
|
+
}
|
|
2534
|
+
]
|
|
2535
|
+
},
|
|
2536
|
+
{
|
|
2537
|
+
"name": "--per",
|
|
2538
|
+
"description": "Page size",
|
|
2539
|
+
"arguments": [
|
|
2540
|
+
{
|
|
2541
|
+
"name": "PER",
|
|
2542
|
+
"required": true
|
|
2543
|
+
}
|
|
2544
|
+
]
|
|
2545
|
+
},
|
|
2546
|
+
{
|
|
2547
|
+
"name": "--page",
|
|
2548
|
+
"description": "Page number",
|
|
2549
|
+
"arguments": [
|
|
2550
|
+
{
|
|
2551
|
+
"name": "PAGE",
|
|
2552
|
+
"required": true
|
|
2553
|
+
}
|
|
2554
|
+
]
|
|
2555
|
+
}
|
|
2556
|
+
],
|
|
2557
|
+
"examples": [
|
|
2558
|
+
"closeyourit kb book list",
|
|
2559
|
+
"closeyourit kb book list --project acme-api",
|
|
2560
|
+
"closeyourit kb book list --q deploy --per 50",
|
|
2561
|
+
"closeyourit kb book list --json"
|
|
2562
|
+
]
|
|
2563
|
+
},
|
|
2564
|
+
{
|
|
2565
|
+
"name": "show",
|
|
2566
|
+
"description": "Show a knowledge book: its metadata, then the summary of the pages it collects",
|
|
2567
|
+
"arguments": [
|
|
2568
|
+
{
|
|
2569
|
+
"name": "ID",
|
|
2570
|
+
"required": true,
|
|
2571
|
+
"description": "Knowledge book id"
|
|
2572
|
+
}
|
|
2573
|
+
],
|
|
2574
|
+
"examples": [
|
|
2575
|
+
"closeyourit kb book show <book-id>",
|
|
2576
|
+
"closeyourit kb book show <book-id> --json"
|
|
2577
|
+
]
|
|
2578
|
+
}
|
|
2579
|
+
]
|
|
2580
|
+
},
|
|
2464
2581
|
{
|
|
2465
2582
|
"name": "consolidate",
|
|
2466
2583
|
"description": "Mark an accepted page as written to the versioned docs, recording its path",
|
|
@@ -2509,7 +2626,7 @@
|
|
|
2509
2626
|
},
|
|
2510
2627
|
{
|
|
2511
2628
|
"name": "--title",
|
|
2512
|
-
"description": "Page title",
|
|
2629
|
+
"description": "Page title (max 255 characters)",
|
|
2513
2630
|
"required": true,
|
|
2514
2631
|
"arguments": [
|
|
2515
2632
|
{
|
|
@@ -2530,7 +2647,7 @@
|
|
|
2530
2647
|
},
|
|
2531
2648
|
{
|
|
2532
2649
|
"name": "--body",
|
|
2533
|
-
"description": "Page body (markdown)",
|
|
2650
|
+
"description": "Page body (markdown, max 4000 characters)",
|
|
2534
2651
|
"arguments": [
|
|
2535
2652
|
{
|
|
2536
2653
|
"name": "BODY",
|
|
@@ -2540,7 +2657,7 @@
|
|
|
2540
2657
|
},
|
|
2541
2658
|
{
|
|
2542
2659
|
"name": "--body-file",
|
|
2543
|
-
"description": "Read the body (markdown) from a local file",
|
|
2660
|
+
"description": "Read the body (markdown, max 4000 characters) from a local file",
|
|
2544
2661
|
"arguments": [
|
|
2545
2662
|
{
|
|
2546
2663
|
"name": "BODY-FILE",
|
|
@@ -2550,7 +2667,7 @@
|
|
|
2550
2667
|
},
|
|
2551
2668
|
{
|
|
2552
2669
|
"name": "--tech-spec",
|
|
2553
|
-
"description": "Technical section, kept separate from the simple body",
|
|
2670
|
+
"description": "Technical section, kept separate from the simple body (max 1500 characters)",
|
|
2554
2671
|
"arguments": [
|
|
2555
2672
|
{
|
|
2556
2673
|
"name": "TECH-SPEC",
|
|
@@ -2560,7 +2677,7 @@
|
|
|
2560
2677
|
},
|
|
2561
2678
|
{
|
|
2562
2679
|
"name": "--tech-spec-file",
|
|
2563
|
-
"description": "Read the technical section from a local file",
|
|
2680
|
+
"description": "Read the technical section (max 1500 characters) from a local file",
|
|
2564
2681
|
"arguments": [
|
|
2565
2682
|
{
|
|
2566
2683
|
"name": "TECH-SPEC-FILE",
|
|
@@ -2574,7 +2691,7 @@
|
|
|
2574
2691
|
},
|
|
2575
2692
|
{
|
|
2576
2693
|
"name": "--review-note",
|
|
2577
|
-
"description": "One line explaining why the page is worth keeping (review queue)",
|
|
2694
|
+
"description": "One line explaining why the page is worth keeping (review queue, max 240 characters)",
|
|
2578
2695
|
"arguments": [
|
|
2579
2696
|
{
|
|
2580
2697
|
"name": "REVIEW-NOTE",
|
|
@@ -2686,6 +2803,82 @@
|
|
|
2686
2803
|
"closeyourit kb list --awaiting-consolidation"
|
|
2687
2804
|
]
|
|
2688
2805
|
},
|
|
2806
|
+
{
|
|
2807
|
+
"name": "publish",
|
|
2808
|
+
"description": "Idempotently create or update a Knowledge page by publication key.\n\nExactly one of --body or --body-file is required.",
|
|
2809
|
+
"options": [
|
|
2810
|
+
{
|
|
2811
|
+
"name": "--project",
|
|
2812
|
+
"aliases": [
|
|
2813
|
+
"-p"
|
|
2814
|
+
],
|
|
2815
|
+
"description": "Project id (UUID) or key",
|
|
2816
|
+
"required": true,
|
|
2817
|
+
"arguments": [
|
|
2818
|
+
{
|
|
2819
|
+
"name": "PROJECT",
|
|
2820
|
+
"required": true
|
|
2821
|
+
}
|
|
2822
|
+
]
|
|
2823
|
+
},
|
|
2824
|
+
{
|
|
2825
|
+
"name": "--publication-key",
|
|
2826
|
+
"description": "Stable publication key (1-255 URL-safe characters)",
|
|
2827
|
+
"required": true,
|
|
2828
|
+
"arguments": [
|
|
2829
|
+
{
|
|
2830
|
+
"name": "PUBLICATION-KEY",
|
|
2831
|
+
"required": true
|
|
2832
|
+
}
|
|
2833
|
+
]
|
|
2834
|
+
},
|
|
2835
|
+
{
|
|
2836
|
+
"name": "--title",
|
|
2837
|
+
"description": "Page title (max 255 characters)",
|
|
2838
|
+
"required": true,
|
|
2839
|
+
"arguments": [
|
|
2840
|
+
{
|
|
2841
|
+
"name": "TITLE",
|
|
2842
|
+
"required": true
|
|
2843
|
+
}
|
|
2844
|
+
]
|
|
2845
|
+
},
|
|
2846
|
+
{
|
|
2847
|
+
"name": "--kind",
|
|
2848
|
+
"description": "Page kind: note|decision|guide (new page: note; existing: unchanged)",
|
|
2849
|
+
"arguments": [
|
|
2850
|
+
{
|
|
2851
|
+
"name": "KIND",
|
|
2852
|
+
"required": true
|
|
2853
|
+
}
|
|
2854
|
+
]
|
|
2855
|
+
},
|
|
2856
|
+
{
|
|
2857
|
+
"name": "--body",
|
|
2858
|
+
"description": "Page body (markdown, max 4000 characters); exactly one of --body or --body-file is required",
|
|
2859
|
+
"arguments": [
|
|
2860
|
+
{
|
|
2861
|
+
"name": "BODY",
|
|
2862
|
+
"required": true
|
|
2863
|
+
}
|
|
2864
|
+
]
|
|
2865
|
+
},
|
|
2866
|
+
{
|
|
2867
|
+
"name": "--body-file",
|
|
2868
|
+
"description": "Read the page body (markdown, max 4000 characters) from a local file; exactly one of --body or --body-file is required",
|
|
2869
|
+
"arguments": [
|
|
2870
|
+
{
|
|
2871
|
+
"name": "BODY-FILE",
|
|
2872
|
+
"required": true
|
|
2873
|
+
}
|
|
2874
|
+
]
|
|
2875
|
+
}
|
|
2876
|
+
],
|
|
2877
|
+
"examples": [
|
|
2878
|
+
"closeyourit kb publish --project CYCL --publication-key docs:release --title \"Release guide\" --body \"Steps…\"",
|
|
2879
|
+
"closeyourit kb publish -p CYCL --publication-key docs:release --title \"Release guide\" --kind guide --body-file ./release.md"
|
|
2880
|
+
]
|
|
2881
|
+
},
|
|
2689
2882
|
{
|
|
2690
2883
|
"name": "related",
|
|
2691
2884
|
"description": "List the pages to read next: the ones this page links to (and that link to it), plus close matches by meaning",
|
|
@@ -2821,7 +3014,7 @@
|
|
|
2821
3014
|
"options": [
|
|
2822
3015
|
{
|
|
2823
3016
|
"name": "--title",
|
|
2824
|
-
"description": "New title",
|
|
3017
|
+
"description": "New title (max 255 characters)",
|
|
2825
3018
|
"arguments": [
|
|
2826
3019
|
{
|
|
2827
3020
|
"name": "TITLE",
|
|
@@ -2841,7 +3034,7 @@
|
|
|
2841
3034
|
},
|
|
2842
3035
|
{
|
|
2843
3036
|
"name": "--body",
|
|
2844
|
-
"description": "New body (markdown)",
|
|
3037
|
+
"description": "New body (markdown, max 4000 characters)",
|
|
2845
3038
|
"arguments": [
|
|
2846
3039
|
{
|
|
2847
3040
|
"name": "BODY",
|
|
@@ -2851,7 +3044,7 @@
|
|
|
2851
3044
|
},
|
|
2852
3045
|
{
|
|
2853
3046
|
"name": "--body-file",
|
|
2854
|
-
"description": "Read the new body (markdown) from a local file",
|
|
3047
|
+
"description": "Read the new body (markdown, max 4000 characters) from a local file",
|
|
2855
3048
|
"arguments": [
|
|
2856
3049
|
{
|
|
2857
3050
|
"name": "BODY-FILE",
|
|
@@ -2861,7 +3054,7 @@
|
|
|
2861
3054
|
},
|
|
2862
3055
|
{
|
|
2863
3056
|
"name": "--tech-spec",
|
|
2864
|
-
"description": "New technical section, kept separate from the simple body",
|
|
3057
|
+
"description": "New technical section, kept separate from the simple body (max 1500 characters)",
|
|
2865
3058
|
"arguments": [
|
|
2866
3059
|
{
|
|
2867
3060
|
"name": "TECH-SPEC",
|
|
@@ -2871,7 +3064,7 @@
|
|
|
2871
3064
|
},
|
|
2872
3065
|
{
|
|
2873
3066
|
"name": "--tech-spec-file",
|
|
2874
|
-
"description": "Read the new technical section from a local file",
|
|
3067
|
+
"description": "Read the new technical section (max 1500 characters) from a local file",
|
|
2875
3068
|
"arguments": [
|
|
2876
3069
|
{
|
|
2877
3070
|
"name": "TECH-SPEC-FILE",
|
|
@@ -5138,7 +5331,7 @@
|
|
|
5138
5331
|
"examples": [
|
|
5139
5332
|
"closeyourit personal import --from-file .env",
|
|
5140
5333
|
"closeyourit personal import --format json --from-file secrets.json",
|
|
5141
|
-
"
|
|
5334
|
+
"printf '{\"API_KEY\":\"value\"}' | closeyourit personal import --format json"
|
|
5142
5335
|
]
|
|
5143
5336
|
},
|
|
5144
5337
|
{
|
|
@@ -5151,7 +5344,7 @@
|
|
|
5151
5344
|
},
|
|
5152
5345
|
{
|
|
5153
5346
|
"name": "run",
|
|
5154
|
-
"description": "Run a command with your personal secrets injected as env vars
|
|
5347
|
+
"description": "Run a command with your personal secrets injected as env vars. Secrets never touch disk.",
|
|
5155
5348
|
"examples": [
|
|
5156
5349
|
"closeyourit personal run -- bundle exec rails server",
|
|
5157
5350
|
"closeyourit personal run -- printenv OPENAI_API_KEY"
|
|
@@ -6248,7 +6441,7 @@
|
|
|
6248
6441
|
},
|
|
6249
6442
|
{
|
|
6250
6443
|
"name": "run",
|
|
6251
|
-
"description": "Run a command with
|
|
6444
|
+
"description": "Run a command with project/environment secrets injected as env vars. Secrets never touch disk.",
|
|
6252
6445
|
"options": [
|
|
6253
6446
|
{
|
|
6254
6447
|
"name": "--project",
|
|
@@ -6876,7 +7069,7 @@
|
|
|
6876
7069
|
"examples": [
|
|
6877
7070
|
"closeyourit secrets import -p acme-api -e production --from-file .env",
|
|
6878
7071
|
"closeyourit secrets import -p acme-api -e production --format json --from-file secrets.json",
|
|
6879
|
-
"
|
|
7072
|
+
"printf '{\"API_KEY\":\"value\"}' | closeyourit secrets import -p acme-api -e development --format json"
|
|
6880
7073
|
]
|
|
6881
7074
|
},
|
|
6882
7075
|
{
|
|
@@ -7015,110 +7208,502 @@
|
|
|
7015
7208
|
]
|
|
7016
7209
|
},
|
|
7017
7210
|
{
|
|
7018
|
-
"name": "
|
|
7019
|
-
"description": "Server monitoring fleet (agents, enrollment tokens)",
|
|
7211
|
+
"name": "seo",
|
|
7020
7212
|
"commands": [
|
|
7021
7213
|
{
|
|
7022
|
-
"name": "
|
|
7023
|
-
"description": "
|
|
7214
|
+
"name": "ignore",
|
|
7215
|
+
"description": "Ignore an SEO finding: you accept living with it",
|
|
7024
7216
|
"options": [
|
|
7025
7217
|
{
|
|
7026
|
-
"name": "--
|
|
7027
|
-
"description": "
|
|
7218
|
+
"name": "--note",
|
|
7219
|
+
"description": "Why you are keeping it (shown alongside the ignored row)",
|
|
7220
|
+
"arguments": [
|
|
7221
|
+
{
|
|
7222
|
+
"name": "NOTE",
|
|
7223
|
+
"required": true
|
|
7224
|
+
}
|
|
7225
|
+
]
|
|
7028
7226
|
}
|
|
7029
7227
|
],
|
|
7030
7228
|
"arguments": [
|
|
7031
7229
|
{
|
|
7032
7230
|
"name": "ID",
|
|
7033
7231
|
"required": true,
|
|
7034
|
-
"description": "
|
|
7232
|
+
"description": "SEO finding id"
|
|
7035
7233
|
}
|
|
7036
7234
|
],
|
|
7037
7235
|
"examples": [
|
|
7038
|
-
"closeyourit
|
|
7236
|
+
"closeyourit seo ignore <issue-id>",
|
|
7237
|
+
"closeyourit seo ignore <issue-id> --note \"Service page, not meant to be found.\""
|
|
7039
7238
|
]
|
|
7040
7239
|
},
|
|
7041
7240
|
{
|
|
7042
|
-
"name": "
|
|
7043
|
-
"description": "
|
|
7241
|
+
"name": "list",
|
|
7242
|
+
"description": "List the SEO findings of your sites (cross-project)",
|
|
7044
7243
|
"options": [
|
|
7045
7244
|
{
|
|
7046
|
-
"name": "--
|
|
7047
|
-
"
|
|
7245
|
+
"name": "--project",
|
|
7246
|
+
"aliases": [
|
|
7247
|
+
"-p"
|
|
7248
|
+
],
|
|
7249
|
+
"description": "Filter by project id (UUID) or key",
|
|
7250
|
+
"arguments": [
|
|
7251
|
+
{
|
|
7252
|
+
"name": "PROJECT",
|
|
7253
|
+
"required": true
|
|
7254
|
+
}
|
|
7255
|
+
]
|
|
7048
7256
|
},
|
|
7049
7257
|
{
|
|
7050
|
-
"name": "--
|
|
7051
|
-
"description": "
|
|
7258
|
+
"name": "--severity",
|
|
7259
|
+
"description": "Filter by severity (critical, high, medium, low)",
|
|
7052
7260
|
"arguments": [
|
|
7053
7261
|
{
|
|
7054
|
-
"name": "
|
|
7262
|
+
"name": "SEVERITY",
|
|
7055
7263
|
"required": true
|
|
7056
7264
|
}
|
|
7057
7265
|
]
|
|
7058
|
-
}
|
|
7059
|
-
],
|
|
7060
|
-
"arguments": [
|
|
7266
|
+
},
|
|
7061
7267
|
{
|
|
7062
|
-
"name": "
|
|
7063
|
-
"
|
|
7064
|
-
"
|
|
7065
|
-
|
|
7066
|
-
|
|
7067
|
-
|
|
7068
|
-
|
|
7069
|
-
|
|
7070
|
-
|
|
7071
|
-
]
|
|
7072
|
-
},
|
|
7073
|
-
{
|
|
7074
|
-
"name": "list",
|
|
7075
|
-
"description": "List the monitored servers in your organization (fleet snapshot)",
|
|
7076
|
-
"options": [
|
|
7268
|
+
"name": "--status",
|
|
7269
|
+
"description": "Filter by status (open, resolved, ignored)",
|
|
7270
|
+
"arguments": [
|
|
7271
|
+
{
|
|
7272
|
+
"name": "STATUS",
|
|
7273
|
+
"required": true
|
|
7274
|
+
}
|
|
7275
|
+
]
|
|
7276
|
+
},
|
|
7077
7277
|
{
|
|
7078
|
-
"name": "--
|
|
7079
|
-
"description": "
|
|
7278
|
+
"name": "--area",
|
|
7279
|
+
"description": "Filter by area (indexability, structure, content, i18n, performance)",
|
|
7080
7280
|
"arguments": [
|
|
7081
7281
|
{
|
|
7082
|
-
"name": "
|
|
7282
|
+
"name": "AREA",
|
|
7083
7283
|
"required": true
|
|
7084
7284
|
}
|
|
7085
7285
|
]
|
|
7086
7286
|
},
|
|
7087
7287
|
{
|
|
7088
|
-
"name": "--
|
|
7089
|
-
"description": "
|
|
7288
|
+
"name": "--page",
|
|
7289
|
+
"description": "Page number",
|
|
7090
7290
|
"arguments": [
|
|
7091
7291
|
{
|
|
7092
|
-
"name": "
|
|
7093
|
-
"required": true
|
|
7094
|
-
"acceptedValues": [
|
|
7095
|
-
"pending",
|
|
7096
|
-
"up",
|
|
7097
|
-
"down",
|
|
7098
|
-
"paused"
|
|
7099
|
-
]
|
|
7292
|
+
"name": "PAGE",
|
|
7293
|
+
"required": true
|
|
7100
7294
|
}
|
|
7101
7295
|
]
|
|
7102
7296
|
}
|
|
7103
7297
|
],
|
|
7104
7298
|
"examples": [
|
|
7105
|
-
"closeyourit
|
|
7106
|
-
"closeyourit
|
|
7299
|
+
"closeyourit seo list",
|
|
7300
|
+
"closeyourit seo list --severity critical",
|
|
7301
|
+
"closeyourit seo list --project acme-site --status open",
|
|
7302
|
+
"closeyourit seo list --area indexability --json"
|
|
7107
7303
|
]
|
|
7108
7304
|
},
|
|
7109
7305
|
{
|
|
7110
|
-
"name": "
|
|
7111
|
-
"description": "
|
|
7112
|
-
"
|
|
7306
|
+
"name": "pages",
|
|
7307
|
+
"description": "List the pages the SEO check has visited, with their state",
|
|
7308
|
+
"options": [
|
|
7113
7309
|
{
|
|
7114
|
-
"name": "
|
|
7115
|
-
"
|
|
7116
|
-
|
|
7117
|
-
|
|
7118
|
-
|
|
7119
|
-
|
|
7120
|
-
|
|
7121
|
-
|
|
7310
|
+
"name": "--project",
|
|
7311
|
+
"aliases": [
|
|
7312
|
+
"-p"
|
|
7313
|
+
],
|
|
7314
|
+
"description": "Filter by project id (UUID) or key",
|
|
7315
|
+
"arguments": [
|
|
7316
|
+
{
|
|
7317
|
+
"name": "PROJECT",
|
|
7318
|
+
"required": true
|
|
7319
|
+
}
|
|
7320
|
+
]
|
|
7321
|
+
},
|
|
7322
|
+
{
|
|
7323
|
+
"name": "--url",
|
|
7324
|
+
"description": "Filter by URL (partial match)",
|
|
7325
|
+
"arguments": [
|
|
7326
|
+
{
|
|
7327
|
+
"name": "URL",
|
|
7328
|
+
"required": true
|
|
7329
|
+
}
|
|
7330
|
+
]
|
|
7331
|
+
},
|
|
7332
|
+
{
|
|
7333
|
+
"name": "--page",
|
|
7334
|
+
"description": "Page number",
|
|
7335
|
+
"arguments": [
|
|
7336
|
+
{
|
|
7337
|
+
"name": "PAGE",
|
|
7338
|
+
"required": true
|
|
7339
|
+
}
|
|
7340
|
+
]
|
|
7341
|
+
}
|
|
7342
|
+
],
|
|
7343
|
+
"examples": [
|
|
7344
|
+
"closeyourit seo pages",
|
|
7345
|
+
"closeyourit seo pages --project acme-site",
|
|
7346
|
+
"closeyourit seo pages --url /prezzi --json"
|
|
7347
|
+
]
|
|
7348
|
+
},
|
|
7349
|
+
{
|
|
7350
|
+
"name": "promote",
|
|
7351
|
+
"description": "Open a ticket from an SEO finding, evidence included",
|
|
7352
|
+
"arguments": [
|
|
7353
|
+
{
|
|
7354
|
+
"name": "ID",
|
|
7355
|
+
"required": true,
|
|
7356
|
+
"description": "SEO finding id"
|
|
7357
|
+
}
|
|
7358
|
+
],
|
|
7359
|
+
"examples": [
|
|
7360
|
+
"closeyourit seo promote <issue-id>"
|
|
7361
|
+
]
|
|
7362
|
+
},
|
|
7363
|
+
{
|
|
7364
|
+
"name": "reopen",
|
|
7365
|
+
"description": "Reopen an ignored SEO finding: you changed your mind",
|
|
7366
|
+
"arguments": [
|
|
7367
|
+
{
|
|
7368
|
+
"name": "ID",
|
|
7369
|
+
"required": true,
|
|
7370
|
+
"description": "SEO finding id"
|
|
7371
|
+
}
|
|
7372
|
+
],
|
|
7373
|
+
"examples": [
|
|
7374
|
+
"closeyourit seo reopen <issue-id>"
|
|
7375
|
+
]
|
|
7376
|
+
},
|
|
7377
|
+
{
|
|
7378
|
+
"name": "rescan",
|
|
7379
|
+
"description": "Check a site now, without waiting for the next scheduled run",
|
|
7380
|
+
"options": [
|
|
7381
|
+
{
|
|
7382
|
+
"name": "--site",
|
|
7383
|
+
"description": "Site id (from `seo-sites list`)",
|
|
7384
|
+
"required": true,
|
|
7385
|
+
"arguments": [
|
|
7386
|
+
{
|
|
7387
|
+
"name": "SITE",
|
|
7388
|
+
"required": true
|
|
7389
|
+
}
|
|
7390
|
+
]
|
|
7391
|
+
}
|
|
7392
|
+
],
|
|
7393
|
+
"examples": [
|
|
7394
|
+
"closeyourit seo rescan --site <site-id>"
|
|
7395
|
+
]
|
|
7396
|
+
},
|
|
7397
|
+
{
|
|
7398
|
+
"name": "show",
|
|
7399
|
+
"description": "Show a single SEO finding, with the evidence behind it",
|
|
7400
|
+
"arguments": [
|
|
7401
|
+
{
|
|
7402
|
+
"name": "ID",
|
|
7403
|
+
"required": true,
|
|
7404
|
+
"description": "SEO finding id"
|
|
7405
|
+
}
|
|
7406
|
+
],
|
|
7407
|
+
"examples": [
|
|
7408
|
+
"closeyourit seo show <issue-id>"
|
|
7409
|
+
]
|
|
7410
|
+
}
|
|
7411
|
+
]
|
|
7412
|
+
},
|
|
7413
|
+
{
|
|
7414
|
+
"name": "seo-sites",
|
|
7415
|
+
"commands": [
|
|
7416
|
+
{
|
|
7417
|
+
"name": "create",
|
|
7418
|
+
"description": "Declare a site to keep an eye on (one per project and environment)",
|
|
7419
|
+
"options": [
|
|
7420
|
+
{
|
|
7421
|
+
"name": "--project",
|
|
7422
|
+
"aliases": [
|
|
7423
|
+
"-p"
|
|
7424
|
+
],
|
|
7425
|
+
"description": "Project id (UUID) or key",
|
|
7426
|
+
"required": true,
|
|
7427
|
+
"arguments": [
|
|
7428
|
+
{
|
|
7429
|
+
"name": "PROJECT",
|
|
7430
|
+
"required": true
|
|
7431
|
+
}
|
|
7432
|
+
]
|
|
7433
|
+
},
|
|
7434
|
+
{
|
|
7435
|
+
"name": "--url",
|
|
7436
|
+
"description": "Public address the visit starts from",
|
|
7437
|
+
"required": true,
|
|
7438
|
+
"arguments": [
|
|
7439
|
+
{
|
|
7440
|
+
"name": "URL",
|
|
7441
|
+
"required": true
|
|
7442
|
+
}
|
|
7443
|
+
]
|
|
7444
|
+
},
|
|
7445
|
+
{
|
|
7446
|
+
"name": "--environment",
|
|
7447
|
+
"description": "Environment id (must be declared by the project)",
|
|
7448
|
+
"required": true,
|
|
7449
|
+
"arguments": [
|
|
7450
|
+
{
|
|
7451
|
+
"name": "ENVIRONMENT",
|
|
7452
|
+
"required": true
|
|
7453
|
+
}
|
|
7454
|
+
]
|
|
7455
|
+
},
|
|
7456
|
+
{
|
|
7457
|
+
"name": "--frequency",
|
|
7458
|
+
"description": "How often to check it: daily (default) or weekly",
|
|
7459
|
+
"arguments": [
|
|
7460
|
+
{
|
|
7461
|
+
"name": "FREQUENCY",
|
|
7462
|
+
"required": true,
|
|
7463
|
+
"acceptedValues": [
|
|
7464
|
+
"daily",
|
|
7465
|
+
"weekly"
|
|
7466
|
+
]
|
|
7467
|
+
}
|
|
7468
|
+
]
|
|
7469
|
+
},
|
|
7470
|
+
{
|
|
7471
|
+
"name": "--max-pages",
|
|
7472
|
+
"description": "How many pages to visit at most each run",
|
|
7473
|
+
"arguments": [
|
|
7474
|
+
{
|
|
7475
|
+
"name": "MAX-PAGES",
|
|
7476
|
+
"required": true
|
|
7477
|
+
}
|
|
7478
|
+
]
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
"name": "--no-sitemap",
|
|
7482
|
+
"description": "Don't read the sitemap: start from the home page and follow links only"
|
|
7483
|
+
}
|
|
7484
|
+
],
|
|
7485
|
+
"examples": [
|
|
7486
|
+
"closeyourit seo-sites create --project acme-site --url https://www.acme.example --environment <env-id>",
|
|
7487
|
+
"closeyourit seo-sites create -p acme-site --url https://www.acme.example --environment <env-id> --frequency weekly --max-pages 50"
|
|
7488
|
+
]
|
|
7489
|
+
},
|
|
7490
|
+
{
|
|
7491
|
+
"name": "delete",
|
|
7492
|
+
"description": "Stop watching a site and remove its pages and findings",
|
|
7493
|
+
"arguments": [
|
|
7494
|
+
{
|
|
7495
|
+
"name": "ID",
|
|
7496
|
+
"required": true,
|
|
7497
|
+
"description": "Site id"
|
|
7498
|
+
}
|
|
7499
|
+
],
|
|
7500
|
+
"examples": [
|
|
7501
|
+
"closeyourit seo-sites delete <site-id>"
|
|
7502
|
+
]
|
|
7503
|
+
},
|
|
7504
|
+
{
|
|
7505
|
+
"name": "list",
|
|
7506
|
+
"description": "List the sites under SEO check",
|
|
7507
|
+
"options": [
|
|
7508
|
+
{
|
|
7509
|
+
"name": "--project",
|
|
7510
|
+
"aliases": [
|
|
7511
|
+
"-p"
|
|
7512
|
+
],
|
|
7513
|
+
"description": "Filter by project id (UUID) or key",
|
|
7514
|
+
"arguments": [
|
|
7515
|
+
{
|
|
7516
|
+
"name": "PROJECT",
|
|
7517
|
+
"required": true
|
|
7518
|
+
}
|
|
7519
|
+
]
|
|
7520
|
+
},
|
|
7521
|
+
{
|
|
7522
|
+
"name": "--page",
|
|
7523
|
+
"description": "Page number",
|
|
7524
|
+
"arguments": [
|
|
7525
|
+
{
|
|
7526
|
+
"name": "PAGE",
|
|
7527
|
+
"required": true
|
|
7528
|
+
}
|
|
7529
|
+
]
|
|
7530
|
+
}
|
|
7531
|
+
],
|
|
7532
|
+
"examples": [
|
|
7533
|
+
"closeyourit seo-sites list",
|
|
7534
|
+
"closeyourit seo-sites list --project acme-site --json"
|
|
7535
|
+
]
|
|
7536
|
+
},
|
|
7537
|
+
{
|
|
7538
|
+
"name": "update",
|
|
7539
|
+
"description": "Change how a site is checked (project and environment are its identity: they never change)",
|
|
7540
|
+
"options": [
|
|
7541
|
+
{
|
|
7542
|
+
"name": "--url",
|
|
7543
|
+
"description": "Public address the visit starts from",
|
|
7544
|
+
"arguments": [
|
|
7545
|
+
{
|
|
7546
|
+
"name": "URL",
|
|
7547
|
+
"required": true
|
|
7548
|
+
}
|
|
7549
|
+
]
|
|
7550
|
+
},
|
|
7551
|
+
{
|
|
7552
|
+
"name": "--frequency",
|
|
7553
|
+
"description": "How often to check it: daily or weekly",
|
|
7554
|
+
"arguments": [
|
|
7555
|
+
{
|
|
7556
|
+
"name": "FREQUENCY",
|
|
7557
|
+
"required": true,
|
|
7558
|
+
"acceptedValues": [
|
|
7559
|
+
"daily",
|
|
7560
|
+
"weekly"
|
|
7561
|
+
]
|
|
7562
|
+
}
|
|
7563
|
+
]
|
|
7564
|
+
},
|
|
7565
|
+
{
|
|
7566
|
+
"name": "--max-pages",
|
|
7567
|
+
"description": "How many pages to visit at most each run",
|
|
7568
|
+
"arguments": [
|
|
7569
|
+
{
|
|
7570
|
+
"name": "MAX-PAGES",
|
|
7571
|
+
"required": true
|
|
7572
|
+
}
|
|
7573
|
+
]
|
|
7574
|
+
},
|
|
7575
|
+
{
|
|
7576
|
+
"name": "--sitemap",
|
|
7577
|
+
"description": "Read the sitemap"
|
|
7578
|
+
},
|
|
7579
|
+
{
|
|
7580
|
+
"name": "--enable",
|
|
7581
|
+
"description": "Resume the checks"
|
|
7582
|
+
},
|
|
7583
|
+
{
|
|
7584
|
+
"name": "--disable",
|
|
7585
|
+
"description": "Pause the checks (the site and its findings stay)"
|
|
7586
|
+
}
|
|
7587
|
+
],
|
|
7588
|
+
"arguments": [
|
|
7589
|
+
{
|
|
7590
|
+
"name": "ID",
|
|
7591
|
+
"required": true,
|
|
7592
|
+
"description": "Site id"
|
|
7593
|
+
}
|
|
7594
|
+
],
|
|
7595
|
+
"examples": [
|
|
7596
|
+
"closeyourit seo-sites update <site-id> --frequency weekly",
|
|
7597
|
+
"closeyourit seo-sites update <site-id> --max-pages 200 --disable"
|
|
7598
|
+
]
|
|
7599
|
+
}
|
|
7600
|
+
]
|
|
7601
|
+
},
|
|
7602
|
+
{
|
|
7603
|
+
"name": "servers",
|
|
7604
|
+
"description": "Server monitoring fleet (agents, enrollment tokens)",
|
|
7605
|
+
"commands": [
|
|
7606
|
+
{
|
|
7607
|
+
"name": "delete",
|
|
7608
|
+
"description": "Delete a server and all its metrics (a live agent would re-register it)",
|
|
7609
|
+
"options": [
|
|
7610
|
+
{
|
|
7611
|
+
"name": "--confirm",
|
|
7612
|
+
"description": "Required: confirm the deletion"
|
|
7613
|
+
}
|
|
7614
|
+
],
|
|
7615
|
+
"arguments": [
|
|
7616
|
+
{
|
|
7617
|
+
"name": "ID",
|
|
7618
|
+
"required": true,
|
|
7619
|
+
"description": "Server id"
|
|
7620
|
+
}
|
|
7621
|
+
],
|
|
7622
|
+
"examples": [
|
|
7623
|
+
"closeyourit servers delete <server-id> --confirm"
|
|
7624
|
+
]
|
|
7625
|
+
},
|
|
7626
|
+
{
|
|
7627
|
+
"name": "ignored-containers",
|
|
7628
|
+
"description": "Read or set the container names this server does not treat as services",
|
|
7629
|
+
"options": [
|
|
7630
|
+
{
|
|
7631
|
+
"name": "--clear",
|
|
7632
|
+
"description": "Remove every ignored container name"
|
|
7633
|
+
},
|
|
7634
|
+
{
|
|
7635
|
+
"name": "--set",
|
|
7636
|
+
"description": "Comma-separated names to ignore (replaces the list)",
|
|
7637
|
+
"arguments": [
|
|
7638
|
+
{
|
|
7639
|
+
"name": "SET",
|
|
7640
|
+
"required": true
|
|
7641
|
+
}
|
|
7642
|
+
]
|
|
7643
|
+
}
|
|
7644
|
+
],
|
|
7645
|
+
"arguments": [
|
|
7646
|
+
{
|
|
7647
|
+
"name": "ID",
|
|
7648
|
+
"required": true,
|
|
7649
|
+
"description": "Server id"
|
|
7650
|
+
}
|
|
7651
|
+
],
|
|
7652
|
+
"examples": [
|
|
7653
|
+
"closeyourit servers ignored-containers <server-id>",
|
|
7654
|
+
"closeyourit servers ignored-containers <server-id> --set buildkit,runner",
|
|
7655
|
+
"closeyourit servers ignored-containers <server-id> --clear"
|
|
7656
|
+
]
|
|
7657
|
+
},
|
|
7658
|
+
{
|
|
7659
|
+
"name": "list",
|
|
7660
|
+
"description": "List the monitored servers in your organization (fleet snapshot)",
|
|
7661
|
+
"options": [
|
|
7662
|
+
{
|
|
7663
|
+
"name": "--page",
|
|
7664
|
+
"description": "Page number",
|
|
7665
|
+
"arguments": [
|
|
7666
|
+
{
|
|
7667
|
+
"name": "PAGE",
|
|
7668
|
+
"required": true
|
|
7669
|
+
}
|
|
7670
|
+
]
|
|
7671
|
+
},
|
|
7672
|
+
{
|
|
7673
|
+
"name": "--status",
|
|
7674
|
+
"description": "Filter by status (repeatable)",
|
|
7675
|
+
"arguments": [
|
|
7676
|
+
{
|
|
7677
|
+
"name": "STATUS",
|
|
7678
|
+
"required": true,
|
|
7679
|
+
"acceptedValues": [
|
|
7680
|
+
"pending",
|
|
7681
|
+
"up",
|
|
7682
|
+
"down",
|
|
7683
|
+
"paused"
|
|
7684
|
+
]
|
|
7685
|
+
}
|
|
7686
|
+
]
|
|
7687
|
+
}
|
|
7688
|
+
],
|
|
7689
|
+
"examples": [
|
|
7690
|
+
"closeyourit servers list",
|
|
7691
|
+
"closeyourit servers list --status down --json"
|
|
7692
|
+
]
|
|
7693
|
+
},
|
|
7694
|
+
{
|
|
7695
|
+
"name": "pause",
|
|
7696
|
+
"description": "Pause a server (no staleness checks or alerts until resumed)",
|
|
7697
|
+
"arguments": [
|
|
7698
|
+
{
|
|
7699
|
+
"name": "ID",
|
|
7700
|
+
"required": true,
|
|
7701
|
+
"description": "Server id"
|
|
7702
|
+
}
|
|
7703
|
+
],
|
|
7704
|
+
"examples": [
|
|
7705
|
+
"closeyourit servers pause <server-id>"
|
|
7706
|
+
]
|
|
7122
7707
|
},
|
|
7123
7708
|
{
|
|
7124
7709
|
"name": "rename",
|
|
@@ -7931,7 +8516,7 @@
|
|
|
7931
8516
|
},
|
|
7932
8517
|
{
|
|
7933
8518
|
"name": "--body",
|
|
7934
|
-
"description": "Comment body",
|
|
8519
|
+
"description": "Comment body (max 240 characters — longer text goes in the work report)",
|
|
7935
8520
|
"required": true,
|
|
7936
8521
|
"arguments": [
|
|
7937
8522
|
{
|
|
@@ -8030,7 +8615,7 @@
|
|
|
8030
8615
|
},
|
|
8031
8616
|
{
|
|
8032
8617
|
"name": "create",
|
|
8033
|
-
"description": "Create a ticket",
|
|
8618
|
+
"description": "Create a ticket (status defaults to open, priority to medium; both take a code or a label)",
|
|
8034
8619
|
"options": [
|
|
8035
8620
|
{
|
|
8036
8621
|
"name": "--project",
|
|
@@ -8048,7 +8633,7 @@
|
|
|
8048
8633
|
},
|
|
8049
8634
|
{
|
|
8050
8635
|
"name": "--title",
|
|
8051
|
-
"description": "Ticket title",
|
|
8636
|
+
"description": "Ticket title (max 255 characters)",
|
|
8052
8637
|
"required": true,
|
|
8053
8638
|
"arguments": [
|
|
8054
8639
|
{
|
|
@@ -8075,7 +8660,7 @@
|
|
|
8075
8660
|
},
|
|
8076
8661
|
{
|
|
8077
8662
|
"name": "--description",
|
|
8078
|
-
"description": "Free-form description (human-simple summary)",
|
|
8663
|
+
"description": "Free-form description (human-simple summary, max 4000 characters)",
|
|
8079
8664
|
"arguments": [
|
|
8080
8665
|
{
|
|
8081
8666
|
"name": "DESCRIPTION",
|
|
@@ -8085,7 +8670,7 @@
|
|
|
8085
8670
|
},
|
|
8086
8671
|
{
|
|
8087
8672
|
"name": "--technical-analysis",
|
|
8088
|
-
"description": "Technical analysis (stack, cause) — kept out of the human-simple body",
|
|
8673
|
+
"description": "Technical analysis (stack, cause) — kept out of the human-simple body (max 1500 characters)",
|
|
8089
8674
|
"arguments": [
|
|
8090
8675
|
{
|
|
8091
8676
|
"name": "TECHNICAL-ANALYSIS",
|
|
@@ -8174,21 +8759,21 @@
|
|
|
8174
8759
|
]
|
|
8175
8760
|
},
|
|
8176
8761
|
{
|
|
8177
|
-
"name": "--status
|
|
8178
|
-
"description": "Status
|
|
8762
|
+
"name": "--status",
|
|
8763
|
+
"description": "Status code, label or id (e.g. open, \"In Progress\") — default: open",
|
|
8179
8764
|
"arguments": [
|
|
8180
8765
|
{
|
|
8181
|
-
"name": "STATUS
|
|
8766
|
+
"name": "STATUS",
|
|
8182
8767
|
"required": true
|
|
8183
8768
|
}
|
|
8184
8769
|
]
|
|
8185
8770
|
},
|
|
8186
8771
|
{
|
|
8187
|
-
"name": "--priority
|
|
8188
|
-
"description": "Priority
|
|
8772
|
+
"name": "--priority",
|
|
8773
|
+
"description": "Priority code, label or id (e.g. medium, High) — default: medium",
|
|
8189
8774
|
"arguments": [
|
|
8190
8775
|
{
|
|
8191
|
-
"name": "PRIORITY
|
|
8776
|
+
"name": "PRIORITY",
|
|
8192
8777
|
"required": true
|
|
8193
8778
|
}
|
|
8194
8779
|
]
|
|
@@ -8237,7 +8822,8 @@
|
|
|
8237
8822
|
"examples": [
|
|
8238
8823
|
"closeyourit tickets create --project acme-api --title \"Checkout fails\"",
|
|
8239
8824
|
"closeyourit tickets create -p acme-api --title \"Login bug\" --kind bug --step-given \"logged out\" --step-when \"I submit\" --step-then \"it 500s\"",
|
|
8240
|
-
"closeyourit tickets create -p acme-api --title \"Checkout\" --scenarios '[{\"title\":\"Happy\",\"step_given\":\"logged in\",\"step_when\":\"I pay\",\"step_then\":\"order created\"}]' --condition \"confirmation email is sent\""
|
|
8825
|
+
"closeyourit tickets create -p acme-api --title \"Checkout\" --scenarios '[{\"title\":\"Happy\",\"step_given\":\"logged in\",\"step_when\":\"I pay\",\"step_then\":\"order created\"}]' --condition \"confirmation email is sent\"",
|
|
8826
|
+
"closeyourit tickets create -p acme-api --title \"Payment retry\" --status in_progress --priority High"
|
|
8241
8827
|
]
|
|
8242
8828
|
},
|
|
8243
8829
|
{
|
|
@@ -8727,6 +9313,139 @@
|
|
|
8727
9313
|
"closeyourit tickets reject <ticket-id> --project acme-api --reason \"Edge case not covered\""
|
|
8728
9314
|
]
|
|
8729
9315
|
},
|
|
9316
|
+
{
|
|
9317
|
+
"name": "report",
|
|
9318
|
+
"description": "Write the work report of a ticket — the long text a comment cannot hold. Each write adds a version, it never overwrites the previous one",
|
|
9319
|
+
"options": [
|
|
9320
|
+
{
|
|
9321
|
+
"name": "--project",
|
|
9322
|
+
"aliases": [
|
|
9323
|
+
"-p"
|
|
9324
|
+
],
|
|
9325
|
+
"description": "Project id (UUID) or key",
|
|
9326
|
+
"required": true,
|
|
9327
|
+
"arguments": [
|
|
9328
|
+
{
|
|
9329
|
+
"name": "PROJECT",
|
|
9330
|
+
"required": true
|
|
9331
|
+
}
|
|
9332
|
+
]
|
|
9333
|
+
},
|
|
9334
|
+
{
|
|
9335
|
+
"name": "--body",
|
|
9336
|
+
"description": "Report body (markdown, max 20000 characters)",
|
|
9337
|
+
"arguments": [
|
|
9338
|
+
{
|
|
9339
|
+
"name": "BODY",
|
|
9340
|
+
"required": true
|
|
9341
|
+
}
|
|
9342
|
+
]
|
|
9343
|
+
},
|
|
9344
|
+
{
|
|
9345
|
+
"name": "--body-file",
|
|
9346
|
+
"description": "Read the report body (max 20000 characters) from a local file",
|
|
9347
|
+
"arguments": [
|
|
9348
|
+
{
|
|
9349
|
+
"name": "BODY-FILE",
|
|
9350
|
+
"required": true
|
|
9351
|
+
}
|
|
9352
|
+
]
|
|
9353
|
+
}
|
|
9354
|
+
],
|
|
9355
|
+
"arguments": [
|
|
9356
|
+
{
|
|
9357
|
+
"name": "ID",
|
|
9358
|
+
"required": true,
|
|
9359
|
+
"description": "Ticket id or code (e.g. DRFL-3)"
|
|
9360
|
+
}
|
|
9361
|
+
],
|
|
9362
|
+
"examples": [
|
|
9363
|
+
"closeyourit tickets report <ticket-id> --project acme-api --body \"Cosa ho fatto, come si verifica\"",
|
|
9364
|
+
"closeyourit tickets report DRFL-3 -p acme-api --body-file ./report.md"
|
|
9365
|
+
]
|
|
9366
|
+
},
|
|
9367
|
+
{
|
|
9368
|
+
"name": "report-show",
|
|
9369
|
+
"description": "Show the current work report of a ticket, or a past version with --version",
|
|
9370
|
+
"options": [
|
|
9371
|
+
{
|
|
9372
|
+
"name": "--project",
|
|
9373
|
+
"aliases": [
|
|
9374
|
+
"-p"
|
|
9375
|
+
],
|
|
9376
|
+
"description": "Project id (UUID) or key",
|
|
9377
|
+
"required": true,
|
|
9378
|
+
"arguments": [
|
|
9379
|
+
{
|
|
9380
|
+
"name": "PROJECT",
|
|
9381
|
+
"required": true
|
|
9382
|
+
}
|
|
9383
|
+
]
|
|
9384
|
+
},
|
|
9385
|
+
{
|
|
9386
|
+
"name": "--version",
|
|
9387
|
+
"description": "Version number to read instead of the current one",
|
|
9388
|
+
"arguments": [
|
|
9389
|
+
{
|
|
9390
|
+
"name": "VERSION",
|
|
9391
|
+
"required": true
|
|
9392
|
+
}
|
|
9393
|
+
]
|
|
9394
|
+
}
|
|
9395
|
+
],
|
|
9396
|
+
"arguments": [
|
|
9397
|
+
{
|
|
9398
|
+
"name": "ID",
|
|
9399
|
+
"required": true,
|
|
9400
|
+
"description": "Ticket id or code (e.g. DRFL-3)"
|
|
9401
|
+
}
|
|
9402
|
+
],
|
|
9403
|
+
"examples": [
|
|
9404
|
+
"closeyourit tickets report-show <ticket-id> --project acme-api",
|
|
9405
|
+
"closeyourit tickets report-show DRFL-3 -p acme-api --version 2"
|
|
9406
|
+
]
|
|
9407
|
+
},
|
|
9408
|
+
{
|
|
9409
|
+
"name": "report-versions",
|
|
9410
|
+
"description": "List the versions of the work report of a ticket (newest first)",
|
|
9411
|
+
"options": [
|
|
9412
|
+
{
|
|
9413
|
+
"name": "--project",
|
|
9414
|
+
"aliases": [
|
|
9415
|
+
"-p"
|
|
9416
|
+
],
|
|
9417
|
+
"description": "Project id (UUID) or key",
|
|
9418
|
+
"required": true,
|
|
9419
|
+
"arguments": [
|
|
9420
|
+
{
|
|
9421
|
+
"name": "PROJECT",
|
|
9422
|
+
"required": true
|
|
9423
|
+
}
|
|
9424
|
+
]
|
|
9425
|
+
},
|
|
9426
|
+
{
|
|
9427
|
+
"name": "--page",
|
|
9428
|
+
"description": "Page number",
|
|
9429
|
+
"arguments": [
|
|
9430
|
+
{
|
|
9431
|
+
"name": "PAGE",
|
|
9432
|
+
"required": true
|
|
9433
|
+
}
|
|
9434
|
+
]
|
|
9435
|
+
}
|
|
9436
|
+
],
|
|
9437
|
+
"arguments": [
|
|
9438
|
+
{
|
|
9439
|
+
"name": "ID",
|
|
9440
|
+
"required": true,
|
|
9441
|
+
"description": "Ticket id or code (e.g. DRFL-3)"
|
|
9442
|
+
}
|
|
9443
|
+
],
|
|
9444
|
+
"examples": [
|
|
9445
|
+
"closeyourit tickets report-versions <ticket-id> --project acme-api",
|
|
9446
|
+
"closeyourit tickets report-versions DRFL-3 -p acme-api --page 2 --json"
|
|
9447
|
+
]
|
|
9448
|
+
},
|
|
8730
9449
|
{
|
|
8731
9450
|
"name": "reviewer",
|
|
8732
9451
|
"description": "Set the reviewer of a ticket (requires tickets.assign)",
|
|
@@ -8802,7 +9521,7 @@
|
|
|
8802
9521
|
},
|
|
8803
9522
|
{
|
|
8804
9523
|
"name": "status",
|
|
8805
|
-
"description": "Change a ticket status",
|
|
9524
|
+
"description": "Change a ticket status (by code, label or id)",
|
|
8806
9525
|
"options": [
|
|
8807
9526
|
{
|
|
8808
9527
|
"name": "--project",
|
|
@@ -8819,12 +9538,12 @@
|
|
|
8819
9538
|
]
|
|
8820
9539
|
},
|
|
8821
9540
|
{
|
|
8822
|
-
"name": "--status
|
|
8823
|
-
"description": "Target status
|
|
9541
|
+
"name": "--status",
|
|
9542
|
+
"description": "Target status code, label or id (e.g. in_review, \"In Review\")",
|
|
8824
9543
|
"required": true,
|
|
8825
9544
|
"arguments": [
|
|
8826
9545
|
{
|
|
8827
|
-
"name": "STATUS
|
|
9546
|
+
"name": "STATUS",
|
|
8828
9547
|
"required": true
|
|
8829
9548
|
}
|
|
8830
9549
|
]
|
|
@@ -8838,7 +9557,8 @@
|
|
|
8838
9557
|
}
|
|
8839
9558
|
],
|
|
8840
9559
|
"examples": [
|
|
8841
|
-
"closeyourit tickets status <ticket-id> --project acme-api --status
|
|
9560
|
+
"closeyourit tickets status <ticket-id> --project acme-api --status in_review",
|
|
9561
|
+
"closeyourit tickets status <ticket-id> --project acme-api --status <status-id>"
|
|
8842
9562
|
]
|
|
8843
9563
|
},
|
|
8844
9564
|
{
|
|
@@ -8980,7 +9700,7 @@
|
|
|
8980
9700
|
},
|
|
8981
9701
|
{
|
|
8982
9702
|
"name": "update",
|
|
8983
|
-
"description": "Update a ticket
|
|
9703
|
+
"description": "Update a ticket, changing only the fields you pass (the others keep their current value; use --clear to empty one, --replace for the raw full replace)",
|
|
8984
9704
|
"options": [
|
|
8985
9705
|
{
|
|
8986
9706
|
"name": "--project",
|
|
@@ -8998,7 +9718,7 @@
|
|
|
8998
9718
|
},
|
|
8999
9719
|
{
|
|
9000
9720
|
"name": "--title",
|
|
9001
|
-
"description": "Ticket title",
|
|
9721
|
+
"description": "Ticket title (max 255 characters)",
|
|
9002
9722
|
"arguments": [
|
|
9003
9723
|
{
|
|
9004
9724
|
"name": "TITLE",
|
|
@@ -9024,7 +9744,7 @@
|
|
|
9024
9744
|
},
|
|
9025
9745
|
{
|
|
9026
9746
|
"name": "--description",
|
|
9027
|
-
"description": "Free-form description (human-simple summary)",
|
|
9747
|
+
"description": "Free-form description (human-simple summary, max 4000 characters)",
|
|
9028
9748
|
"arguments": [
|
|
9029
9749
|
{
|
|
9030
9750
|
"name": "DESCRIPTION",
|
|
@@ -9034,7 +9754,7 @@
|
|
|
9034
9754
|
},
|
|
9035
9755
|
{
|
|
9036
9756
|
"name": "--technical-analysis",
|
|
9037
|
-
"description": "Technical analysis (stack, cause) — kept out of the human-simple body",
|
|
9757
|
+
"description": "Technical analysis (stack, cause) — kept out of the human-simple body (max 1500 characters)",
|
|
9038
9758
|
"arguments": [
|
|
9039
9759
|
{
|
|
9040
9760
|
"name": "TECHNICAL-ANALYSIS",
|
|
@@ -9123,21 +9843,21 @@
|
|
|
9123
9843
|
]
|
|
9124
9844
|
},
|
|
9125
9845
|
{
|
|
9126
|
-
"name": "--status
|
|
9127
|
-
"description": "Status
|
|
9846
|
+
"name": "--status",
|
|
9847
|
+
"description": "Status code, label or id (e.g. open, \"In Progress\") — unchanged when omitted",
|
|
9128
9848
|
"arguments": [
|
|
9129
9849
|
{
|
|
9130
|
-
"name": "STATUS
|
|
9850
|
+
"name": "STATUS",
|
|
9131
9851
|
"required": true
|
|
9132
9852
|
}
|
|
9133
9853
|
]
|
|
9134
9854
|
},
|
|
9135
9855
|
{
|
|
9136
|
-
"name": "--priority
|
|
9137
|
-
"description": "Priority
|
|
9856
|
+
"name": "--priority",
|
|
9857
|
+
"description": "Priority code, label or id (e.g. medium, High) — unchanged when omitted",
|
|
9138
9858
|
"arguments": [
|
|
9139
9859
|
{
|
|
9140
|
-
"name": "PRIORITY
|
|
9860
|
+
"name": "PRIORITY",
|
|
9141
9861
|
"required": true
|
|
9142
9862
|
}
|
|
9143
9863
|
]
|
|
@@ -9181,6 +9901,30 @@
|
|
|
9181
9901
|
"required": true
|
|
9182
9902
|
}
|
|
9183
9903
|
]
|
|
9904
|
+
},
|
|
9905
|
+
{
|
|
9906
|
+
"name": "--clear",
|
|
9907
|
+
"description": "Empty a field on purpose (repeatable): description, technical-analysis, weight, due-at, assignee, milestone, parent, platforms",
|
|
9908
|
+
"arguments": [
|
|
9909
|
+
{
|
|
9910
|
+
"name": "CLEAR",
|
|
9911
|
+
"required": true,
|
|
9912
|
+
"acceptedValues": [
|
|
9913
|
+
"description",
|
|
9914
|
+
"technical-analysis",
|
|
9915
|
+
"weight",
|
|
9916
|
+
"due-at",
|
|
9917
|
+
"assignee",
|
|
9918
|
+
"milestone",
|
|
9919
|
+
"parent",
|
|
9920
|
+
"platforms"
|
|
9921
|
+
]
|
|
9922
|
+
}
|
|
9923
|
+
]
|
|
9924
|
+
},
|
|
9925
|
+
{
|
|
9926
|
+
"name": "--replace",
|
|
9927
|
+
"description": "Send only the flags you passed (full replace — every field you omit is cleared server-side)"
|
|
9184
9928
|
}
|
|
9185
9929
|
],
|
|
9186
9930
|
"arguments": [
|
|
@@ -9192,7 +9936,10 @@
|
|
|
9192
9936
|
],
|
|
9193
9937
|
"examples": [
|
|
9194
9938
|
"closeyourit tickets update <ticket-id> --project acme-api --title \"New title\"",
|
|
9195
|
-
"closeyourit tickets update <ticket-id> -p acme-api --
|
|
9939
|
+
"closeyourit tickets update <ticket-id> -p acme-api --clear assignee --clear due-at",
|
|
9940
|
+
"closeyourit tickets update <ticket-id> -p acme-api --title \"Login bug\" --scenarios '[{\"step_given\":\"logged out\",\"step_when\":\"I submit\",\"step_then\":\"it 500s\",\"step_expected\":\"dashboard loads\"}]' --condition \"login works\"",
|
|
9941
|
+
"closeyourit tickets update <ticket-id> -p acme-api --status in_review --priority High",
|
|
9942
|
+
"closeyourit tickets update <ticket-id> -p acme-api --replace --title \"Only this\" --status open --priority medium"
|
|
9196
9943
|
]
|
|
9197
9944
|
},
|
|
9198
9945
|
{
|