@bussolabs/closeyourit-cli 0.0.11 → 0.0.13
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 +2 -0
- package/dist/commands/ideas/comment-delete.d.ts +14 -0
- package/dist/commands/ideas/comment-delete.js +30 -0
- package/dist/commands/ideas/comment.d.ts +13 -0
- package/dist/commands/ideas/comment.js +29 -0
- package/dist/commands/ideas/comments.d.ts +12 -0
- package/dist/commands/ideas/comments.js +45 -0
- package/dist/commands/ideas/convert.d.ts +17 -0
- package/dist/commands/ideas/convert.js +48 -0
- package/dist/commands/ideas/create.d.ts +11 -0
- package/dist/commands/ideas/create.js +27 -0
- package/dist/commands/ideas/list.d.ts +12 -0
- package/dist/commands/ideas/list.js +40 -0
- package/dist/commands/ideas/show.d.ts +12 -0
- package/dist/commands/ideas/show.js +28 -0
- package/dist/commands/ideas/unvote.d.ts +12 -0
- package/dist/commands/ideas/unvote.js +24 -0
- package/dist/commands/ideas/vote.d.ts +12 -0
- package/dist/commands/ideas/vote.js +24 -0
- package/dist/commands/tickets/approve.d.ts +12 -0
- package/dist/commands/tickets/approve.js +24 -0
- package/dist/commands/tickets/reject.d.ts +13 -0
- package/dist/commands/tickets/reject.js +29 -0
- package/oclif.manifest.json +2127 -1516
- package/opencli.json +414 -1
- 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.0.
|
|
6
|
+
"version": "0.0.13",
|
|
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": {
|
|
@@ -681,6 +681,419 @@
|
|
|
681
681
|
"examples": [
|
|
682
682
|
"closeyourit tickets create --project acme-api --title \"Checkout fails\""
|
|
683
683
|
]
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"name": "reject",
|
|
687
|
+
"description": "Reject the ticket review: send it back to work with a reason.",
|
|
688
|
+
"arguments": [
|
|
689
|
+
{
|
|
690
|
+
"name": "ID",
|
|
691
|
+
"required": true,
|
|
692
|
+
"description": "Ticket id."
|
|
693
|
+
}
|
|
694
|
+
],
|
|
695
|
+
"options": [
|
|
696
|
+
{
|
|
697
|
+
"name": "--project",
|
|
698
|
+
"aliases": [
|
|
699
|
+
"-p"
|
|
700
|
+
],
|
|
701
|
+
"required": true,
|
|
702
|
+
"description": "Project id (UUID) or key.",
|
|
703
|
+
"arguments": [
|
|
704
|
+
{
|
|
705
|
+
"name": "PROJECT",
|
|
706
|
+
"required": true
|
|
707
|
+
}
|
|
708
|
+
]
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
"name": "--reason",
|
|
712
|
+
"required": true,
|
|
713
|
+
"description": "Why the review is rejected (posted as a comment).",
|
|
714
|
+
"arguments": [
|
|
715
|
+
{
|
|
716
|
+
"name": "REASON",
|
|
717
|
+
"required": true
|
|
718
|
+
}
|
|
719
|
+
]
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
"name": "approve",
|
|
725
|
+
"description": "Approve the ticket review: move it to the first done status.",
|
|
726
|
+
"arguments": [
|
|
727
|
+
{
|
|
728
|
+
"name": "ID",
|
|
729
|
+
"required": true,
|
|
730
|
+
"description": "Ticket id."
|
|
731
|
+
}
|
|
732
|
+
],
|
|
733
|
+
"options": [
|
|
734
|
+
{
|
|
735
|
+
"name": "--project",
|
|
736
|
+
"aliases": [
|
|
737
|
+
"-p"
|
|
738
|
+
],
|
|
739
|
+
"required": true,
|
|
740
|
+
"description": "Project id (UUID) or key.",
|
|
741
|
+
"arguments": [
|
|
742
|
+
{
|
|
743
|
+
"name": "PROJECT",
|
|
744
|
+
"required": true
|
|
745
|
+
}
|
|
746
|
+
]
|
|
747
|
+
}
|
|
748
|
+
]
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
"name": "ideas",
|
|
754
|
+
"description": "Project ideas: propose, vote, comment, convert to ticket (AI-synthesized draft).",
|
|
755
|
+
"commands": [
|
|
756
|
+
{
|
|
757
|
+
"name": "list",
|
|
758
|
+
"description": "List ideas for a project (sorted by votes).",
|
|
759
|
+
"options": [
|
|
760
|
+
{
|
|
761
|
+
"name": "--project",
|
|
762
|
+
"aliases": [
|
|
763
|
+
"-p"
|
|
764
|
+
],
|
|
765
|
+
"required": true,
|
|
766
|
+
"description": "Project id (UUID) or key.",
|
|
767
|
+
"arguments": [
|
|
768
|
+
{
|
|
769
|
+
"name": "PROJECT",
|
|
770
|
+
"required": true
|
|
771
|
+
}
|
|
772
|
+
]
|
|
773
|
+
},
|
|
774
|
+
{
|
|
775
|
+
"name": "--page",
|
|
776
|
+
"description": "Page number.",
|
|
777
|
+
"arguments": [
|
|
778
|
+
{
|
|
779
|
+
"name": "N"
|
|
780
|
+
}
|
|
781
|
+
]
|
|
782
|
+
},
|
|
783
|
+
{
|
|
784
|
+
"name": "--status",
|
|
785
|
+
"description": "Filter by status (open|converted|archived).",
|
|
786
|
+
"arguments": [
|
|
787
|
+
{
|
|
788
|
+
"name": "STATUS"
|
|
789
|
+
}
|
|
790
|
+
]
|
|
791
|
+
},
|
|
792
|
+
{
|
|
793
|
+
"name": "--sort",
|
|
794
|
+
"description": "Sort order (votes|recent).",
|
|
795
|
+
"arguments": [
|
|
796
|
+
{
|
|
797
|
+
"name": "SORT"
|
|
798
|
+
}
|
|
799
|
+
]
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
},
|
|
803
|
+
{
|
|
804
|
+
"name": "show",
|
|
805
|
+
"description": "Show an idea (fields + full proposal body).",
|
|
806
|
+
"arguments": [
|
|
807
|
+
{
|
|
808
|
+
"name": "IDEA_ID",
|
|
809
|
+
"required": true
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"options": [
|
|
813
|
+
{
|
|
814
|
+
"name": "--project",
|
|
815
|
+
"aliases": [
|
|
816
|
+
"-p"
|
|
817
|
+
],
|
|
818
|
+
"required": true,
|
|
819
|
+
"description": "Project id (UUID) or key.",
|
|
820
|
+
"arguments": [
|
|
821
|
+
{
|
|
822
|
+
"name": "PROJECT",
|
|
823
|
+
"required": true
|
|
824
|
+
}
|
|
825
|
+
]
|
|
826
|
+
}
|
|
827
|
+
]
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
"name": "create",
|
|
831
|
+
"description": "Propose an idea for a project.",
|
|
832
|
+
"options": [
|
|
833
|
+
{
|
|
834
|
+
"name": "--project",
|
|
835
|
+
"aliases": [
|
|
836
|
+
"-p"
|
|
837
|
+
],
|
|
838
|
+
"required": true,
|
|
839
|
+
"description": "Project id (UUID) or key.",
|
|
840
|
+
"arguments": [
|
|
841
|
+
{
|
|
842
|
+
"name": "PROJECT",
|
|
843
|
+
"required": true
|
|
844
|
+
}
|
|
845
|
+
]
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
"name": "--title",
|
|
849
|
+
"required": true,
|
|
850
|
+
"description": "Idea title.",
|
|
851
|
+
"arguments": [
|
|
852
|
+
{
|
|
853
|
+
"name": "TITLE",
|
|
854
|
+
"required": true
|
|
855
|
+
}
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"name": "--body",
|
|
860
|
+
"required": true,
|
|
861
|
+
"description": "Idea proposal body.",
|
|
862
|
+
"arguments": [
|
|
863
|
+
{
|
|
864
|
+
"name": "TEXT",
|
|
865
|
+
"required": true
|
|
866
|
+
}
|
|
867
|
+
]
|
|
868
|
+
}
|
|
869
|
+
]
|
|
870
|
+
},
|
|
871
|
+
{
|
|
872
|
+
"name": "vote",
|
|
873
|
+
"description": "Upvote an idea (idempotent).",
|
|
874
|
+
"arguments": [
|
|
875
|
+
{
|
|
876
|
+
"name": "IDEA_ID",
|
|
877
|
+
"required": true
|
|
878
|
+
}
|
|
879
|
+
],
|
|
880
|
+
"options": [
|
|
881
|
+
{
|
|
882
|
+
"name": "--project",
|
|
883
|
+
"aliases": [
|
|
884
|
+
"-p"
|
|
885
|
+
],
|
|
886
|
+
"required": true,
|
|
887
|
+
"description": "Project id (UUID) or key.",
|
|
888
|
+
"arguments": [
|
|
889
|
+
{
|
|
890
|
+
"name": "PROJECT",
|
|
891
|
+
"required": true
|
|
892
|
+
}
|
|
893
|
+
]
|
|
894
|
+
}
|
|
895
|
+
]
|
|
896
|
+
},
|
|
897
|
+
{
|
|
898
|
+
"name": "unvote",
|
|
899
|
+
"description": "Remove your upvote (idempotent).",
|
|
900
|
+
"arguments": [
|
|
901
|
+
{
|
|
902
|
+
"name": "IDEA_ID",
|
|
903
|
+
"required": true
|
|
904
|
+
}
|
|
905
|
+
],
|
|
906
|
+
"options": [
|
|
907
|
+
{
|
|
908
|
+
"name": "--project",
|
|
909
|
+
"aliases": [
|
|
910
|
+
"-p"
|
|
911
|
+
],
|
|
912
|
+
"required": true,
|
|
913
|
+
"description": "Project id (UUID) or key.",
|
|
914
|
+
"arguments": [
|
|
915
|
+
{
|
|
916
|
+
"name": "PROJECT",
|
|
917
|
+
"required": true
|
|
918
|
+
}
|
|
919
|
+
]
|
|
920
|
+
}
|
|
921
|
+
]
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
"name": "comment",
|
|
925
|
+
"description": "Add a comment to an open idea.",
|
|
926
|
+
"arguments": [
|
|
927
|
+
{
|
|
928
|
+
"name": "IDEA_ID",
|
|
929
|
+
"required": true
|
|
930
|
+
}
|
|
931
|
+
],
|
|
932
|
+
"options": [
|
|
933
|
+
{
|
|
934
|
+
"name": "--project",
|
|
935
|
+
"aliases": [
|
|
936
|
+
"-p"
|
|
937
|
+
],
|
|
938
|
+
"required": true,
|
|
939
|
+
"description": "Project id (UUID) or key.",
|
|
940
|
+
"arguments": [
|
|
941
|
+
{
|
|
942
|
+
"name": "PROJECT",
|
|
943
|
+
"required": true
|
|
944
|
+
}
|
|
945
|
+
]
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "--body",
|
|
949
|
+
"required": true,
|
|
950
|
+
"description": "Comment body.",
|
|
951
|
+
"arguments": [
|
|
952
|
+
{
|
|
953
|
+
"name": "TEXT",
|
|
954
|
+
"required": true
|
|
955
|
+
}
|
|
956
|
+
]
|
|
957
|
+
}
|
|
958
|
+
]
|
|
959
|
+
},
|
|
960
|
+
{
|
|
961
|
+
"name": "comments",
|
|
962
|
+
"description": "List all comments of an idea (oldest first).",
|
|
963
|
+
"arguments": [
|
|
964
|
+
{
|
|
965
|
+
"name": "IDEA_ID",
|
|
966
|
+
"required": true
|
|
967
|
+
}
|
|
968
|
+
],
|
|
969
|
+
"options": [
|
|
970
|
+
{
|
|
971
|
+
"name": "--project",
|
|
972
|
+
"aliases": [
|
|
973
|
+
"-p"
|
|
974
|
+
],
|
|
975
|
+
"required": true,
|
|
976
|
+
"description": "Project id (UUID) or key.",
|
|
977
|
+
"arguments": [
|
|
978
|
+
{
|
|
979
|
+
"name": "PROJECT",
|
|
980
|
+
"required": true
|
|
981
|
+
}
|
|
982
|
+
]
|
|
983
|
+
}
|
|
984
|
+
]
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
"name": "comment-delete",
|
|
988
|
+
"description": "Delete a comment from an open idea (author, or ideas.comment.delete_any).",
|
|
989
|
+
"arguments": [
|
|
990
|
+
{
|
|
991
|
+
"name": "IDEA_ID",
|
|
992
|
+
"required": true
|
|
993
|
+
}
|
|
994
|
+
],
|
|
995
|
+
"options": [
|
|
996
|
+
{
|
|
997
|
+
"name": "--project",
|
|
998
|
+
"aliases": [
|
|
999
|
+
"-p"
|
|
1000
|
+
],
|
|
1001
|
+
"required": true,
|
|
1002
|
+
"description": "Project id (UUID) or key.",
|
|
1003
|
+
"arguments": [
|
|
1004
|
+
{
|
|
1005
|
+
"name": "PROJECT",
|
|
1006
|
+
"required": true
|
|
1007
|
+
}
|
|
1008
|
+
]
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"name": "--comment-id",
|
|
1012
|
+
"required": true,
|
|
1013
|
+
"description": "Comment id to delete.",
|
|
1014
|
+
"arguments": [
|
|
1015
|
+
{
|
|
1016
|
+
"name": "ID",
|
|
1017
|
+
"required": true
|
|
1018
|
+
}
|
|
1019
|
+
]
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
"name": "--confirm",
|
|
1023
|
+
"description": "Required: confirm the irreversible deletion."
|
|
1024
|
+
}
|
|
1025
|
+
]
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
"name": "convert",
|
|
1029
|
+
"description": "Convert an idea into a ticket. Without --title/--description the server AI synthesizes the draft from idea + comments (~30s). Author always allowed; others need ideas.convert.",
|
|
1030
|
+
"arguments": [
|
|
1031
|
+
{
|
|
1032
|
+
"name": "IDEA_ID",
|
|
1033
|
+
"required": true
|
|
1034
|
+
}
|
|
1035
|
+
],
|
|
1036
|
+
"options": [
|
|
1037
|
+
{
|
|
1038
|
+
"name": "--project",
|
|
1039
|
+
"aliases": [
|
|
1040
|
+
"-p"
|
|
1041
|
+
],
|
|
1042
|
+
"required": true,
|
|
1043
|
+
"description": "Project id (UUID) or key.",
|
|
1044
|
+
"arguments": [
|
|
1045
|
+
{
|
|
1046
|
+
"name": "PROJECT",
|
|
1047
|
+
"required": true
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
"name": "--title",
|
|
1053
|
+
"description": "Ticket title (with --description skips AI).",
|
|
1054
|
+
"arguments": [
|
|
1055
|
+
{
|
|
1056
|
+
"name": "TITLE"
|
|
1057
|
+
}
|
|
1058
|
+
]
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
"name": "--description",
|
|
1062
|
+
"description": "Ticket description (with --title skips AI).",
|
|
1063
|
+
"arguments": [
|
|
1064
|
+
{
|
|
1065
|
+
"name": "TEXT"
|
|
1066
|
+
}
|
|
1067
|
+
]
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "--kind",
|
|
1071
|
+
"description": "Ticket kind (default: feature if roadmap, else bug).",
|
|
1072
|
+
"arguments": [
|
|
1073
|
+
{
|
|
1074
|
+
"name": "KIND"
|
|
1075
|
+
}
|
|
1076
|
+
]
|
|
1077
|
+
},
|
|
1078
|
+
{
|
|
1079
|
+
"name": "--status-id",
|
|
1080
|
+
"description": "Status lookup id (default: open).",
|
|
1081
|
+
"arguments": [
|
|
1082
|
+
{
|
|
1083
|
+
"name": "ID"
|
|
1084
|
+
}
|
|
1085
|
+
]
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
"name": "--priority-id",
|
|
1089
|
+
"description": "Priority lookup id (default: medium).",
|
|
1090
|
+
"arguments": [
|
|
1091
|
+
{
|
|
1092
|
+
"name": "ID"
|
|
1093
|
+
}
|
|
1094
|
+
]
|
|
1095
|
+
}
|
|
1096
|
+
]
|
|
684
1097
|
}
|
|
685
1098
|
]
|
|
686
1099
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bussolabs/closeyourit-cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "CLI for CloseYourIt — manage org, errors, tokens and tickets with your user token",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -55,6 +55,9 @@
|
|
|
55
55
|
"tickets": {
|
|
56
56
|
"description": "Tickets: list, show, create"
|
|
57
57
|
},
|
|
58
|
+
"ideas": {
|
|
59
|
+
"description": "Project ideas: propose, vote, comment, convert to ticket (AI draft)"
|
|
60
|
+
},
|
|
58
61
|
"metrics": {
|
|
59
62
|
"description": "Performance metrics (slow queries/methods)"
|
|
60
63
|
},
|