centy 0.5.1 → 0.7.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/commands/create.d.ts +21 -0
- package/dist/commands/create.d.ts.map +1 -0
- package/dist/commands/create.js +95 -0
- package/dist/commands/create.js.map +1 -0
- package/dist/commands/get.d.ts.map +1 -1
- package/dist/commands/get.js +1 -7
- package/dist/commands/get.js.map +1 -1
- package/dist/daemon/daemon-create-item.d.ts +6 -0
- package/dist/daemon/daemon-create-item.d.ts.map +1 -0
- package/dist/daemon/daemon-create-item.js +9 -0
- package/dist/daemon/daemon-create-item.js.map +1 -0
- package/dist/utils/parse-custom-fields.d.ts +5 -0
- package/dist/utils/parse-custom-fields.d.ts.map +1 -0
- package/dist/utils/parse-custom-fields.js +19 -0
- package/dist/utils/parse-custom-fields.js.map +1 -0
- package/dist/utils/to-plural.d.ts +5 -0
- package/dist/utils/to-plural.d.ts.map +1 -0
- package/dist/utils/to-plural.js +11 -0
- package/dist/utils/to-plural.js.map +1 -0
- package/oclif.manifest.json +396 -466
- package/package.json +1 -1
- package/dist/commands/create/doc.d.ts +0 -17
- package/dist/commands/create/doc.d.ts.map +0 -1
- package/dist/commands/create/doc.js +0 -69
- package/dist/commands/create/doc.js.map +0 -1
- package/dist/commands/create/issue.d.ts +0 -19
- package/dist/commands/create/issue.d.ts.map +0 -1
- package/dist/commands/create/issue.js +0 -71
- package/dist/commands/create/issue.js.map +0 -1
- package/dist/lib/create-issue/index.d.ts +0 -2
- package/dist/lib/create-issue/index.d.ts.map +0 -1
- package/dist/lib/create-issue/index.js +0 -2
- package/dist/lib/create-issue/index.js.map +0 -1
package/oclif.manifest.json
CHANGED
|
@@ -155,6 +155,90 @@
|
|
|
155
155
|
"config.js"
|
|
156
156
|
]
|
|
157
157
|
},
|
|
158
|
+
"create": {
|
|
159
|
+
"aliases": [],
|
|
160
|
+
"args": {
|
|
161
|
+
"type": {
|
|
162
|
+
"description": "Item type (e.g., issue, doc, epic, or custom type)",
|
|
163
|
+
"name": "type",
|
|
164
|
+
"required": true
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"description": "Create a new item of any type",
|
|
168
|
+
"examples": [
|
|
169
|
+
"<%= config.bin %> create issue --title \"Bug in login\" --priority 1",
|
|
170
|
+
"<%= config.bin %> create doc --title \"Getting Started\" --body \"# Guide\"",
|
|
171
|
+
"<%= config.bin %> create epic --title \"Auth overhaul\" --status open",
|
|
172
|
+
"<%= config.bin %> create bug --title \"Crash on startup\"",
|
|
173
|
+
"<%= config.bin %> create task --title \"Review PR\" --custom-field \"assignee=alice\""
|
|
174
|
+
],
|
|
175
|
+
"flags": {
|
|
176
|
+
"title": {
|
|
177
|
+
"char": "t",
|
|
178
|
+
"description": "Item title",
|
|
179
|
+
"name": "title",
|
|
180
|
+
"required": true,
|
|
181
|
+
"hasDynamicHelp": false,
|
|
182
|
+
"multiple": false,
|
|
183
|
+
"type": "option"
|
|
184
|
+
},
|
|
185
|
+
"body": {
|
|
186
|
+
"char": "b",
|
|
187
|
+
"description": "Item body / description (markdown)",
|
|
188
|
+
"name": "body",
|
|
189
|
+
"default": "",
|
|
190
|
+
"hasDynamicHelp": false,
|
|
191
|
+
"multiple": false,
|
|
192
|
+
"type": "option"
|
|
193
|
+
},
|
|
194
|
+
"status": {
|
|
195
|
+
"char": "s",
|
|
196
|
+
"description": "Initial status (empty = use type default)",
|
|
197
|
+
"name": "status",
|
|
198
|
+
"default": "",
|
|
199
|
+
"hasDynamicHelp": false,
|
|
200
|
+
"multiple": false,
|
|
201
|
+
"type": "option"
|
|
202
|
+
},
|
|
203
|
+
"priority": {
|
|
204
|
+
"char": "p",
|
|
205
|
+
"description": "Priority level (0 = use default)",
|
|
206
|
+
"name": "priority",
|
|
207
|
+
"default": 0,
|
|
208
|
+
"hasDynamicHelp": false,
|
|
209
|
+
"multiple": false,
|
|
210
|
+
"type": "option"
|
|
211
|
+
},
|
|
212
|
+
"custom-field": {
|
|
213
|
+
"description": "Custom field as key=value (repeatable)",
|
|
214
|
+
"name": "custom-field",
|
|
215
|
+
"hasDynamicHelp": false,
|
|
216
|
+
"multiple": true,
|
|
217
|
+
"type": "option"
|
|
218
|
+
},
|
|
219
|
+
"project": {
|
|
220
|
+
"description": "Project name or path (defaults to current directory)",
|
|
221
|
+
"name": "project",
|
|
222
|
+
"hasDynamicHelp": false,
|
|
223
|
+
"multiple": false,
|
|
224
|
+
"type": "option"
|
|
225
|
+
}
|
|
226
|
+
},
|
|
227
|
+
"hasDynamicHelp": false,
|
|
228
|
+
"hiddenAliases": [],
|
|
229
|
+
"id": "create",
|
|
230
|
+
"pluginAlias": "centy",
|
|
231
|
+
"pluginName": "centy",
|
|
232
|
+
"pluginType": "core",
|
|
233
|
+
"strict": true,
|
|
234
|
+
"enableJsonFlag": false,
|
|
235
|
+
"isESM": true,
|
|
236
|
+
"relativePath": [
|
|
237
|
+
"dist",
|
|
238
|
+
"commands",
|
|
239
|
+
"create.js"
|
|
240
|
+
]
|
|
241
|
+
},
|
|
158
242
|
"get": {
|
|
159
243
|
"aliases": [],
|
|
160
244
|
"args": {
|
|
@@ -891,42 +975,72 @@
|
|
|
891
975
|
"status.js"
|
|
892
976
|
]
|
|
893
977
|
},
|
|
894
|
-
"
|
|
978
|
+
"create:item-type": {
|
|
895
979
|
"aliases": [],
|
|
896
|
-
"args": {
|
|
897
|
-
|
|
898
|
-
"description": "Doc slug",
|
|
899
|
-
"name": "slug",
|
|
900
|
-
"required": true
|
|
901
|
-
}
|
|
902
|
-
},
|
|
903
|
-
"description": "Duplicate a doc (same project or different project)",
|
|
980
|
+
"args": {},
|
|
981
|
+
"description": "Create a new custom item type",
|
|
904
982
|
"examples": [
|
|
905
|
-
"<%= config.bin %>
|
|
906
|
-
"<%= config.bin %>
|
|
907
|
-
"<%= config.bin %> duplicate doc api-guide --to /path/to/other/project",
|
|
908
|
-
"<%= config.bin %> duplicate doc spec --to ../other --new-slug spec-copy --title \"Spec Copy\""
|
|
983
|
+
"<%= config.bin %> create item-type --name \"Bug\" --plural \"bugs\" --identifier uuid --statuses open,in-progress,closed --default-status open --priority-levels 3 --features display-number,status,priority,move,duplicate",
|
|
984
|
+
"<%= config.bin %> create item-type --name \"Task\" --plural \"tasks\" --identifier slug --statuses todo,doing,done --default-status todo --features status,priority"
|
|
909
985
|
],
|
|
910
986
|
"flags": {
|
|
911
|
-
"
|
|
912
|
-
"char": "
|
|
913
|
-
"description": "
|
|
914
|
-
"name": "
|
|
987
|
+
"name": {
|
|
988
|
+
"char": "n",
|
|
989
|
+
"description": "Singular display name (e.g., \"Bug\", \"Task\", \"Epic\")",
|
|
990
|
+
"name": "name",
|
|
991
|
+
"required": true,
|
|
915
992
|
"hasDynamicHelp": false,
|
|
916
993
|
"multiple": false,
|
|
917
994
|
"type": "option"
|
|
918
995
|
},
|
|
919
|
-
"
|
|
920
|
-
"
|
|
921
|
-
"
|
|
922
|
-
"
|
|
996
|
+
"plural": {
|
|
997
|
+
"description": "Folder/type key, lowercase alphanumeric + hyphens (e.g., \"bugs\")",
|
|
998
|
+
"name": "plural",
|
|
999
|
+
"required": true,
|
|
923
1000
|
"hasDynamicHelp": false,
|
|
924
1001
|
"multiple": false,
|
|
925
1002
|
"type": "option"
|
|
926
1003
|
},
|
|
927
|
-
"
|
|
928
|
-
"description": "
|
|
929
|
-
"name": "
|
|
1004
|
+
"identifier": {
|
|
1005
|
+
"description": "Identifier type for items",
|
|
1006
|
+
"name": "identifier",
|
|
1007
|
+
"required": true,
|
|
1008
|
+
"hasDynamicHelp": false,
|
|
1009
|
+
"multiple": false,
|
|
1010
|
+
"options": [
|
|
1011
|
+
"uuid",
|
|
1012
|
+
"slug"
|
|
1013
|
+
],
|
|
1014
|
+
"type": "option"
|
|
1015
|
+
},
|
|
1016
|
+
"statuses": {
|
|
1017
|
+
"description": "Comma-separated list of allowed statuses",
|
|
1018
|
+
"name": "statuses",
|
|
1019
|
+
"required": true,
|
|
1020
|
+
"hasDynamicHelp": false,
|
|
1021
|
+
"multiple": false,
|
|
1022
|
+
"type": "option"
|
|
1023
|
+
},
|
|
1024
|
+
"default-status": {
|
|
1025
|
+
"description": "Default status for new items (must be in statuses list)",
|
|
1026
|
+
"name": "default-status",
|
|
1027
|
+
"required": true,
|
|
1028
|
+
"hasDynamicHelp": false,
|
|
1029
|
+
"multiple": false,
|
|
1030
|
+
"type": "option"
|
|
1031
|
+
},
|
|
1032
|
+
"priority-levels": {
|
|
1033
|
+
"description": "Number of priority levels (0 = none)",
|
|
1034
|
+
"name": "priority-levels",
|
|
1035
|
+
"default": 0,
|
|
1036
|
+
"hasDynamicHelp": false,
|
|
1037
|
+
"multiple": false,
|
|
1038
|
+
"type": "option"
|
|
1039
|
+
},
|
|
1040
|
+
"features": {
|
|
1041
|
+
"char": "f",
|
|
1042
|
+
"description": "Comma-separated features (display-number, status, priority, assets, org-sync, move, duplicate)",
|
|
1043
|
+
"name": "features",
|
|
930
1044
|
"hasDynamicHelp": false,
|
|
931
1045
|
"multiple": false,
|
|
932
1046
|
"type": "option"
|
|
@@ -941,7 +1055,7 @@
|
|
|
941
1055
|
},
|
|
942
1056
|
"hasDynamicHelp": false,
|
|
943
1057
|
"hiddenAliases": [],
|
|
944
|
-
"id": "
|
|
1058
|
+
"id": "create:item-type",
|
|
945
1059
|
"pluginAlias": "centy",
|
|
946
1060
|
"pluginName": "centy",
|
|
947
1061
|
"pluginType": "core",
|
|
@@ -951,53 +1065,55 @@
|
|
|
951
1065
|
"relativePath": [
|
|
952
1066
|
"dist",
|
|
953
1067
|
"commands",
|
|
954
|
-
"
|
|
955
|
-
"
|
|
1068
|
+
"create",
|
|
1069
|
+
"item-type.js"
|
|
956
1070
|
]
|
|
957
1071
|
},
|
|
958
|
-
"
|
|
959
|
-
"aliases": [
|
|
1072
|
+
"create:org": {
|
|
1073
|
+
"aliases": [
|
|
1074
|
+
"create:organization"
|
|
1075
|
+
],
|
|
960
1076
|
"args": {
|
|
961
|
-
"
|
|
962
|
-
"description": "
|
|
963
|
-
"name": "
|
|
1077
|
+
"name": {
|
|
1078
|
+
"description": "Organization display name",
|
|
1079
|
+
"name": "name",
|
|
964
1080
|
"required": true
|
|
965
1081
|
}
|
|
966
1082
|
},
|
|
967
|
-
"description": "
|
|
1083
|
+
"description": "Create a new organization to group projects",
|
|
968
1084
|
"examples": [
|
|
969
|
-
"<%= config.bin %>
|
|
970
|
-
"<%= config.bin %>
|
|
971
|
-
"<%= config.bin %>
|
|
972
|
-
"<%= config.bin %>
|
|
1085
|
+
"<%= config.bin %> create org \"My Company\"",
|
|
1086
|
+
"<%= config.bin %> create org \"Centy.io\" --slug centy-io",
|
|
1087
|
+
"<%= config.bin %> create org \"My Org\" --description \"Official projects\"",
|
|
1088
|
+
"<%= config.bin %> create organization \"Work Projects\""
|
|
973
1089
|
],
|
|
974
1090
|
"flags": {
|
|
975
|
-
"
|
|
976
|
-
"char": "
|
|
977
|
-
"description": "
|
|
978
|
-
"name": "
|
|
1091
|
+
"slug": {
|
|
1092
|
+
"char": "s",
|
|
1093
|
+
"description": "Custom slug (auto-generated from name if not provided)",
|
|
1094
|
+
"name": "slug",
|
|
979
1095
|
"hasDynamicHelp": false,
|
|
980
1096
|
"multiple": false,
|
|
981
1097
|
"type": "option"
|
|
982
1098
|
},
|
|
983
|
-
"
|
|
984
|
-
"
|
|
985
|
-
"
|
|
1099
|
+
"description": {
|
|
1100
|
+
"char": "d",
|
|
1101
|
+
"description": "Organization description",
|
|
1102
|
+
"name": "description",
|
|
986
1103
|
"hasDynamicHelp": false,
|
|
987
1104
|
"multiple": false,
|
|
988
1105
|
"type": "option"
|
|
989
1106
|
},
|
|
990
|
-
"
|
|
991
|
-
"description": "
|
|
992
|
-
"name": "
|
|
993
|
-
"
|
|
994
|
-
"
|
|
995
|
-
"type": "option"
|
|
1107
|
+
"json": {
|
|
1108
|
+
"description": "Output as JSON",
|
|
1109
|
+
"name": "json",
|
|
1110
|
+
"allowNo": false,
|
|
1111
|
+
"type": "boolean"
|
|
996
1112
|
}
|
|
997
1113
|
},
|
|
998
1114
|
"hasDynamicHelp": false,
|
|
999
1115
|
"hiddenAliases": [],
|
|
1000
|
-
"id": "
|
|
1116
|
+
"id": "create:org",
|
|
1001
1117
|
"pluginAlias": "centy",
|
|
1002
1118
|
"pluginName": "centy",
|
|
1003
1119
|
"pluginType": "core",
|
|
@@ -1007,52 +1123,246 @@
|
|
|
1007
1123
|
"relativePath": [
|
|
1008
1124
|
"dist",
|
|
1009
1125
|
"commands",
|
|
1010
|
-
"
|
|
1011
|
-
"
|
|
1126
|
+
"create",
|
|
1127
|
+
"org.js"
|
|
1012
1128
|
]
|
|
1013
1129
|
},
|
|
1014
|
-
"
|
|
1130
|
+
"create:user": {
|
|
1015
1131
|
"aliases": [],
|
|
1016
|
-
"args": {
|
|
1017
|
-
|
|
1018
|
-
"description": "Asset filename",
|
|
1019
|
-
"name": "filename",
|
|
1020
|
-
"required": true
|
|
1021
|
-
}
|
|
1022
|
-
},
|
|
1023
|
-
"description": "Delete an asset",
|
|
1132
|
+
"args": {},
|
|
1133
|
+
"description": "Create a new user in the project",
|
|
1024
1134
|
"examples": [
|
|
1025
|
-
"<%= config.bin %>
|
|
1026
|
-
"<%= config.bin %>
|
|
1027
|
-
"<%= config.bin %>
|
|
1028
|
-
"<%= config.bin %>
|
|
1135
|
+
"<%= config.bin %> create user --name \"John Doe\"",
|
|
1136
|
+
"<%= config.bin %> create user --id john-doe --name \"John Doe\" --email john@example.com",
|
|
1137
|
+
"<%= config.bin %> create user -n \"Alice\" -g alice-dev -g alice-work",
|
|
1138
|
+
"<%= config.bin %> create user --name \"Bob\" --project centy-daemon"
|
|
1029
1139
|
],
|
|
1030
1140
|
"flags": {
|
|
1031
|
-
"
|
|
1141
|
+
"id": {
|
|
1032
1142
|
"char": "i",
|
|
1033
|
-
"description": "
|
|
1034
|
-
"name": "
|
|
1143
|
+
"description": "User ID (slug format, auto-generated from name if not provided)",
|
|
1144
|
+
"name": "id",
|
|
1035
1145
|
"hasDynamicHelp": false,
|
|
1036
1146
|
"multiple": false,
|
|
1037
1147
|
"type": "option"
|
|
1038
1148
|
},
|
|
1039
|
-
"
|
|
1040
|
-
"char": "
|
|
1041
|
-
"description": "
|
|
1042
|
-
"name": "
|
|
1043
|
-
"
|
|
1044
|
-
"
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
"char": "f",
|
|
1048
|
-
"description": "Skip confirmation prompt",
|
|
1049
|
-
"name": "force",
|
|
1050
|
-
"allowNo": false,
|
|
1051
|
-
"type": "boolean"
|
|
1149
|
+
"name": {
|
|
1150
|
+
"char": "n",
|
|
1151
|
+
"description": "Display name (required)",
|
|
1152
|
+
"name": "name",
|
|
1153
|
+
"required": true,
|
|
1154
|
+
"hasDynamicHelp": false,
|
|
1155
|
+
"multiple": false,
|
|
1156
|
+
"type": "option"
|
|
1052
1157
|
},
|
|
1053
|
-
"
|
|
1054
|
-
"
|
|
1055
|
-
"
|
|
1158
|
+
"email": {
|
|
1159
|
+
"char": "e",
|
|
1160
|
+
"description": "Email address",
|
|
1161
|
+
"name": "email",
|
|
1162
|
+
"hasDynamicHelp": false,
|
|
1163
|
+
"multiple": false,
|
|
1164
|
+
"type": "option"
|
|
1165
|
+
},
|
|
1166
|
+
"git-username": {
|
|
1167
|
+
"char": "g",
|
|
1168
|
+
"description": "Git username (can be specified multiple times)",
|
|
1169
|
+
"name": "git-username",
|
|
1170
|
+
"hasDynamicHelp": false,
|
|
1171
|
+
"multiple": true,
|
|
1172
|
+
"type": "option"
|
|
1173
|
+
},
|
|
1174
|
+
"json": {
|
|
1175
|
+
"description": "Output as JSON",
|
|
1176
|
+
"name": "json",
|
|
1177
|
+
"allowNo": false,
|
|
1178
|
+
"type": "boolean"
|
|
1179
|
+
},
|
|
1180
|
+
"project": {
|
|
1181
|
+
"description": "Project name or path (defaults to current directory)",
|
|
1182
|
+
"name": "project",
|
|
1183
|
+
"hasDynamicHelp": false,
|
|
1184
|
+
"multiple": false,
|
|
1185
|
+
"type": "option"
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
"hasDynamicHelp": false,
|
|
1189
|
+
"hiddenAliases": [],
|
|
1190
|
+
"id": "create:user",
|
|
1191
|
+
"pluginAlias": "centy",
|
|
1192
|
+
"pluginName": "centy",
|
|
1193
|
+
"pluginType": "core",
|
|
1194
|
+
"strict": true,
|
|
1195
|
+
"enableJsonFlag": false,
|
|
1196
|
+
"isESM": true,
|
|
1197
|
+
"relativePath": [
|
|
1198
|
+
"dist",
|
|
1199
|
+
"commands",
|
|
1200
|
+
"create",
|
|
1201
|
+
"user.js"
|
|
1202
|
+
]
|
|
1203
|
+
},
|
|
1204
|
+
"duplicate:doc": {
|
|
1205
|
+
"aliases": [],
|
|
1206
|
+
"args": {
|
|
1207
|
+
"slug": {
|
|
1208
|
+
"description": "Doc slug",
|
|
1209
|
+
"name": "slug",
|
|
1210
|
+
"required": true
|
|
1211
|
+
}
|
|
1212
|
+
},
|
|
1213
|
+
"description": "Duplicate a doc (same project or different project)",
|
|
1214
|
+
"examples": [
|
|
1215
|
+
"<%= config.bin %> duplicate doc my-doc",
|
|
1216
|
+
"<%= config.bin %> duplicate doc readme --new-slug readme-v2",
|
|
1217
|
+
"<%= config.bin %> duplicate doc api-guide --to /path/to/other/project",
|
|
1218
|
+
"<%= config.bin %> duplicate doc spec --to ../other --new-slug spec-copy --title \"Spec Copy\""
|
|
1219
|
+
],
|
|
1220
|
+
"flags": {
|
|
1221
|
+
"to": {
|
|
1222
|
+
"char": "t",
|
|
1223
|
+
"description": "Target project path (defaults to same project if not specified)",
|
|
1224
|
+
"name": "to",
|
|
1225
|
+
"hasDynamicHelp": false,
|
|
1226
|
+
"multiple": false,
|
|
1227
|
+
"type": "option"
|
|
1228
|
+
},
|
|
1229
|
+
"new-slug": {
|
|
1230
|
+
"char": "s",
|
|
1231
|
+
"description": "Slug for the duplicate (defaults to \"{slug}-copy\")",
|
|
1232
|
+
"name": "new-slug",
|
|
1233
|
+
"hasDynamicHelp": false,
|
|
1234
|
+
"multiple": false,
|
|
1235
|
+
"type": "option"
|
|
1236
|
+
},
|
|
1237
|
+
"title": {
|
|
1238
|
+
"description": "Title for the duplicate (defaults to \"Copy of {original}\")",
|
|
1239
|
+
"name": "title",
|
|
1240
|
+
"hasDynamicHelp": false,
|
|
1241
|
+
"multiple": false,
|
|
1242
|
+
"type": "option"
|
|
1243
|
+
},
|
|
1244
|
+
"project": {
|
|
1245
|
+
"description": "Project name or path (defaults to current directory)",
|
|
1246
|
+
"name": "project",
|
|
1247
|
+
"hasDynamicHelp": false,
|
|
1248
|
+
"multiple": false,
|
|
1249
|
+
"type": "option"
|
|
1250
|
+
}
|
|
1251
|
+
},
|
|
1252
|
+
"hasDynamicHelp": false,
|
|
1253
|
+
"hiddenAliases": [],
|
|
1254
|
+
"id": "duplicate:doc",
|
|
1255
|
+
"pluginAlias": "centy",
|
|
1256
|
+
"pluginName": "centy",
|
|
1257
|
+
"pluginType": "core",
|
|
1258
|
+
"strict": true,
|
|
1259
|
+
"enableJsonFlag": false,
|
|
1260
|
+
"isESM": true,
|
|
1261
|
+
"relativePath": [
|
|
1262
|
+
"dist",
|
|
1263
|
+
"commands",
|
|
1264
|
+
"duplicate",
|
|
1265
|
+
"doc.js"
|
|
1266
|
+
]
|
|
1267
|
+
},
|
|
1268
|
+
"duplicate:issue": {
|
|
1269
|
+
"aliases": [],
|
|
1270
|
+
"args": {
|
|
1271
|
+
"id": {
|
|
1272
|
+
"description": "Issue ID (UUID) or display number",
|
|
1273
|
+
"name": "id",
|
|
1274
|
+
"required": true
|
|
1275
|
+
}
|
|
1276
|
+
},
|
|
1277
|
+
"description": "Duplicate an issue (same project or different project)",
|
|
1278
|
+
"examples": [
|
|
1279
|
+
"<%= config.bin %> duplicate issue 1",
|
|
1280
|
+
"<%= config.bin %> duplicate issue 1 --title \"New feature branch\"",
|
|
1281
|
+
"<%= config.bin %> duplicate issue abc123-uuid --to /path/to/other/project",
|
|
1282
|
+
"<%= config.bin %> duplicate issue 5 --to ../other --title \"Copy for testing\""
|
|
1283
|
+
],
|
|
1284
|
+
"flags": {
|
|
1285
|
+
"to": {
|
|
1286
|
+
"char": "t",
|
|
1287
|
+
"description": "Target project path (defaults to same project if not specified)",
|
|
1288
|
+
"name": "to",
|
|
1289
|
+
"hasDynamicHelp": false,
|
|
1290
|
+
"multiple": false,
|
|
1291
|
+
"type": "option"
|
|
1292
|
+
},
|
|
1293
|
+
"title": {
|
|
1294
|
+
"description": "Title for the duplicate (defaults to \"Copy of {original}\")",
|
|
1295
|
+
"name": "title",
|
|
1296
|
+
"hasDynamicHelp": false,
|
|
1297
|
+
"multiple": false,
|
|
1298
|
+
"type": "option"
|
|
1299
|
+
},
|
|
1300
|
+
"project": {
|
|
1301
|
+
"description": "Project name or path (defaults to current directory)",
|
|
1302
|
+
"name": "project",
|
|
1303
|
+
"hasDynamicHelp": false,
|
|
1304
|
+
"multiple": false,
|
|
1305
|
+
"type": "option"
|
|
1306
|
+
}
|
|
1307
|
+
},
|
|
1308
|
+
"hasDynamicHelp": false,
|
|
1309
|
+
"hiddenAliases": [],
|
|
1310
|
+
"id": "duplicate:issue",
|
|
1311
|
+
"pluginAlias": "centy",
|
|
1312
|
+
"pluginName": "centy",
|
|
1313
|
+
"pluginType": "core",
|
|
1314
|
+
"strict": true,
|
|
1315
|
+
"enableJsonFlag": false,
|
|
1316
|
+
"isESM": true,
|
|
1317
|
+
"relativePath": [
|
|
1318
|
+
"dist",
|
|
1319
|
+
"commands",
|
|
1320
|
+
"duplicate",
|
|
1321
|
+
"issue.js"
|
|
1322
|
+
]
|
|
1323
|
+
},
|
|
1324
|
+
"delete:asset": {
|
|
1325
|
+
"aliases": [],
|
|
1326
|
+
"args": {
|
|
1327
|
+
"filename": {
|
|
1328
|
+
"description": "Asset filename",
|
|
1329
|
+
"name": "filename",
|
|
1330
|
+
"required": true
|
|
1331
|
+
}
|
|
1332
|
+
},
|
|
1333
|
+
"description": "Delete an asset",
|
|
1334
|
+
"examples": [
|
|
1335
|
+
"<%= config.bin %> delete asset screenshot.png --issue 1",
|
|
1336
|
+
"<%= config.bin %> delete asset logo.svg --shared",
|
|
1337
|
+
"<%= config.bin %> delete asset old-image.png --issue 1 --force",
|
|
1338
|
+
"<%= config.bin %> delete asset screenshot.png --issue 1 --project centy-daemon"
|
|
1339
|
+
],
|
|
1340
|
+
"flags": {
|
|
1341
|
+
"issue": {
|
|
1342
|
+
"char": "i",
|
|
1343
|
+
"description": "Issue ID or display number",
|
|
1344
|
+
"name": "issue",
|
|
1345
|
+
"hasDynamicHelp": false,
|
|
1346
|
+
"multiple": false,
|
|
1347
|
+
"type": "option"
|
|
1348
|
+
},
|
|
1349
|
+
"shared": {
|
|
1350
|
+
"char": "s",
|
|
1351
|
+
"description": "Delete a shared asset",
|
|
1352
|
+
"name": "shared",
|
|
1353
|
+
"allowNo": false,
|
|
1354
|
+
"type": "boolean"
|
|
1355
|
+
},
|
|
1356
|
+
"force": {
|
|
1357
|
+
"char": "f",
|
|
1358
|
+
"description": "Skip confirmation prompt",
|
|
1359
|
+
"name": "force",
|
|
1360
|
+
"allowNo": false,
|
|
1361
|
+
"type": "boolean"
|
|
1362
|
+
},
|
|
1363
|
+
"project": {
|
|
1364
|
+
"description": "Project name or path (defaults to current directory)",
|
|
1365
|
+
"name": "project",
|
|
1056
1366
|
"hasDynamicHelp": false,
|
|
1057
1367
|
"multiple": false,
|
|
1058
1368
|
"type": "option"
|
|
@@ -1403,386 +1713,6 @@
|
|
|
1403
1713
|
"project.js"
|
|
1404
1714
|
]
|
|
1405
1715
|
},
|
|
1406
|
-
"create:doc": {
|
|
1407
|
-
"aliases": [],
|
|
1408
|
-
"args": {},
|
|
1409
|
-
"description": "Create a new documentation file",
|
|
1410
|
-
"examples": [
|
|
1411
|
-
"<%= config.bin %> create doc --title \"Getting Started\"",
|
|
1412
|
-
"<%= config.bin %> create doc -t \"API Reference\" -c \"# API\n\nDocumentation here\"",
|
|
1413
|
-
"<%= config.bin %> create doc --title \"Guide\" --slug my-guide",
|
|
1414
|
-
"<%= config.bin %> create doc --title \"Guide\" --project centy-daemon"
|
|
1415
|
-
],
|
|
1416
|
-
"flags": {
|
|
1417
|
-
"title": {
|
|
1418
|
-
"char": "t",
|
|
1419
|
-
"description": "Doc title",
|
|
1420
|
-
"name": "title",
|
|
1421
|
-
"required": true,
|
|
1422
|
-
"hasDynamicHelp": false,
|
|
1423
|
-
"multiple": false,
|
|
1424
|
-
"type": "option"
|
|
1425
|
-
},
|
|
1426
|
-
"content": {
|
|
1427
|
-
"char": "c",
|
|
1428
|
-
"description": "Doc content (markdown)",
|
|
1429
|
-
"name": "content",
|
|
1430
|
-
"default": "",
|
|
1431
|
-
"hasDynamicHelp": false,
|
|
1432
|
-
"multiple": false,
|
|
1433
|
-
"type": "option"
|
|
1434
|
-
},
|
|
1435
|
-
"slug": {
|
|
1436
|
-
"description": "Custom slug (auto-generated from title if not provided)",
|
|
1437
|
-
"name": "slug",
|
|
1438
|
-
"hasDynamicHelp": false,
|
|
1439
|
-
"multiple": false,
|
|
1440
|
-
"type": "option"
|
|
1441
|
-
},
|
|
1442
|
-
"template": {
|
|
1443
|
-
"description": "Template name to use",
|
|
1444
|
-
"name": "template",
|
|
1445
|
-
"hasDynamicHelp": false,
|
|
1446
|
-
"multiple": false,
|
|
1447
|
-
"type": "option"
|
|
1448
|
-
},
|
|
1449
|
-
"project": {
|
|
1450
|
-
"description": "Project name or path (defaults to current directory)",
|
|
1451
|
-
"name": "project",
|
|
1452
|
-
"hasDynamicHelp": false,
|
|
1453
|
-
"multiple": false,
|
|
1454
|
-
"type": "option"
|
|
1455
|
-
}
|
|
1456
|
-
},
|
|
1457
|
-
"hasDynamicHelp": false,
|
|
1458
|
-
"hiddenAliases": [],
|
|
1459
|
-
"id": "create:doc",
|
|
1460
|
-
"pluginAlias": "centy",
|
|
1461
|
-
"pluginName": "centy",
|
|
1462
|
-
"pluginType": "core",
|
|
1463
|
-
"strict": true,
|
|
1464
|
-
"enableJsonFlag": false,
|
|
1465
|
-
"isESM": true,
|
|
1466
|
-
"relativePath": [
|
|
1467
|
-
"dist",
|
|
1468
|
-
"commands",
|
|
1469
|
-
"create",
|
|
1470
|
-
"doc.js"
|
|
1471
|
-
]
|
|
1472
|
-
},
|
|
1473
|
-
"create:issue": {
|
|
1474
|
-
"aliases": [],
|
|
1475
|
-
"args": {},
|
|
1476
|
-
"description": "Create a new issue in the .centy folder",
|
|
1477
|
-
"examples": [
|
|
1478
|
-
"<%= config.bin %> create issue",
|
|
1479
|
-
"<%= config.bin %> create issue --title \"Bug in login\" --priority high",
|
|
1480
|
-
"<%= config.bin %> create issue -t \"Add feature\" -d \"Implement dark mode\"",
|
|
1481
|
-
"<%= config.bin %> create issue -t \"Add feature\" --project centy-daemon",
|
|
1482
|
-
"<%= config.bin %> create issue --title \"WIP feature\" --draft",
|
|
1483
|
-
"<%= config.bin %> create issue --title \"Cross-org bug\" --org"
|
|
1484
|
-
],
|
|
1485
|
-
"flags": {
|
|
1486
|
-
"title": {
|
|
1487
|
-
"char": "t",
|
|
1488
|
-
"description": "Issue title",
|
|
1489
|
-
"name": "title",
|
|
1490
|
-
"hasDynamicHelp": false,
|
|
1491
|
-
"multiple": false,
|
|
1492
|
-
"type": "option"
|
|
1493
|
-
},
|
|
1494
|
-
"description": {
|
|
1495
|
-
"char": "d",
|
|
1496
|
-
"description": "Issue description",
|
|
1497
|
-
"name": "description",
|
|
1498
|
-
"hasDynamicHelp": false,
|
|
1499
|
-
"multiple": false,
|
|
1500
|
-
"type": "option"
|
|
1501
|
-
},
|
|
1502
|
-
"priority": {
|
|
1503
|
-
"char": "p",
|
|
1504
|
-
"description": "Priority level (low/medium/high)",
|
|
1505
|
-
"name": "priority",
|
|
1506
|
-
"hasDynamicHelp": false,
|
|
1507
|
-
"multiple": false,
|
|
1508
|
-
"options": [
|
|
1509
|
-
"low",
|
|
1510
|
-
"medium",
|
|
1511
|
-
"high"
|
|
1512
|
-
],
|
|
1513
|
-
"type": "option"
|
|
1514
|
-
},
|
|
1515
|
-
"status": {
|
|
1516
|
-
"char": "s",
|
|
1517
|
-
"description": "Initial status",
|
|
1518
|
-
"name": "status",
|
|
1519
|
-
"default": "open",
|
|
1520
|
-
"hasDynamicHelp": false,
|
|
1521
|
-
"multiple": false,
|
|
1522
|
-
"type": "option"
|
|
1523
|
-
},
|
|
1524
|
-
"draft": {
|
|
1525
|
-
"description": "Create as draft",
|
|
1526
|
-
"name": "draft",
|
|
1527
|
-
"allowNo": false,
|
|
1528
|
-
"type": "boolean"
|
|
1529
|
-
},
|
|
1530
|
-
"org": {
|
|
1531
|
-
"description": "Create as an org-wide issue",
|
|
1532
|
-
"name": "org",
|
|
1533
|
-
"allowNo": false,
|
|
1534
|
-
"type": "boolean"
|
|
1535
|
-
},
|
|
1536
|
-
"project": {
|
|
1537
|
-
"description": "Project name or path (defaults to current directory)",
|
|
1538
|
-
"name": "project",
|
|
1539
|
-
"hasDynamicHelp": false,
|
|
1540
|
-
"multiple": false,
|
|
1541
|
-
"type": "option"
|
|
1542
|
-
}
|
|
1543
|
-
},
|
|
1544
|
-
"hasDynamicHelp": false,
|
|
1545
|
-
"hiddenAliases": [],
|
|
1546
|
-
"id": "create:issue",
|
|
1547
|
-
"pluginAlias": "centy",
|
|
1548
|
-
"pluginName": "centy",
|
|
1549
|
-
"pluginType": "core",
|
|
1550
|
-
"strict": true,
|
|
1551
|
-
"enableJsonFlag": false,
|
|
1552
|
-
"isESM": true,
|
|
1553
|
-
"relativePath": [
|
|
1554
|
-
"dist",
|
|
1555
|
-
"commands",
|
|
1556
|
-
"create",
|
|
1557
|
-
"issue.js"
|
|
1558
|
-
]
|
|
1559
|
-
},
|
|
1560
|
-
"create:item-type": {
|
|
1561
|
-
"aliases": [],
|
|
1562
|
-
"args": {},
|
|
1563
|
-
"description": "Create a new custom item type",
|
|
1564
|
-
"examples": [
|
|
1565
|
-
"<%= config.bin %> create item-type --name \"Bug\" --plural \"bugs\" --identifier uuid --statuses open,in-progress,closed --default-status open --priority-levels 3 --features display-number,status,priority,move,duplicate",
|
|
1566
|
-
"<%= config.bin %> create item-type --name \"Task\" --plural \"tasks\" --identifier slug --statuses todo,doing,done --default-status todo --features status,priority"
|
|
1567
|
-
],
|
|
1568
|
-
"flags": {
|
|
1569
|
-
"name": {
|
|
1570
|
-
"char": "n",
|
|
1571
|
-
"description": "Singular display name (e.g., \"Bug\", \"Task\", \"Epic\")",
|
|
1572
|
-
"name": "name",
|
|
1573
|
-
"required": true,
|
|
1574
|
-
"hasDynamicHelp": false,
|
|
1575
|
-
"multiple": false,
|
|
1576
|
-
"type": "option"
|
|
1577
|
-
},
|
|
1578
|
-
"plural": {
|
|
1579
|
-
"description": "Folder/type key, lowercase alphanumeric + hyphens (e.g., \"bugs\")",
|
|
1580
|
-
"name": "plural",
|
|
1581
|
-
"required": true,
|
|
1582
|
-
"hasDynamicHelp": false,
|
|
1583
|
-
"multiple": false,
|
|
1584
|
-
"type": "option"
|
|
1585
|
-
},
|
|
1586
|
-
"identifier": {
|
|
1587
|
-
"description": "Identifier type for items",
|
|
1588
|
-
"name": "identifier",
|
|
1589
|
-
"required": true,
|
|
1590
|
-
"hasDynamicHelp": false,
|
|
1591
|
-
"multiple": false,
|
|
1592
|
-
"options": [
|
|
1593
|
-
"uuid",
|
|
1594
|
-
"slug"
|
|
1595
|
-
],
|
|
1596
|
-
"type": "option"
|
|
1597
|
-
},
|
|
1598
|
-
"statuses": {
|
|
1599
|
-
"description": "Comma-separated list of allowed statuses",
|
|
1600
|
-
"name": "statuses",
|
|
1601
|
-
"required": true,
|
|
1602
|
-
"hasDynamicHelp": false,
|
|
1603
|
-
"multiple": false,
|
|
1604
|
-
"type": "option"
|
|
1605
|
-
},
|
|
1606
|
-
"default-status": {
|
|
1607
|
-
"description": "Default status for new items (must be in statuses list)",
|
|
1608
|
-
"name": "default-status",
|
|
1609
|
-
"required": true,
|
|
1610
|
-
"hasDynamicHelp": false,
|
|
1611
|
-
"multiple": false,
|
|
1612
|
-
"type": "option"
|
|
1613
|
-
},
|
|
1614
|
-
"priority-levels": {
|
|
1615
|
-
"description": "Number of priority levels (0 = none)",
|
|
1616
|
-
"name": "priority-levels",
|
|
1617
|
-
"default": 0,
|
|
1618
|
-
"hasDynamicHelp": false,
|
|
1619
|
-
"multiple": false,
|
|
1620
|
-
"type": "option"
|
|
1621
|
-
},
|
|
1622
|
-
"features": {
|
|
1623
|
-
"char": "f",
|
|
1624
|
-
"description": "Comma-separated features (display-number, status, priority, assets, org-sync, move, duplicate)",
|
|
1625
|
-
"name": "features",
|
|
1626
|
-
"hasDynamicHelp": false,
|
|
1627
|
-
"multiple": false,
|
|
1628
|
-
"type": "option"
|
|
1629
|
-
},
|
|
1630
|
-
"project": {
|
|
1631
|
-
"description": "Project name or path (defaults to current directory)",
|
|
1632
|
-
"name": "project",
|
|
1633
|
-
"hasDynamicHelp": false,
|
|
1634
|
-
"multiple": false,
|
|
1635
|
-
"type": "option"
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
"hasDynamicHelp": false,
|
|
1639
|
-
"hiddenAliases": [],
|
|
1640
|
-
"id": "create:item-type",
|
|
1641
|
-
"pluginAlias": "centy",
|
|
1642
|
-
"pluginName": "centy",
|
|
1643
|
-
"pluginType": "core",
|
|
1644
|
-
"strict": true,
|
|
1645
|
-
"enableJsonFlag": false,
|
|
1646
|
-
"isESM": true,
|
|
1647
|
-
"relativePath": [
|
|
1648
|
-
"dist",
|
|
1649
|
-
"commands",
|
|
1650
|
-
"create",
|
|
1651
|
-
"item-type.js"
|
|
1652
|
-
]
|
|
1653
|
-
},
|
|
1654
|
-
"create:org": {
|
|
1655
|
-
"aliases": [
|
|
1656
|
-
"create:organization"
|
|
1657
|
-
],
|
|
1658
|
-
"args": {
|
|
1659
|
-
"name": {
|
|
1660
|
-
"description": "Organization display name",
|
|
1661
|
-
"name": "name",
|
|
1662
|
-
"required": true
|
|
1663
|
-
}
|
|
1664
|
-
},
|
|
1665
|
-
"description": "Create a new organization to group projects",
|
|
1666
|
-
"examples": [
|
|
1667
|
-
"<%= config.bin %> create org \"My Company\"",
|
|
1668
|
-
"<%= config.bin %> create org \"Centy.io\" --slug centy-io",
|
|
1669
|
-
"<%= config.bin %> create org \"My Org\" --description \"Official projects\"",
|
|
1670
|
-
"<%= config.bin %> create organization \"Work Projects\""
|
|
1671
|
-
],
|
|
1672
|
-
"flags": {
|
|
1673
|
-
"slug": {
|
|
1674
|
-
"char": "s",
|
|
1675
|
-
"description": "Custom slug (auto-generated from name if not provided)",
|
|
1676
|
-
"name": "slug",
|
|
1677
|
-
"hasDynamicHelp": false,
|
|
1678
|
-
"multiple": false,
|
|
1679
|
-
"type": "option"
|
|
1680
|
-
},
|
|
1681
|
-
"description": {
|
|
1682
|
-
"char": "d",
|
|
1683
|
-
"description": "Organization description",
|
|
1684
|
-
"name": "description",
|
|
1685
|
-
"hasDynamicHelp": false,
|
|
1686
|
-
"multiple": false,
|
|
1687
|
-
"type": "option"
|
|
1688
|
-
},
|
|
1689
|
-
"json": {
|
|
1690
|
-
"description": "Output as JSON",
|
|
1691
|
-
"name": "json",
|
|
1692
|
-
"allowNo": false,
|
|
1693
|
-
"type": "boolean"
|
|
1694
|
-
}
|
|
1695
|
-
},
|
|
1696
|
-
"hasDynamicHelp": false,
|
|
1697
|
-
"hiddenAliases": [],
|
|
1698
|
-
"id": "create:org",
|
|
1699
|
-
"pluginAlias": "centy",
|
|
1700
|
-
"pluginName": "centy",
|
|
1701
|
-
"pluginType": "core",
|
|
1702
|
-
"strict": true,
|
|
1703
|
-
"enableJsonFlag": false,
|
|
1704
|
-
"isESM": true,
|
|
1705
|
-
"relativePath": [
|
|
1706
|
-
"dist",
|
|
1707
|
-
"commands",
|
|
1708
|
-
"create",
|
|
1709
|
-
"org.js"
|
|
1710
|
-
]
|
|
1711
|
-
},
|
|
1712
|
-
"create:user": {
|
|
1713
|
-
"aliases": [],
|
|
1714
|
-
"args": {},
|
|
1715
|
-
"description": "Create a new user in the project",
|
|
1716
|
-
"examples": [
|
|
1717
|
-
"<%= config.bin %> create user --name \"John Doe\"",
|
|
1718
|
-
"<%= config.bin %> create user --id john-doe --name \"John Doe\" --email john@example.com",
|
|
1719
|
-
"<%= config.bin %> create user -n \"Alice\" -g alice-dev -g alice-work",
|
|
1720
|
-
"<%= config.bin %> create user --name \"Bob\" --project centy-daemon"
|
|
1721
|
-
],
|
|
1722
|
-
"flags": {
|
|
1723
|
-
"id": {
|
|
1724
|
-
"char": "i",
|
|
1725
|
-
"description": "User ID (slug format, auto-generated from name if not provided)",
|
|
1726
|
-
"name": "id",
|
|
1727
|
-
"hasDynamicHelp": false,
|
|
1728
|
-
"multiple": false,
|
|
1729
|
-
"type": "option"
|
|
1730
|
-
},
|
|
1731
|
-
"name": {
|
|
1732
|
-
"char": "n",
|
|
1733
|
-
"description": "Display name (required)",
|
|
1734
|
-
"name": "name",
|
|
1735
|
-
"required": true,
|
|
1736
|
-
"hasDynamicHelp": false,
|
|
1737
|
-
"multiple": false,
|
|
1738
|
-
"type": "option"
|
|
1739
|
-
},
|
|
1740
|
-
"email": {
|
|
1741
|
-
"char": "e",
|
|
1742
|
-
"description": "Email address",
|
|
1743
|
-
"name": "email",
|
|
1744
|
-
"hasDynamicHelp": false,
|
|
1745
|
-
"multiple": false,
|
|
1746
|
-
"type": "option"
|
|
1747
|
-
},
|
|
1748
|
-
"git-username": {
|
|
1749
|
-
"char": "g",
|
|
1750
|
-
"description": "Git username (can be specified multiple times)",
|
|
1751
|
-
"name": "git-username",
|
|
1752
|
-
"hasDynamicHelp": false,
|
|
1753
|
-
"multiple": true,
|
|
1754
|
-
"type": "option"
|
|
1755
|
-
},
|
|
1756
|
-
"json": {
|
|
1757
|
-
"description": "Output as JSON",
|
|
1758
|
-
"name": "json",
|
|
1759
|
-
"allowNo": false,
|
|
1760
|
-
"type": "boolean"
|
|
1761
|
-
},
|
|
1762
|
-
"project": {
|
|
1763
|
-
"description": "Project name or path (defaults to current directory)",
|
|
1764
|
-
"name": "project",
|
|
1765
|
-
"hasDynamicHelp": false,
|
|
1766
|
-
"multiple": false,
|
|
1767
|
-
"type": "option"
|
|
1768
|
-
}
|
|
1769
|
-
},
|
|
1770
|
-
"hasDynamicHelp": false,
|
|
1771
|
-
"hiddenAliases": [],
|
|
1772
|
-
"id": "create:user",
|
|
1773
|
-
"pluginAlias": "centy",
|
|
1774
|
-
"pluginName": "centy",
|
|
1775
|
-
"pluginType": "core",
|
|
1776
|
-
"strict": true,
|
|
1777
|
-
"enableJsonFlag": false,
|
|
1778
|
-
"isESM": true,
|
|
1779
|
-
"relativePath": [
|
|
1780
|
-
"dist",
|
|
1781
|
-
"commands",
|
|
1782
|
-
"create",
|
|
1783
|
-
"user.js"
|
|
1784
|
-
]
|
|
1785
|
-
},
|
|
1786
1716
|
"list:assets": {
|
|
1787
1717
|
"aliases": [
|
|
1788
1718
|
"asset:list"
|
|
@@ -3035,5 +2965,5 @@
|
|
|
3035
2965
|
]
|
|
3036
2966
|
}
|
|
3037
2967
|
},
|
|
3038
|
-
"version": "0.
|
|
2968
|
+
"version": "0.7.0"
|
|
3039
2969
|
}
|