centy 0.2.8 → 0.3.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.
Files changed (329) hide show
  1. package/dist/commands/close.d.ts +2 -2
  2. package/dist/commands/close.d.ts.map +1 -1
  3. package/dist/commands/close.js +16 -86
  4. package/dist/commands/close.js.map +1 -1
  5. package/dist/commands/compact.d.ts +1 -5
  6. package/dist/commands/compact.d.ts.map +1 -1
  7. package/dist/commands/compact.js +23 -128
  8. package/dist/commands/compact.js.map +1 -1
  9. package/dist/commands/get/doc.d.ts +1 -0
  10. package/dist/commands/get/doc.d.ts.map +1 -1
  11. package/dist/commands/get/doc.js +19 -75
  12. package/dist/commands/get/doc.js.map +1 -1
  13. package/dist/commands/get/issue.d.ts.map +1 -1
  14. package/dist/commands/get/issue.js +13 -109
  15. package/dist/commands/get/issue.js.map +1 -1
  16. package/dist/commands/get/pr.d.ts.map +1 -1
  17. package/dist/commands/get/pr.js +12 -119
  18. package/dist/commands/get/pr.js.map +1 -1
  19. package/dist/commands/show.d.ts +1 -0
  20. package/dist/commands/show.d.ts.map +1 -1
  21. package/dist/commands/show.js +14 -56
  22. package/dist/commands/show.js.map +1 -1
  23. package/dist/commands/start.d.ts +0 -3
  24. package/dist/commands/start.d.ts.map +1 -1
  25. package/dist/commands/start.js +17 -80
  26. package/dist/commands/start.js.map +1 -1
  27. package/dist/commands/update/pr.d.ts.map +1 -1
  28. package/dist/commands/update/pr.js +3 -14
  29. package/dist/commands/update/pr.js.map +1 -1
  30. package/dist/daemon/daemon-response-error.d.ts +8 -1
  31. package/dist/daemon/daemon-response-error.d.ts.map +1 -1
  32. package/dist/daemon/daemon-response-error.js +23 -2
  33. package/dist/daemon/daemon-response-error.js.map +1 -1
  34. package/dist/daemon/grpc-client-data.d.ts +26 -0
  35. package/dist/daemon/grpc-client-data.d.ts.map +1 -0
  36. package/dist/daemon/grpc-client-data.js +2 -0
  37. package/dist/daemon/grpc-client-data.js.map +1 -0
  38. package/dist/daemon/grpc-client-extended.d.ts +29 -0
  39. package/dist/daemon/grpc-client-extended.d.ts.map +1 -0
  40. package/dist/daemon/grpc-client-extended.js +2 -0
  41. package/dist/daemon/grpc-client-extended.js.map +1 -0
  42. package/dist/daemon/grpc-client-init.d.ts +23 -0
  43. package/dist/daemon/grpc-client-init.d.ts.map +1 -0
  44. package/dist/daemon/grpc-client-init.js +2 -0
  45. package/dist/daemon/grpc-client-init.js.map +1 -0
  46. package/dist/daemon/grpc-client-ops.d.ts +33 -0
  47. package/dist/daemon/grpc-client-ops.d.ts.map +1 -0
  48. package/dist/daemon/grpc-client-ops.js +2 -0
  49. package/dist/daemon/grpc-client-ops.js.map +1 -0
  50. package/dist/daemon/grpc-client-project.d.ts +22 -0
  51. package/dist/daemon/grpc-client-project.d.ts.map +1 -0
  52. package/dist/daemon/grpc-client-project.js +2 -0
  53. package/dist/daemon/grpc-client-project.js.map +1 -0
  54. package/dist/daemon/grpc-config.d.ts +14 -0
  55. package/dist/daemon/grpc-config.d.ts.map +1 -0
  56. package/dist/daemon/grpc-config.js +26 -0
  57. package/dist/daemon/grpc-config.js.map +1 -0
  58. package/dist/daemon/grpc-utils.d.ts +32 -0
  59. package/dist/daemon/grpc-utils.d.ts.map +1 -0
  60. package/dist/daemon/grpc-utils.js +54 -0
  61. package/dist/daemon/grpc-utils.js.map +1 -0
  62. package/dist/daemon/load-proto.d.ts +9 -135
  63. package/dist/daemon/load-proto.d.ts.map +1 -1
  64. package/dist/daemon/load-proto.js +4 -77
  65. package/dist/daemon/load-proto.js.map +1 -1
  66. package/dist/daemon/parse-error-response.d.ts +14 -0
  67. package/dist/daemon/parse-error-response.d.ts.map +1 -0
  68. package/dist/daemon/parse-error-response.js +45 -0
  69. package/dist/daemon/parse-error-response.js.map +1 -0
  70. package/dist/daemon/types/asset.d.ts +64 -0
  71. package/dist/daemon/types/asset.d.ts.map +1 -0
  72. package/dist/daemon/types/asset.js +6 -0
  73. package/dist/daemon/types/asset.js.map +1 -0
  74. package/dist/daemon/types/config.d.ts +60 -0
  75. package/dist/daemon/types/config.d.ts.map +1 -0
  76. package/dist/daemon/types/config.js +6 -0
  77. package/dist/daemon/types/config.js.map +1 -0
  78. package/dist/daemon/types/daemon-error-message.d.ts +6 -0
  79. package/dist/daemon/types/daemon-error-message.d.ts.map +1 -0
  80. package/dist/daemon/types/daemon-error-message.js +2 -0
  81. package/dist/daemon/types/daemon-error-message.js.map +1 -0
  82. package/dist/daemon/types/daemon-error-response.d.ts +7 -0
  83. package/dist/daemon/types/daemon-error-response.d.ts.map +1 -0
  84. package/dist/daemon/types/daemon-error-response.js +2 -0
  85. package/dist/daemon/types/daemon-error-response.js.map +1 -0
  86. package/dist/daemon/types/daemon.d.ts +25 -0
  87. package/dist/daemon/types/daemon.d.ts.map +1 -0
  88. package/dist/daemon/types/daemon.js +6 -0
  89. package/dist/daemon/types/daemon.js.map +1 -0
  90. package/dist/daemon/types/doc-lifecycle.d.ts +55 -0
  91. package/dist/daemon/types/doc-lifecycle.d.ts.map +1 -0
  92. package/dist/daemon/types/doc-lifecycle.js +7 -0
  93. package/dist/daemon/types/doc-lifecycle.js.map +1 -0
  94. package/dist/daemon/types/doc.d.ts +93 -0
  95. package/dist/daemon/types/doc.d.ts.map +1 -0
  96. package/dist/daemon/types/doc.js +6 -0
  97. package/dist/daemon/types/doc.js.map +1 -0
  98. package/dist/daemon/types/entity-action.d.ts +23 -0
  99. package/dist/daemon/types/entity-action.d.ts.map +1 -0
  100. package/dist/daemon/types/entity-action.js +6 -0
  101. package/dist/daemon/types/entity-action.js.map +1 -0
  102. package/dist/daemon/types/feature.d.ts +61 -0
  103. package/dist/daemon/types/feature.d.ts.map +1 -0
  104. package/dist/daemon/types/feature.js +6 -0
  105. package/dist/daemon/types/feature.js.map +1 -0
  106. package/dist/daemon/types/init.d.ts +66 -0
  107. package/dist/daemon/types/init.d.ts.map +1 -0
  108. package/dist/daemon/types/init.js +6 -0
  109. package/dist/daemon/types/init.js.map +1 -0
  110. package/dist/daemon/types/issue-lifecycle.d.ts +62 -0
  111. package/dist/daemon/types/issue-lifecycle.d.ts.map +1 -0
  112. package/dist/daemon/types/issue-lifecycle.js +7 -0
  113. package/dist/daemon/types/issue-lifecycle.js.map +1 -0
  114. package/dist/daemon/types/issue-search.d.ts +39 -0
  115. package/dist/daemon/types/issue-search.d.ts.map +1 -0
  116. package/dist/daemon/types/issue-search.js +6 -0
  117. package/dist/daemon/types/issue-search.js.map +1 -0
  118. package/dist/daemon/types/issue.d.ts +97 -0
  119. package/dist/daemon/types/issue.d.ts.map +1 -0
  120. package/dist/daemon/types/issue.js +6 -0
  121. package/dist/daemon/types/issue.js.map +1 -0
  122. package/dist/daemon/types/link.d.ts +58 -0
  123. package/dist/daemon/types/link.d.ts.map +1 -0
  124. package/dist/daemon/types/link.js +6 -0
  125. package/dist/daemon/types/link.js.map +1 -0
  126. package/dist/daemon/types/organization.d.ts +62 -0
  127. package/dist/daemon/types/organization.d.ts.map +1 -0
  128. package/dist/daemon/types/organization.js +6 -0
  129. package/dist/daemon/types/organization.js.map +1 -0
  130. package/dist/daemon/types/pr-lifecycle.d.ts +54 -0
  131. package/dist/daemon/types/pr-lifecycle.d.ts.map +1 -0
  132. package/dist/daemon/types/pr-lifecycle.js +7 -0
  133. package/dist/daemon/types/pr-lifecycle.js.map +1 -0
  134. package/dist/daemon/types/pr-search.d.ts +19 -0
  135. package/dist/daemon/types/pr-search.d.ts.map +1 -0
  136. package/dist/daemon/types/pr-search.js +6 -0
  137. package/dist/daemon/types/pr-search.js.map +1 -0
  138. package/dist/daemon/types/pr.d.ts +79 -0
  139. package/dist/daemon/types/pr.d.ts.map +1 -0
  140. package/dist/daemon/types/pr.js +6 -0
  141. package/dist/daemon/types/pr.js.map +1 -0
  142. package/dist/daemon/types/project.d.ts +101 -0
  143. package/dist/daemon/types/project.d.ts.map +1 -0
  144. package/dist/daemon/types/project.js +6 -0
  145. package/dist/daemon/types/project.js.map +1 -0
  146. package/dist/daemon/types/sync.d.ts +72 -0
  147. package/dist/daemon/types/sync.d.ts.map +1 -0
  148. package/dist/daemon/types/sync.js +6 -0
  149. package/dist/daemon/types/sync.js.map +1 -0
  150. package/dist/daemon/types/user-lifecycle.d.ts +45 -0
  151. package/dist/daemon/types/user-lifecycle.d.ts.map +1 -0
  152. package/dist/daemon/types/user-lifecycle.js +7 -0
  153. package/dist/daemon/types/user-lifecycle.js.map +1 -0
  154. package/dist/daemon/types/user.d.ts +67 -0
  155. package/dist/daemon/types/user.d.ts.map +1 -0
  156. package/dist/daemon/types/user.js +6 -0
  157. package/dist/daemon/types/user.js.map +1 -0
  158. package/dist/daemon/types/workspace-ops.d.ts +66 -0
  159. package/dist/daemon/types/workspace-ops.d.ts.map +1 -0
  160. package/dist/daemon/types/workspace-ops.js +7 -0
  161. package/dist/daemon/types/workspace-ops.js.map +1 -0
  162. package/dist/daemon/types/workspace.d.ts +70 -0
  163. package/dist/daemon/types/workspace.d.ts.map +1 -0
  164. package/dist/daemon/types/workspace.js +6 -0
  165. package/dist/daemon/types/workspace.js.map +1 -0
  166. package/dist/daemon/types.d.ts +26 -1226
  167. package/dist/daemon/types.d.ts.map +1 -1
  168. package/dist/daemon/types.js +26 -2
  169. package/dist/daemon/types.js.map +1 -1
  170. package/dist/lib/close/close-entity-error.d.ts +4 -0
  171. package/dist/lib/close/close-entity-error.d.ts.map +1 -0
  172. package/dist/lib/close/close-entity-error.js +7 -0
  173. package/dist/lib/close/close-entity-error.js.map +1 -0
  174. package/dist/lib/close/close-issue.d.ts +2 -0
  175. package/dist/lib/close/close-issue.d.ts.map +1 -0
  176. package/dist/lib/close/close-issue.js +23 -0
  177. package/dist/lib/close/close-issue.js.map +1 -0
  178. package/dist/lib/close/close-pr.d.ts +2 -0
  179. package/dist/lib/close/close-pr.d.ts.map +1 -0
  180. package/dist/lib/close/close-pr.js +23 -0
  181. package/dist/lib/close/close-pr.js.map +1 -0
  182. package/dist/lib/close/find-entity.d.ts +8 -0
  183. package/dist/lib/close/find-entity.d.ts.map +1 -0
  184. package/dist/lib/close/find-entity.js +36 -0
  185. package/dist/lib/close/find-entity.js.map +1 -0
  186. package/dist/lib/compact/apply-llm-response.d.ts +8 -0
  187. package/dist/lib/compact/apply-llm-response.d.ts.map +1 -0
  188. package/dist/lib/compact/apply-llm-response.js +28 -0
  189. package/dist/lib/compact/apply-llm-response.js.map +1 -0
  190. package/dist/lib/compact/compact-parse-error.d.ts +4 -0
  191. package/dist/lib/compact/compact-parse-error.d.ts.map +1 -0
  192. package/dist/lib/compact/compact-parse-error.js +7 -0
  193. package/dist/lib/compact/compact-parse-error.js.map +1 -0
  194. package/dist/lib/compact/compact-save-error.d.ts +4 -0
  195. package/dist/lib/compact/compact-save-error.d.ts.map +1 -0
  196. package/dist/lib/compact/compact-save-error.js +7 -0
  197. package/dist/lib/compact/compact-save-error.js.map +1 -0
  198. package/dist/lib/compact/format-dry-run.d.ts +8 -0
  199. package/dist/lib/compact/format-dry-run.d.ts.map +1 -0
  200. package/dist/lib/compact/format-dry-run.js +15 -0
  201. package/dist/lib/compact/format-dry-run.js.map +1 -0
  202. package/dist/lib/compact/generate-llm-context.d.ts +7 -0
  203. package/dist/lib/compact/generate-llm-context.d.ts.map +1 -0
  204. package/dist/lib/compact/generate-llm-context.js +30 -0
  205. package/dist/lib/compact/generate-llm-context.js.map +1 -0
  206. package/dist/lib/compact/mark-issues.d.ts +6 -0
  207. package/dist/lib/compact/mark-issues.d.ts.map +1 -0
  208. package/dist/lib/compact/mark-issues.js +24 -0
  209. package/dist/lib/compact/mark-issues.js.map +1 -0
  210. package/dist/lib/compact/parse-llm-response.d.ts +6 -0
  211. package/dist/lib/compact/parse-llm-response.d.ts.map +1 -0
  212. package/dist/lib/compact/parse-llm-response.js +22 -0
  213. package/dist/lib/compact/parse-llm-response.js.map +1 -0
  214. package/dist/lib/compact/save-results.d.ts +5 -0
  215. package/dist/lib/compact/save-results.d.ts.map +1 -0
  216. package/dist/lib/compact/save-results.js +24 -0
  217. package/dist/lib/compact/save-results.js.map +1 -0
  218. package/dist/lib/create-issue/converters.d.ts +15 -0
  219. package/dist/lib/create-issue/converters.d.ts.map +1 -0
  220. package/dist/lib/create-issue/converters.js +53 -0
  221. package/dist/lib/create-issue/converters.js.map +1 -0
  222. package/dist/lib/create-issue/create-issue.d.ts.map +1 -1
  223. package/dist/lib/create-issue/create-issue.js +1 -52
  224. package/dist/lib/create-issue/create-issue.js.map +1 -1
  225. package/dist/lib/create-pr/converters.d.ts +15 -0
  226. package/dist/lib/create-pr/converters.d.ts.map +1 -0
  227. package/dist/lib/create-pr/converters.js +53 -0
  228. package/dist/lib/create-pr/converters.js.map +1 -0
  229. package/dist/lib/create-pr/create-pr.d.ts.map +1 -1
  230. package/dist/lib/create-pr/create-pr.js +1 -52
  231. package/dist/lib/create-pr/create-pr.js.map +1 -1
  232. package/dist/lib/get-doc/cross-project-hint.d.ts +6 -0
  233. package/dist/lib/get-doc/cross-project-hint.d.ts.map +1 -0
  234. package/dist/lib/get-doc/cross-project-hint.js +27 -0
  235. package/dist/lib/get-doc/cross-project-hint.js.map +1 -0
  236. package/dist/lib/get-doc/format-doc-output.d.ts +3 -0
  237. package/dist/lib/get-doc/format-doc-output.d.ts.map +1 -0
  238. package/dist/lib/get-doc/format-doc-output.js +8 -0
  239. package/dist/lib/get-doc/format-doc-output.js.map +1 -0
  240. package/dist/lib/get-doc/handle-global-search.d.ts +3 -0
  241. package/dist/lib/get-doc/handle-global-search.d.ts.map +1 -0
  242. package/dist/lib/get-doc/handle-global-search.js +32 -0
  243. package/dist/lib/get-doc/handle-global-search.js.map +1 -0
  244. package/dist/lib/get-doc/handle-not-initialized.d.ts +6 -0
  245. package/dist/lib/get-doc/handle-not-initialized.d.ts.map +1 -0
  246. package/dist/lib/get-doc/handle-not-initialized.js +21 -0
  247. package/dist/lib/get-doc/handle-not-initialized.js.map +1 -0
  248. package/dist/lib/get-issue/cross-project-hint.d.ts +6 -0
  249. package/dist/lib/get-issue/cross-project-hint.d.ts.map +1 -0
  250. package/dist/lib/get-issue/cross-project-hint.js +27 -0
  251. package/dist/lib/get-issue/cross-project-hint.js.map +1 -0
  252. package/dist/lib/get-issue/fetch-and-display.d.ts +12 -0
  253. package/dist/lib/get-issue/fetch-and-display.d.ts.map +1 -0
  254. package/dist/lib/get-issue/fetch-and-display.js +39 -0
  255. package/dist/lib/get-issue/fetch-and-display.js.map +1 -0
  256. package/dist/lib/get-issue/format-issue-output.d.ts +3 -0
  257. package/dist/lib/get-issue/format-issue-output.d.ts.map +1 -0
  258. package/dist/lib/get-issue/format-issue-output.js +14 -0
  259. package/dist/lib/get-issue/format-issue-output.js.map +1 -0
  260. package/dist/lib/get-issue/handle-global-search.d.ts +3 -0
  261. package/dist/lib/get-issue/handle-global-search.d.ts.map +1 -0
  262. package/dist/lib/get-issue/handle-global-search.js +36 -0
  263. package/dist/lib/get-issue/handle-global-search.js.map +1 -0
  264. package/dist/lib/get-issue/handle-not-initialized.d.ts +6 -0
  265. package/dist/lib/get-issue/handle-not-initialized.d.ts.map +1 -0
  266. package/dist/lib/get-issue/handle-not-initialized.js +22 -0
  267. package/dist/lib/get-issue/handle-not-initialized.js.map +1 -0
  268. package/dist/lib/get-pr/cross-project-hint.d.ts +6 -0
  269. package/dist/lib/get-pr/cross-project-hint.d.ts.map +1 -0
  270. package/dist/lib/get-pr/cross-project-hint.js +24 -0
  271. package/dist/lib/get-pr/cross-project-hint.js.map +1 -0
  272. package/dist/lib/get-pr/fetch-and-display.d.ts +12 -0
  273. package/dist/lib/get-pr/fetch-and-display.d.ts.map +1 -0
  274. package/dist/lib/get-pr/fetch-and-display.js +36 -0
  275. package/dist/lib/get-pr/fetch-and-display.js.map +1 -0
  276. package/dist/lib/get-pr/format-pr-output.d.ts +3 -0
  277. package/dist/lib/get-pr/format-pr-output.d.ts.map +1 -0
  278. package/dist/lib/get-pr/format-pr-output.js +24 -0
  279. package/dist/lib/get-pr/format-pr-output.js.map +1 -0
  280. package/dist/lib/get-pr/handle-global-search.d.ts +3 -0
  281. package/dist/lib/get-pr/handle-global-search.d.ts.map +1 -0
  282. package/dist/lib/get-pr/handle-global-search.js +37 -0
  283. package/dist/lib/get-pr/handle-global-search.js.map +1 -0
  284. package/dist/lib/get-pr/handle-not-initialized.d.ts +6 -0
  285. package/dist/lib/get-pr/handle-not-initialized.d.ts.map +1 -0
  286. package/dist/lib/get-pr/handle-not-initialized.js +22 -0
  287. package/dist/lib/get-pr/handle-not-initialized.js.map +1 -0
  288. package/dist/lib/init/config-builder.d.ts +9 -0
  289. package/dist/lib/init/config-builder.d.ts.map +1 -0
  290. package/dist/lib/init/config-builder.js +50 -0
  291. package/dist/lib/init/config-builder.js.map +1 -0
  292. package/dist/lib/init/gather-decisions.d.ts +14 -0
  293. package/dist/lib/init/gather-decisions.d.ts.map +1 -0
  294. package/dist/lib/init/gather-decisions.js +38 -0
  295. package/dist/lib/init/gather-decisions.js.map +1 -0
  296. package/dist/lib/init/init.d.ts +1 -7
  297. package/dist/lib/init/init.d.ts.map +1 -1
  298. package/dist/lib/init/init.js +3 -99
  299. package/dist/lib/init/init.js.map +1 -1
  300. package/dist/lib/init/type-converters.d.ts +13 -0
  301. package/dist/lib/init/type-converters.d.ts.map +1 -0
  302. package/dist/lib/init/type-converters.js +15 -0
  303. package/dist/lib/init/type-converters.js.map +1 -0
  304. package/dist/lib/show/format-results.d.ts +4 -0
  305. package/dist/lib/show/format-results.d.ts.map +1 -0
  306. package/dist/lib/show/format-results.js +39 -0
  307. package/dist/lib/show/format-results.js.map +1 -0
  308. package/dist/lib/show/search-entities.d.ts +7 -0
  309. package/dist/lib/show/search-entities.d.ts.map +1 -0
  310. package/dist/lib/show/search-entities.js +11 -0
  311. package/dist/lib/show/search-entities.js.map +1 -0
  312. package/dist/lib/start/handle-missing-daemon.d.ts +2 -0
  313. package/dist/lib/start/handle-missing-daemon.d.ts.map +1 -0
  314. package/dist/lib/start/handle-missing-daemon.js +36 -0
  315. package/dist/lib/start/handle-missing-daemon.js.map +1 -0
  316. package/dist/lib/start/start-background.d.ts +2 -0
  317. package/dist/lib/start/start-background.d.ts.map +1 -0
  318. package/dist/lib/start/start-background.js +18 -0
  319. package/dist/lib/start/start-background.js.map +1 -0
  320. package/dist/lib/start/start-foreground.d.ts +2 -0
  321. package/dist/lib/start/start-foreground.d.ts.map +1 -0
  322. package/dist/lib/start/start-foreground.js +15 -0
  323. package/dist/lib/start/start-foreground.js.map +1 -0
  324. package/dist/lib/update-pr/process-fields.d.ts +4 -0
  325. package/dist/lib/update-pr/process-fields.d.ts.map +1 -0
  326. package/dist/lib/update-pr/process-fields.js +23 -0
  327. package/dist/lib/update-pr/process-fields.js.map +1 -0
  328. package/oclif.manifest.json +396 -396
  329. package/package.json +1 -1
@@ -645,48 +645,44 @@
645
645
  "autostart.js"
646
646
  ]
647
647
  },
648
- "create:doc": {
648
+ "delete:asset": {
649
649
  "aliases": [],
650
- "args": {},
651
- "description": "Create a new documentation file",
650
+ "args": {
651
+ "filename": {
652
+ "description": "Asset filename",
653
+ "name": "filename",
654
+ "required": true
655
+ }
656
+ },
657
+ "description": "Delete an asset",
652
658
  "examples": [
653
- "<%= config.bin %> create doc --title \"Getting Started\"",
654
- "<%= config.bin %> create doc -t \"API Reference\" -c \"# API\n\nDocumentation here\"",
655
- "<%= config.bin %> create doc --title \"Guide\" --slug my-guide",
656
- "<%= config.bin %> create doc --title \"Guide\" --project centy-daemon"
659
+ "<%= config.bin %> delete asset screenshot.png --issue 1",
660
+ "<%= config.bin %> delete asset logo.svg --shared",
661
+ "<%= config.bin %> delete asset old-image.png --issue 1 --force",
662
+ "<%= config.bin %> delete asset screenshot.png --issue 1 --project centy-daemon"
657
663
  ],
658
664
  "flags": {
659
- "title": {
660
- "char": "t",
661
- "description": "Doc title",
662
- "name": "title",
663
- "required": true,
664
- "hasDynamicHelp": false,
665
- "multiple": false,
666
- "type": "option"
667
- },
668
- "content": {
669
- "char": "c",
670
- "description": "Doc content (markdown)",
671
- "name": "content",
672
- "default": "",
665
+ "issue": {
666
+ "char": "i",
667
+ "description": "Issue ID or display number",
668
+ "name": "issue",
673
669
  "hasDynamicHelp": false,
674
670
  "multiple": false,
675
671
  "type": "option"
676
672
  },
677
- "slug": {
678
- "description": "Custom slug (auto-generated from title if not provided)",
679
- "name": "slug",
680
- "hasDynamicHelp": false,
681
- "multiple": false,
682
- "type": "option"
673
+ "shared": {
674
+ "char": "s",
675
+ "description": "Delete a shared asset",
676
+ "name": "shared",
677
+ "allowNo": false,
678
+ "type": "boolean"
683
679
  },
684
- "template": {
685
- "description": "Template name to use",
686
- "name": "template",
687
- "hasDynamicHelp": false,
688
- "multiple": false,
689
- "type": "option"
680
+ "force": {
681
+ "char": "f",
682
+ "description": "Skip confirmation prompt",
683
+ "name": "force",
684
+ "allowNo": false,
685
+ "type": "boolean"
690
686
  },
691
687
  "project": {
692
688
  "description": "Project name or path (defaults to current directory)",
@@ -698,7 +694,7 @@
698
694
  },
699
695
  "hasDynamicHelp": false,
700
696
  "hiddenAliases": [],
701
- "id": "create:doc",
697
+ "id": "delete:asset",
702
698
  "pluginAlias": "centy",
703
699
  "pluginName": "centy",
704
700
  "pluginType": "core",
@@ -708,63 +704,30 @@
708
704
  "relativePath": [
709
705
  "dist",
710
706
  "commands",
711
- "create",
712
- "doc.js"
707
+ "delete",
708
+ "asset.js"
713
709
  ]
714
710
  },
715
- "create:issue": {
711
+ "delete:doc": {
716
712
  "aliases": [],
717
- "args": {},
718
- "description": "Create a new issue in the .centy folder",
713
+ "args": {
714
+ "slug": {
715
+ "description": "Doc slug",
716
+ "name": "slug",
717
+ "required": true
718
+ }
719
+ },
720
+ "description": "Delete a documentation file",
719
721
  "examples": [
720
- "<%= config.bin %> create issue",
721
- "<%= config.bin %> create issue --title \"Bug in login\" --priority high",
722
- "<%= config.bin %> create issue -t \"Add feature\" -d \"Implement dark mode\"",
723
- "<%= config.bin %> create issue -t \"Add feature\" --project centy-daemon",
724
- "<%= config.bin %> create issue --title \"WIP feature\" --draft"
722
+ "<%= config.bin %> delete doc getting-started",
723
+ "<%= config.bin %> delete doc api-reference --force",
724
+ "<%= config.bin %> delete doc api-reference --project centy-daemon"
725
725
  ],
726
726
  "flags": {
727
- "title": {
728
- "char": "t",
729
- "description": "Issue title",
730
- "name": "title",
731
- "hasDynamicHelp": false,
732
- "multiple": false,
733
- "type": "option"
734
- },
735
- "description": {
736
- "char": "d",
737
- "description": "Issue description",
738
- "name": "description",
739
- "hasDynamicHelp": false,
740
- "multiple": false,
741
- "type": "option"
742
- },
743
- "priority": {
744
- "char": "p",
745
- "description": "Priority level (low/medium/high)",
746
- "name": "priority",
747
- "hasDynamicHelp": false,
748
- "multiple": false,
749
- "options": [
750
- "low",
751
- "medium",
752
- "high"
753
- ],
754
- "type": "option"
755
- },
756
- "status": {
757
- "char": "s",
758
- "description": "Initial status",
759
- "name": "status",
760
- "default": "open",
761
- "hasDynamicHelp": false,
762
- "multiple": false,
763
- "type": "option"
764
- },
765
- "draft": {
766
- "description": "Create as draft",
767
- "name": "draft",
727
+ "force": {
728
+ "char": "f",
729
+ "description": "Skip confirmation prompt",
730
+ "name": "force",
768
731
  "allowNo": false,
769
732
  "type": "boolean"
770
733
  },
@@ -778,7 +741,7 @@
778
741
  },
779
742
  "hasDynamicHelp": false,
780
743
  "hiddenAliases": [],
781
- "id": "create:issue",
744
+ "id": "delete:doc",
782
745
  "pluginAlias": "centy",
783
746
  "pluginName": "centy",
784
747
  "pluginType": "core",
@@ -788,55 +751,45 @@
788
751
  "relativePath": [
789
752
  "dist",
790
753
  "commands",
791
- "create",
792
- "issue.js"
754
+ "delete",
755
+ "doc.js"
793
756
  ]
794
757
  },
795
- "create:org": {
796
- "aliases": [
797
- "create:organization"
798
- ],
758
+ "delete:issue": {
759
+ "aliases": [],
799
760
  "args": {
800
- "name": {
801
- "description": "Organization display name",
802
- "name": "name",
761
+ "id": {
762
+ "description": "Issue ID (UUID) or display number",
763
+ "name": "id",
803
764
  "required": true
804
765
  }
805
766
  },
806
- "description": "Create a new organization to group projects",
767
+ "description": "Delete an issue",
807
768
  "examples": [
808
- "<%= config.bin %> create org \"My Company\"",
809
- "<%= config.bin %> create org \"Centy.io\" --slug centy-io",
810
- "<%= config.bin %> create org \"My Org\" --description \"Official projects\"",
811
- "<%= config.bin %> create organization \"Work Projects\""
769
+ "<%= config.bin %> delete issue 1",
770
+ "<%= config.bin %> delete issue abc123-uuid",
771
+ "<%= config.bin %> delete issue 1 --force",
772
+ "<%= config.bin %> delete issue 1 --project centy-daemon"
812
773
  ],
813
774
  "flags": {
814
- "slug": {
815
- "char": "s",
816
- "description": "Custom slug (auto-generated from name if not provided)",
817
- "name": "slug",
818
- "hasDynamicHelp": false,
819
- "multiple": false,
820
- "type": "option"
775
+ "force": {
776
+ "char": "f",
777
+ "description": "Skip confirmation prompt",
778
+ "name": "force",
779
+ "allowNo": false,
780
+ "type": "boolean"
821
781
  },
822
- "description": {
823
- "char": "d",
824
- "description": "Organization description",
825
- "name": "description",
782
+ "project": {
783
+ "description": "Project name or path (defaults to current directory)",
784
+ "name": "project",
826
785
  "hasDynamicHelp": false,
827
786
  "multiple": false,
828
787
  "type": "option"
829
- },
830
- "json": {
831
- "description": "Output as JSON",
832
- "name": "json",
833
- "allowNo": false,
834
- "type": "boolean"
835
788
  }
836
789
  },
837
790
  "hasDynamicHelp": false,
838
791
  "hiddenAliases": [],
839
- "id": "create:org",
792
+ "id": "delete:issue",
840
793
  "pluginAlias": "centy",
841
794
  "pluginName": "centy",
842
795
  "pluginType": "core",
@@ -846,92 +799,74 @@
846
799
  "relativePath": [
847
800
  "dist",
848
801
  "commands",
849
- "create",
850
- "org.js"
802
+ "delete",
803
+ "issue.js"
851
804
  ]
852
805
  },
853
- "create:pr": {
854
- "aliases": [],
855
- "args": {},
856
- "description": "Create a new pull request in the .centy folder",
857
- "examples": [
858
- "<%= config.bin %> create pr",
859
- "<%= config.bin %> create pr --title \"Add feature\" --source feature-branch",
860
- "<%= config.bin %> create pr -t \"Bug fix\" -s bugfix/123 --target main",
861
- "<%= config.bin %> create pr -t \"Feature\" --issues 1,2 --reviewers alice,bob",
862
- "<%= config.bin %> create pr -t \"Feature\" --project centy-daemon"
806
+ "delete:org": {
807
+ "aliases": [
808
+ "delete:organization"
863
809
  ],
864
- "flags": {
865
- "title": {
866
- "char": "t",
867
- "description": "PR title",
868
- "name": "title",
869
- "hasDynamicHelp": false,
870
- "multiple": false,
871
- "type": "option"
872
- },
873
- "description": {
874
- "char": "d",
875
- "description": "PR description",
876
- "name": "description",
877
- "hasDynamicHelp": false,
878
- "multiple": false,
879
- "type": "option"
880
- },
881
- "source": {
882
- "char": "s",
883
- "description": "Source branch name (auto-detected if not provided)",
884
- "name": "source",
885
- "hasDynamicHelp": false,
886
- "multiple": false,
887
- "type": "option"
888
- },
889
- "target": {
890
- "description": "Target branch name (defaults to main)",
891
- "name": "target",
892
- "hasDynamicHelp": false,
893
- "multiple": false,
894
- "type": "option"
895
- },
896
- "issues": {
897
- "char": "i",
898
- "description": "Linked issue IDs (comma-separated)",
899
- "name": "issues",
900
- "hasDynamicHelp": false,
901
- "multiple": false,
902
- "type": "option"
903
- },
904
- "reviewers": {
905
- "char": "r",
906
- "description": "Reviewers (comma-separated)",
907
- "name": "reviewers",
908
- "hasDynamicHelp": false,
909
- "multiple": false,
910
- "type": "option"
911
- },
912
- "priority": {
913
- "char": "p",
914
- "description": "Priority level (low/medium/high)",
915
- "name": "priority",
916
- "hasDynamicHelp": false,
917
- "multiple": false,
918
- "options": [
919
- "low",
920
- "medium",
921
- "high"
922
- ],
923
- "type": "option"
924
- },
925
- "status": {
926
- "description": "Initial status (draft/open)",
927
- "name": "status",
928
- "hasDynamicHelp": false,
929
- "multiple": false,
930
- "options": [
931
- "draft",
932
- "open"
933
- ],
934
- "type": "option"
810
+ "args": {
811
+ "slug": {
812
+ "description": "Organization slug",
813
+ "name": "slug",
814
+ "required": true
815
+ }
816
+ },
817
+ "description": "Delete an organization (must have no projects assigned)",
818
+ "examples": [
819
+ "<%= config.bin %> delete org my-org",
820
+ "<%= config.bin %> delete organization old-org"
821
+ ],
822
+ "flags": {
823
+ "force": {
824
+ "char": "f",
825
+ "description": "Skip confirmation prompt",
826
+ "name": "force",
827
+ "allowNo": false,
828
+ "type": "boolean"
829
+ }
830
+ },
831
+ "hasDynamicHelp": false,
832
+ "hiddenAliases": [],
833
+ "id": "delete:org",
834
+ "pluginAlias": "centy",
835
+ "pluginName": "centy",
836
+ "pluginType": "core",
837
+ "strict": true,
838
+ "enableJsonFlag": false,
839
+ "isESM": true,
840
+ "relativePath": [
841
+ "dist",
842
+ "commands",
843
+ "delete",
844
+ "org.js"
845
+ ]
846
+ },
847
+ "delete:pr": {
848
+ "aliases": [],
849
+ "args": {
850
+ "id": {
851
+ "description": "PR ID (UUID) or display number",
852
+ "name": "id",
853
+ "required": true
854
+ }
855
+ },
856
+ "description": "Delete a pull request",
857
+ "examples": [
858
+ "<%= config.bin %> delete pr 1",
859
+ "<%= config.bin %> delete pr abc123-uuid",
860
+ "<%= config.bin %> delete pr 1 --force",
861
+ "<%= config.bin %> delete pr 1 --project centy-daemon"
862
+ ],
863
+ "flags": {
864
+ "force": {
865
+ "char": "f",
866
+ "description": "Skip confirmation prompt",
867
+ "name": "force",
868
+ "allowNo": false,
869
+ "type": "boolean"
935
870
  },
936
871
  "project": {
937
872
  "description": "Project name or path (defaults to current directory)",
@@ -943,7 +878,7 @@
943
878
  },
944
879
  "hasDynamicHelp": false,
945
880
  "hiddenAliases": [],
946
- "id": "create:pr",
881
+ "id": "delete:pr",
947
882
  "pluginAlias": "centy",
948
883
  "pluginName": "centy",
949
884
  "pluginType": "core",
@@ -953,57 +888,30 @@
953
888
  "relativePath": [
954
889
  "dist",
955
890
  "commands",
956
- "create",
891
+ "delete",
957
892
  "pr.js"
958
893
  ]
959
894
  },
960
- "create:user": {
895
+ "delete:user": {
961
896
  "aliases": [],
962
- "args": {},
963
- "description": "Create a new user in the project",
897
+ "args": {
898
+ "id": {
899
+ "description": "User ID",
900
+ "name": "id",
901
+ "required": true
902
+ }
903
+ },
904
+ "description": "Delete a user",
964
905
  "examples": [
965
- "<%= config.bin %> create user --name \"John Doe\"",
966
- "<%= config.bin %> create user --id john-doe --name \"John Doe\" --email john@example.com",
967
- "<%= config.bin %> create user -n \"Alice\" -g alice-dev -g alice-work",
968
- "<%= config.bin %> create user --name \"Bob\" --project centy-daemon"
906
+ "<%= config.bin %> delete user john-doe",
907
+ "<%= config.bin %> delete user john-doe --force",
908
+ "<%= config.bin %> delete user john-doe --project centy-daemon"
969
909
  ],
970
910
  "flags": {
971
- "id": {
972
- "char": "i",
973
- "description": "User ID (slug format, auto-generated from name if not provided)",
974
- "name": "id",
975
- "hasDynamicHelp": false,
976
- "multiple": false,
977
- "type": "option"
978
- },
979
- "name": {
980
- "char": "n",
981
- "description": "Display name (required)",
982
- "name": "name",
983
- "required": true,
984
- "hasDynamicHelp": false,
985
- "multiple": false,
986
- "type": "option"
987
- },
988
- "email": {
989
- "char": "e",
990
- "description": "Email address",
991
- "name": "email",
992
- "hasDynamicHelp": false,
993
- "multiple": false,
994
- "type": "option"
995
- },
996
- "git-username": {
997
- "char": "g",
998
- "description": "Git username (can be specified multiple times)",
999
- "name": "git-username",
1000
- "hasDynamicHelp": false,
1001
- "multiple": true,
1002
- "type": "option"
1003
- },
1004
- "json": {
1005
- "description": "Output as JSON",
1006
- "name": "json",
911
+ "force": {
912
+ "char": "f",
913
+ "description": "Skip confirmation prompt",
914
+ "name": "force",
1007
915
  "allowNo": false,
1008
916
  "type": "boolean"
1009
917
  },
@@ -1017,7 +925,7 @@
1017
925
  },
1018
926
  "hasDynamicHelp": false,
1019
927
  "hiddenAliases": [],
1020
- "id": "create:user",
928
+ "id": "delete:user",
1021
929
  "pluginAlias": "centy",
1022
930
  "pluginName": "centy",
1023
931
  "pluginType": "core",
@@ -1027,7 +935,7 @@
1027
935
  "relativePath": [
1028
936
  "dist",
1029
937
  "commands",
1030
- "create",
938
+ "delete",
1031
939
  "user.js"
1032
940
  ]
1033
941
  },
@@ -1151,44 +1059,48 @@
1151
1059
  "issue.js"
1152
1060
  ]
1153
1061
  },
1154
- "delete:asset": {
1062
+ "create:doc": {
1155
1063
  "aliases": [],
1156
- "args": {
1157
- "filename": {
1158
- "description": "Asset filename",
1159
- "name": "filename",
1160
- "required": true
1161
- }
1162
- },
1163
- "description": "Delete an asset",
1064
+ "args": {},
1065
+ "description": "Create a new documentation file",
1164
1066
  "examples": [
1165
- "<%= config.bin %> delete asset screenshot.png --issue 1",
1166
- "<%= config.bin %> delete asset logo.svg --shared",
1167
- "<%= config.bin %> delete asset old-image.png --issue 1 --force",
1168
- "<%= config.bin %> delete asset screenshot.png --issue 1 --project centy-daemon"
1067
+ "<%= config.bin %> create doc --title \"Getting Started\"",
1068
+ "<%= config.bin %> create doc -t \"API Reference\" -c \"# API\n\nDocumentation here\"",
1069
+ "<%= config.bin %> create doc --title \"Guide\" --slug my-guide",
1070
+ "<%= config.bin %> create doc --title \"Guide\" --project centy-daemon"
1169
1071
  ],
1170
1072
  "flags": {
1171
- "issue": {
1172
- "char": "i",
1173
- "description": "Issue ID or display number",
1174
- "name": "issue",
1073
+ "title": {
1074
+ "char": "t",
1075
+ "description": "Doc title",
1076
+ "name": "title",
1077
+ "required": true,
1175
1078
  "hasDynamicHelp": false,
1176
1079
  "multiple": false,
1177
1080
  "type": "option"
1178
1081
  },
1179
- "shared": {
1180
- "char": "s",
1181
- "description": "Delete a shared asset",
1182
- "name": "shared",
1183
- "allowNo": false,
1184
- "type": "boolean"
1082
+ "content": {
1083
+ "char": "c",
1084
+ "description": "Doc content (markdown)",
1085
+ "name": "content",
1086
+ "default": "",
1087
+ "hasDynamicHelp": false,
1088
+ "multiple": false,
1089
+ "type": "option"
1185
1090
  },
1186
- "force": {
1187
- "char": "f",
1188
- "description": "Skip confirmation prompt",
1189
- "name": "force",
1190
- "allowNo": false,
1191
- "type": "boolean"
1091
+ "slug": {
1092
+ "description": "Custom slug (auto-generated from title if not provided)",
1093
+ "name": "slug",
1094
+ "hasDynamicHelp": false,
1095
+ "multiple": false,
1096
+ "type": "option"
1097
+ },
1098
+ "template": {
1099
+ "description": "Template name to use",
1100
+ "name": "template",
1101
+ "hasDynamicHelp": false,
1102
+ "multiple": false,
1103
+ "type": "option"
1192
1104
  },
1193
1105
  "project": {
1194
1106
  "description": "Project name or path (defaults to current directory)",
@@ -1200,7 +1112,7 @@
1200
1112
  },
1201
1113
  "hasDynamicHelp": false,
1202
1114
  "hiddenAliases": [],
1203
- "id": "delete:asset",
1115
+ "id": "create:doc",
1204
1116
  "pluginAlias": "centy",
1205
1117
  "pluginName": "centy",
1206
1118
  "pluginType": "core",
@@ -1210,78 +1122,63 @@
1210
1122
  "relativePath": [
1211
1123
  "dist",
1212
1124
  "commands",
1213
- "delete",
1214
- "asset.js"
1125
+ "create",
1126
+ "doc.js"
1215
1127
  ]
1216
1128
  },
1217
- "delete:doc": {
1129
+ "create:issue": {
1218
1130
  "aliases": [],
1219
- "args": {
1220
- "slug": {
1221
- "description": "Doc slug",
1222
- "name": "slug",
1223
- "required": true
1224
- }
1225
- },
1226
- "description": "Delete a documentation file",
1131
+ "args": {},
1132
+ "description": "Create a new issue in the .centy folder",
1227
1133
  "examples": [
1228
- "<%= config.bin %> delete doc getting-started",
1229
- "<%= config.bin %> delete doc api-reference --force",
1230
- "<%= config.bin %> delete doc api-reference --project centy-daemon"
1134
+ "<%= config.bin %> create issue",
1135
+ "<%= config.bin %> create issue --title \"Bug in login\" --priority high",
1136
+ "<%= config.bin %> create issue -t \"Add feature\" -d \"Implement dark mode\"",
1137
+ "<%= config.bin %> create issue -t \"Add feature\" --project centy-daemon",
1138
+ "<%= config.bin %> create issue --title \"WIP feature\" --draft"
1231
1139
  ],
1232
1140
  "flags": {
1233
- "force": {
1234
- "char": "f",
1235
- "description": "Skip confirmation prompt",
1236
- "name": "force",
1237
- "allowNo": false,
1238
- "type": "boolean"
1141
+ "title": {
1142
+ "char": "t",
1143
+ "description": "Issue title",
1144
+ "name": "title",
1145
+ "hasDynamicHelp": false,
1146
+ "multiple": false,
1147
+ "type": "option"
1239
1148
  },
1240
- "project": {
1241
- "description": "Project name or path (defaults to current directory)",
1242
- "name": "project",
1149
+ "description": {
1150
+ "char": "d",
1151
+ "description": "Issue description",
1152
+ "name": "description",
1153
+ "hasDynamicHelp": false,
1154
+ "multiple": false,
1155
+ "type": "option"
1156
+ },
1157
+ "priority": {
1158
+ "char": "p",
1159
+ "description": "Priority level (low/medium/high)",
1160
+ "name": "priority",
1161
+ "hasDynamicHelp": false,
1162
+ "multiple": false,
1163
+ "options": [
1164
+ "low",
1165
+ "medium",
1166
+ "high"
1167
+ ],
1168
+ "type": "option"
1169
+ },
1170
+ "status": {
1171
+ "char": "s",
1172
+ "description": "Initial status",
1173
+ "name": "status",
1174
+ "default": "open",
1243
1175
  "hasDynamicHelp": false,
1244
1176
  "multiple": false,
1245
1177
  "type": "option"
1246
- }
1247
- },
1248
- "hasDynamicHelp": false,
1249
- "hiddenAliases": [],
1250
- "id": "delete:doc",
1251
- "pluginAlias": "centy",
1252
- "pluginName": "centy",
1253
- "pluginType": "core",
1254
- "strict": true,
1255
- "enableJsonFlag": false,
1256
- "isESM": true,
1257
- "relativePath": [
1258
- "dist",
1259
- "commands",
1260
- "delete",
1261
- "doc.js"
1262
- ]
1263
- },
1264
- "delete:issue": {
1265
- "aliases": [],
1266
- "args": {
1267
- "id": {
1268
- "description": "Issue ID (UUID) or display number",
1269
- "name": "id",
1270
- "required": true
1271
- }
1272
- },
1273
- "description": "Delete an issue",
1274
- "examples": [
1275
- "<%= config.bin %> delete issue 1",
1276
- "<%= config.bin %> delete issue abc123-uuid",
1277
- "<%= config.bin %> delete issue 1 --force",
1278
- "<%= config.bin %> delete issue 1 --project centy-daemon"
1279
- ],
1280
- "flags": {
1281
- "force": {
1282
- "char": "f",
1283
- "description": "Skip confirmation prompt",
1284
- "name": "force",
1178
+ },
1179
+ "draft": {
1180
+ "description": "Create as draft",
1181
+ "name": "draft",
1285
1182
  "allowNo": false,
1286
1183
  "type": "boolean"
1287
1184
  },
@@ -1295,7 +1192,7 @@
1295
1192
  },
1296
1193
  "hasDynamicHelp": false,
1297
1194
  "hiddenAliases": [],
1298
- "id": "delete:issue",
1195
+ "id": "create:issue",
1299
1196
  "pluginAlias": "centy",
1300
1197
  "pluginName": "centy",
1301
1198
  "pluginType": "core",
@@ -1305,38 +1202,55 @@
1305
1202
  "relativePath": [
1306
1203
  "dist",
1307
1204
  "commands",
1308
- "delete",
1205
+ "create",
1309
1206
  "issue.js"
1310
1207
  ]
1311
1208
  },
1312
- "delete:org": {
1209
+ "create:org": {
1313
1210
  "aliases": [
1314
- "delete:organization"
1211
+ "create:organization"
1315
1212
  ],
1316
1213
  "args": {
1317
- "slug": {
1318
- "description": "Organization slug",
1319
- "name": "slug",
1214
+ "name": {
1215
+ "description": "Organization display name",
1216
+ "name": "name",
1320
1217
  "required": true
1321
1218
  }
1322
1219
  },
1323
- "description": "Delete an organization (must have no projects assigned)",
1220
+ "description": "Create a new organization to group projects",
1324
1221
  "examples": [
1325
- "<%= config.bin %> delete org my-org",
1326
- "<%= config.bin %> delete organization old-org"
1222
+ "<%= config.bin %> create org \"My Company\"",
1223
+ "<%= config.bin %> create org \"Centy.io\" --slug centy-io",
1224
+ "<%= config.bin %> create org \"My Org\" --description \"Official projects\"",
1225
+ "<%= config.bin %> create organization \"Work Projects\""
1327
1226
  ],
1328
1227
  "flags": {
1329
- "force": {
1330
- "char": "f",
1331
- "description": "Skip confirmation prompt",
1332
- "name": "force",
1228
+ "slug": {
1229
+ "char": "s",
1230
+ "description": "Custom slug (auto-generated from name if not provided)",
1231
+ "name": "slug",
1232
+ "hasDynamicHelp": false,
1233
+ "multiple": false,
1234
+ "type": "option"
1235
+ },
1236
+ "description": {
1237
+ "char": "d",
1238
+ "description": "Organization description",
1239
+ "name": "description",
1240
+ "hasDynamicHelp": false,
1241
+ "multiple": false,
1242
+ "type": "option"
1243
+ },
1244
+ "json": {
1245
+ "description": "Output as JSON",
1246
+ "name": "json",
1333
1247
  "allowNo": false,
1334
1248
  "type": "boolean"
1335
1249
  }
1336
1250
  },
1337
1251
  "hasDynamicHelp": false,
1338
1252
  "hiddenAliases": [],
1339
- "id": "delete:org",
1253
+ "id": "create:org",
1340
1254
  "pluginAlias": "centy",
1341
1255
  "pluginName": "centy",
1342
1256
  "pluginType": "core",
@@ -1346,33 +1260,92 @@
1346
1260
  "relativePath": [
1347
1261
  "dist",
1348
1262
  "commands",
1349
- "delete",
1263
+ "create",
1350
1264
  "org.js"
1351
1265
  ]
1352
1266
  },
1353
- "delete:pr": {
1267
+ "create:pr": {
1354
1268
  "aliases": [],
1355
- "args": {
1356
- "id": {
1357
- "description": "PR ID (UUID) or display number",
1358
- "name": "id",
1359
- "required": true
1360
- }
1361
- },
1362
- "description": "Delete a pull request",
1269
+ "args": {},
1270
+ "description": "Create a new pull request in the .centy folder",
1363
1271
  "examples": [
1364
- "<%= config.bin %> delete pr 1",
1365
- "<%= config.bin %> delete pr abc123-uuid",
1366
- "<%= config.bin %> delete pr 1 --force",
1367
- "<%= config.bin %> delete pr 1 --project centy-daemon"
1272
+ "<%= config.bin %> create pr",
1273
+ "<%= config.bin %> create pr --title \"Add feature\" --source feature-branch",
1274
+ "<%= config.bin %> create pr -t \"Bug fix\" -s bugfix/123 --target main",
1275
+ "<%= config.bin %> create pr -t \"Feature\" --issues 1,2 --reviewers alice,bob",
1276
+ "<%= config.bin %> create pr -t \"Feature\" --project centy-daemon"
1368
1277
  ],
1369
1278
  "flags": {
1370
- "force": {
1371
- "char": "f",
1372
- "description": "Skip confirmation prompt",
1373
- "name": "force",
1374
- "allowNo": false,
1375
- "type": "boolean"
1279
+ "title": {
1280
+ "char": "t",
1281
+ "description": "PR title",
1282
+ "name": "title",
1283
+ "hasDynamicHelp": false,
1284
+ "multiple": false,
1285
+ "type": "option"
1286
+ },
1287
+ "description": {
1288
+ "char": "d",
1289
+ "description": "PR description",
1290
+ "name": "description",
1291
+ "hasDynamicHelp": false,
1292
+ "multiple": false,
1293
+ "type": "option"
1294
+ },
1295
+ "source": {
1296
+ "char": "s",
1297
+ "description": "Source branch name (auto-detected if not provided)",
1298
+ "name": "source",
1299
+ "hasDynamicHelp": false,
1300
+ "multiple": false,
1301
+ "type": "option"
1302
+ },
1303
+ "target": {
1304
+ "description": "Target branch name (defaults to main)",
1305
+ "name": "target",
1306
+ "hasDynamicHelp": false,
1307
+ "multiple": false,
1308
+ "type": "option"
1309
+ },
1310
+ "issues": {
1311
+ "char": "i",
1312
+ "description": "Linked issue IDs (comma-separated)",
1313
+ "name": "issues",
1314
+ "hasDynamicHelp": false,
1315
+ "multiple": false,
1316
+ "type": "option"
1317
+ },
1318
+ "reviewers": {
1319
+ "char": "r",
1320
+ "description": "Reviewers (comma-separated)",
1321
+ "name": "reviewers",
1322
+ "hasDynamicHelp": false,
1323
+ "multiple": false,
1324
+ "type": "option"
1325
+ },
1326
+ "priority": {
1327
+ "char": "p",
1328
+ "description": "Priority level (low/medium/high)",
1329
+ "name": "priority",
1330
+ "hasDynamicHelp": false,
1331
+ "multiple": false,
1332
+ "options": [
1333
+ "low",
1334
+ "medium",
1335
+ "high"
1336
+ ],
1337
+ "type": "option"
1338
+ },
1339
+ "status": {
1340
+ "description": "Initial status (draft/open)",
1341
+ "name": "status",
1342
+ "hasDynamicHelp": false,
1343
+ "multiple": false,
1344
+ "options": [
1345
+ "draft",
1346
+ "open"
1347
+ ],
1348
+ "type": "option"
1376
1349
  },
1377
1350
  "project": {
1378
1351
  "description": "Project name or path (defaults to current directory)",
@@ -1384,7 +1357,7 @@
1384
1357
  },
1385
1358
  "hasDynamicHelp": false,
1386
1359
  "hiddenAliases": [],
1387
- "id": "delete:pr",
1360
+ "id": "create:pr",
1388
1361
  "pluginAlias": "centy",
1389
1362
  "pluginName": "centy",
1390
1363
  "pluginType": "core",
@@ -1394,30 +1367,57 @@
1394
1367
  "relativePath": [
1395
1368
  "dist",
1396
1369
  "commands",
1397
- "delete",
1370
+ "create",
1398
1371
  "pr.js"
1399
1372
  ]
1400
1373
  },
1401
- "delete:user": {
1374
+ "create:user": {
1402
1375
  "aliases": [],
1403
- "args": {
1404
- "id": {
1405
- "description": "User ID",
1406
- "name": "id",
1407
- "required": true
1408
- }
1409
- },
1410
- "description": "Delete a user",
1376
+ "args": {},
1377
+ "description": "Create a new user in the project",
1411
1378
  "examples": [
1412
- "<%= config.bin %> delete user john-doe",
1413
- "<%= config.bin %> delete user john-doe --force",
1414
- "<%= config.bin %> delete user john-doe --project centy-daemon"
1379
+ "<%= config.bin %> create user --name \"John Doe\"",
1380
+ "<%= config.bin %> create user --id john-doe --name \"John Doe\" --email john@example.com",
1381
+ "<%= config.bin %> create user -n \"Alice\" -g alice-dev -g alice-work",
1382
+ "<%= config.bin %> create user --name \"Bob\" --project centy-daemon"
1415
1383
  ],
1416
1384
  "flags": {
1417
- "force": {
1418
- "char": "f",
1419
- "description": "Skip confirmation prompt",
1420
- "name": "force",
1385
+ "id": {
1386
+ "char": "i",
1387
+ "description": "User ID (slug format, auto-generated from name if not provided)",
1388
+ "name": "id",
1389
+ "hasDynamicHelp": false,
1390
+ "multiple": false,
1391
+ "type": "option"
1392
+ },
1393
+ "name": {
1394
+ "char": "n",
1395
+ "description": "Display name (required)",
1396
+ "name": "name",
1397
+ "required": true,
1398
+ "hasDynamicHelp": false,
1399
+ "multiple": false,
1400
+ "type": "option"
1401
+ },
1402
+ "email": {
1403
+ "char": "e",
1404
+ "description": "Email address",
1405
+ "name": "email",
1406
+ "hasDynamicHelp": false,
1407
+ "multiple": false,
1408
+ "type": "option"
1409
+ },
1410
+ "git-username": {
1411
+ "char": "g",
1412
+ "description": "Git username (can be specified multiple times)",
1413
+ "name": "git-username",
1414
+ "hasDynamicHelp": false,
1415
+ "multiple": true,
1416
+ "type": "option"
1417
+ },
1418
+ "json": {
1419
+ "description": "Output as JSON",
1420
+ "name": "json",
1421
1421
  "allowNo": false,
1422
1422
  "type": "boolean"
1423
1423
  },
@@ -1431,7 +1431,7 @@
1431
1431
  },
1432
1432
  "hasDynamicHelp": false,
1433
1433
  "hiddenAliases": [],
1434
- "id": "delete:user",
1434
+ "id": "create:user",
1435
1435
  "pluginAlias": "centy",
1436
1436
  "pluginName": "centy",
1437
1437
  "pluginType": "core",
@@ -1441,7 +1441,7 @@
1441
1441
  "relativePath": [
1442
1442
  "dist",
1443
1443
  "commands",
1444
- "delete",
1444
+ "create",
1445
1445
  "user.js"
1446
1446
  ]
1447
1447
  },
@@ -3203,5 +3203,5 @@
3203
3203
  ]
3204
3204
  }
3205
3205
  },
3206
- "version": "0.2.8"
3206
+ "version": "0.3.0"
3207
3207
  }