centy 0.5.0 → 0.5.1

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 (295) hide show
  1. package/dist/commands/add/asset.d.ts.map +1 -1
  2. package/dist/commands/add/asset.js +5 -1
  3. package/dist/commands/add/asset.js.map +1 -1
  4. package/dist/commands/close/issue.d.ts.map +1 -1
  5. package/dist/commands/close/issue.js +4 -0
  6. package/dist/commands/close/issue.js.map +1 -1
  7. package/dist/commands/close.js +4 -0
  8. package/dist/commands/close.js.map +1 -1
  9. package/dist/commands/cockpit.d.ts.map +1 -1
  10. package/dist/commands/cockpit.js +6 -5
  11. package/dist/commands/cockpit.js.map +1 -1
  12. package/dist/commands/config.d.ts.map +1 -1
  13. package/dist/commands/config.js +12 -11
  14. package/dist/commands/config.js.map +1 -1
  15. package/dist/commands/create/doc.d.ts.map +1 -1
  16. package/dist/commands/create/doc.js +3 -2
  17. package/dist/commands/create/doc.js.map +1 -1
  18. package/dist/commands/create/issue.d.ts +1 -0
  19. package/dist/commands/create/issue.d.ts.map +1 -1
  20. package/dist/commands/create/issue.js +6 -0
  21. package/dist/commands/create/issue.js.map +1 -1
  22. package/dist/commands/create/item-type.d.ts.map +1 -1
  23. package/dist/commands/create/item-type.js +1 -0
  24. package/dist/commands/create/item-type.js.map +1 -1
  25. package/dist/commands/create/org.js +2 -2
  26. package/dist/commands/create/org.js.map +1 -1
  27. package/dist/commands/create/user.d.ts.map +1 -1
  28. package/dist/commands/create/user.js +11 -10
  29. package/dist/commands/create/user.js.map +1 -1
  30. package/dist/commands/daemon/status.d.ts +13 -0
  31. package/dist/commands/daemon/status.d.ts.map +1 -0
  32. package/dist/commands/daemon/status.js +68 -0
  33. package/dist/commands/daemon/status.js.map +1 -0
  34. package/dist/commands/delete/asset.js +1 -1
  35. package/dist/commands/delete/asset.js.map +1 -1
  36. package/dist/commands/delete/doc.d.ts.map +1 -1
  37. package/dist/commands/delete/doc.js +5 -3
  38. package/dist/commands/delete/doc.js.map +1 -1
  39. package/dist/commands/delete/issue.d.ts.map +1 -1
  40. package/dist/commands/delete/issue.js +5 -3
  41. package/dist/commands/delete/issue.js.map +1 -1
  42. package/dist/commands/delete/user.d.ts.map +1 -1
  43. package/dist/commands/delete/user.js +5 -3
  44. package/dist/commands/delete/user.js.map +1 -1
  45. package/dist/commands/duplicate/doc.js +2 -2
  46. package/dist/commands/duplicate/doc.js.map +1 -1
  47. package/dist/commands/duplicate/issue.js +1 -1
  48. package/dist/commands/duplicate/issue.js.map +1 -1
  49. package/dist/commands/get/asset.js +1 -1
  50. package/dist/commands/get/asset.js.map +1 -1
  51. package/dist/commands/get/project.js.map +1 -1
  52. package/dist/commands/{get/issue.d.ts → get.d.ts} +4 -4
  53. package/dist/commands/get.d.ts.map +1 -0
  54. package/dist/commands/get.js +91 -0
  55. package/dist/commands/get.js.map +1 -0
  56. package/dist/commands/link.d.ts.map +1 -1
  57. package/dist/commands/link.js +2 -0
  58. package/dist/commands/link.js.map +1 -1
  59. package/dist/commands/links.d.ts.map +1 -1
  60. package/dist/commands/links.js +1 -0
  61. package/dist/commands/links.js.map +1 -1
  62. package/dist/commands/list/assets.js +1 -1
  63. package/dist/commands/list/assets.js.map +1 -1
  64. package/dist/commands/list/docs.d.ts.map +1 -1
  65. package/dist/commands/list/docs.js +1 -0
  66. package/dist/commands/list/docs.js.map +1 -1
  67. package/dist/commands/list/issues.d.ts.map +1 -1
  68. package/dist/commands/list/issues.js +3 -2
  69. package/dist/commands/list/issues.js.map +1 -1
  70. package/dist/commands/list/projects.d.ts.map +1 -1
  71. package/dist/commands/list/projects.js +2 -1
  72. package/dist/commands/list/projects.js.map +1 -1
  73. package/dist/commands/list/users.d.ts.map +1 -1
  74. package/dist/commands/list/users.js +2 -1
  75. package/dist/commands/list/users.js.map +1 -1
  76. package/dist/commands/move/doc.js +1 -1
  77. package/dist/commands/move/doc.js.map +1 -1
  78. package/dist/commands/move/issue.js.map +1 -1
  79. package/dist/commands/project/archive.js.map +1 -1
  80. package/dist/commands/project/favorite.js.map +1 -1
  81. package/dist/commands/project/org.js.map +1 -1
  82. package/dist/commands/project/title.js.map +1 -1
  83. package/dist/commands/register/project.js.map +1 -1
  84. package/dist/commands/show.d.ts.map +1 -1
  85. package/dist/commands/show.js +6 -5
  86. package/dist/commands/show.js.map +1 -1
  87. package/dist/commands/sync/users.d.ts.map +1 -1
  88. package/dist/commands/sync/users.js +6 -5
  89. package/dist/commands/sync/users.js.map +1 -1
  90. package/dist/commands/unlink.d.ts.map +1 -1
  91. package/dist/commands/unlink.js +3 -1
  92. package/dist/commands/unlink.js.map +1 -1
  93. package/dist/commands/update/doc.d.ts +1 -0
  94. package/dist/commands/update/doc.d.ts.map +1 -1
  95. package/dist/commands/update/doc.js +5 -3
  96. package/dist/commands/update/doc.js.map +1 -1
  97. package/dist/commands/update/issue.d.ts +1 -0
  98. package/dist/commands/update/issue.d.ts.map +1 -1
  99. package/dist/commands/update/issue.js +8 -4
  100. package/dist/commands/update/issue.js.map +1 -1
  101. package/dist/commands/update/org.d.ts.map +1 -1
  102. package/dist/commands/update/org.js +8 -4
  103. package/dist/commands/update/org.js.map +1 -1
  104. package/dist/commands/update/user.d.ts +1 -0
  105. package/dist/commands/update/user.d.ts.map +1 -1
  106. package/dist/commands/update/user.js +15 -12
  107. package/dist/commands/update/user.js.map +1 -1
  108. package/dist/commands/workspace/cleanup.js +6 -5
  109. package/dist/commands/workspace/cleanup.js.map +1 -1
  110. package/dist/commands/workspace/list.d.ts.map +1 -1
  111. package/dist/commands/workspace/list.js +1 -1
  112. package/dist/commands/workspace/list.js.map +1 -1
  113. package/dist/commands/workspace/open.d.ts.map +1 -1
  114. package/dist/commands/workspace/open.js +5 -3
  115. package/dist/commands/workspace/open.js.map +1 -1
  116. package/dist/daemon/daemon-control-service.js +2 -2
  117. package/dist/daemon/daemon-control-service.js.map +1 -1
  118. package/dist/daemon/daemon-delete-item.d.ts +6 -0
  119. package/dist/daemon/daemon-delete-item.d.ts.map +1 -0
  120. package/dist/daemon/daemon-delete-item.js +9 -0
  121. package/dist/daemon/{daemon-delete-user.js.map → daemon-delete-item.js.map} +1 -1
  122. package/dist/daemon/daemon-get-item.d.ts +6 -0
  123. package/dist/daemon/daemon-get-item.d.ts.map +1 -0
  124. package/dist/daemon/daemon-get-item.js +9 -0
  125. package/dist/daemon/daemon-get-item.js.map +1 -0
  126. package/dist/daemon/generated/centy/v1/centy.d.ts +1624 -0
  127. package/dist/daemon/generated/centy/v1/centy.d.ts.map +1 -0
  128. package/dist/daemon/generated/centy/v1/centy.js +86 -0
  129. package/dist/daemon/generated/centy/v1/centy.js.map +1 -0
  130. package/dist/daemon/generated/centy/v1/generic_item.d.ts +219 -0
  131. package/dist/daemon/generated/centy/v1/generic_item.d.ts.map +1 -0
  132. package/dist/daemon/generated/centy/v1/generic_item.js +19 -0
  133. package/dist/daemon/generated/centy/v1/generic_item.js.map +1 -0
  134. package/dist/daemon/types/feature.d.ts +1 -1
  135. package/dist/daemon/types/feature.d.ts.map +1 -1
  136. package/dist/daemon/types.d.ts +4 -22
  137. package/dist/daemon/types.d.ts.map +1 -1
  138. package/dist/daemon/types.js +4 -22
  139. package/dist/daemon/types.js.map +1 -1
  140. package/dist/hooks/prerun.d.ts.map +1 -1
  141. package/dist/hooks/prerun.js +6 -5
  142. package/dist/hooks/prerun.js.map +1 -1
  143. package/dist/lib/close/close-issue.d.ts.map +1 -1
  144. package/dist/lib/close/close-issue.js +4 -0
  145. package/dist/lib/close/close-issue.js.map +1 -1
  146. package/dist/lib/compact/compact-parse-error.d.ts +1 -1
  147. package/dist/lib/compact/compact-parse-error.d.ts.map +1 -1
  148. package/dist/lib/compact/compact-parse-error.js +2 -2
  149. package/dist/lib/compact/compact-parse-error.js.map +1 -1
  150. package/dist/lib/compact/mark-issues.d.ts.map +1 -1
  151. package/dist/lib/compact/mark-issues.js +2 -1
  152. package/dist/lib/compact/mark-issues.js.map +1 -1
  153. package/dist/lib/compact/parse-llm-response.d.ts.map +1 -1
  154. package/dist/lib/compact/parse-llm-response.js +1 -1
  155. package/dist/lib/compact/parse-llm-response.js.map +1 -1
  156. package/dist/lib/compact/save-results.d.ts.map +1 -1
  157. package/dist/lib/compact/save-results.js +6 -3
  158. package/dist/lib/compact/save-results.js.map +1 -1
  159. package/dist/lib/create-issue/create-issue.d.ts.map +1 -1
  160. package/dist/lib/create-issue/create-issue.js +3 -0
  161. package/dist/lib/create-issue/create-issue.js.map +1 -1
  162. package/dist/lib/get-doc/handle-global-search.d.ts.map +1 -1
  163. package/dist/lib/get-doc/handle-global-search.js +6 -5
  164. package/dist/lib/get-doc/handle-global-search.js.map +1 -1
  165. package/dist/lib/get-issue/handle-global-search.d.ts.map +1 -1
  166. package/dist/lib/get-issue/handle-global-search.js +6 -5
  167. package/dist/lib/get-issue/handle-global-search.js.map +1 -1
  168. package/dist/lib/get-item/format-generic-item.d.ts +6 -0
  169. package/dist/lib/get-item/format-generic-item.d.ts.map +1 -0
  170. package/dist/lib/get-item/format-generic-item.js +35 -0
  171. package/dist/lib/get-item/format-generic-item.js.map +1 -0
  172. package/dist/lib/get-item/handle-global-get.d.ts +2 -0
  173. package/dist/lib/get-item/handle-global-get.d.ts.map +1 -0
  174. package/dist/lib/get-item/handle-global-get.js +18 -0
  175. package/dist/lib/get-item/handle-global-get.js.map +1 -0
  176. package/dist/lib/show/format-results.js.map +1 -1
  177. package/dist/lib/start/handle-missing-daemon.d.ts.map +1 -1
  178. package/dist/lib/start/handle-missing-daemon.js +2 -1
  179. package/dist/lib/start/handle-missing-daemon.js.map +1 -1
  180. package/dist/lib/start/start-foreground.d.ts.map +1 -1
  181. package/dist/lib/start/start-foreground.js +6 -3
  182. package/dist/lib/start/start-foreground.js.map +1 -1
  183. package/dist/types/create-issue-options.d.ts +2 -0
  184. package/dist/types/create-issue-options.d.ts.map +1 -1
  185. package/dist/utils/resolve-project-path.d.ts.map +1 -1
  186. package/dist/utils/resolve-project-path.js +4 -0
  187. package/dist/utils/resolve-project-path.js.map +1 -1
  188. package/oclif.manifest.json +497 -551
  189. package/package.json +6 -4
  190. package/dist/commands/get/doc.d.ts +0 -20
  191. package/dist/commands/get/doc.d.ts.map +0 -1
  192. package/dist/commands/get/doc.js +0 -99
  193. package/dist/commands/get/doc.js.map +0 -1
  194. package/dist/commands/get/issue.d.ts.map +0 -1
  195. package/dist/commands/get/issue.js +0 -87
  196. package/dist/commands/get/issue.js.map +0 -1
  197. package/dist/commands/get/user.d.ts +0 -17
  198. package/dist/commands/get/user.d.ts.map +0 -1
  199. package/dist/commands/get/user.js +0 -75
  200. package/dist/commands/get/user.js.map +0 -1
  201. package/dist/daemon/daemon-delete-doc.d.ts +0 -6
  202. package/dist/daemon/daemon-delete-doc.d.ts.map +0 -1
  203. package/dist/daemon/daemon-delete-doc.js +0 -9
  204. package/dist/daemon/daemon-delete-doc.js.map +0 -1
  205. package/dist/daemon/daemon-delete-issue.d.ts +0 -6
  206. package/dist/daemon/daemon-delete-issue.d.ts.map +0 -1
  207. package/dist/daemon/daemon-delete-issue.js +0 -9
  208. package/dist/daemon/daemon-delete-issue.js.map +0 -1
  209. package/dist/daemon/daemon-delete-user.d.ts +0 -6
  210. package/dist/daemon/daemon-delete-user.d.ts.map +0 -1
  211. package/dist/daemon/daemon-delete-user.js +0 -9
  212. package/dist/daemon/types/asset.d.ts +0 -64
  213. package/dist/daemon/types/asset.d.ts.map +0 -1
  214. package/dist/daemon/types/asset.js +0 -6
  215. package/dist/daemon/types/asset.js.map +0 -1
  216. package/dist/daemon/types/config.d.ts +0 -56
  217. package/dist/daemon/types/config.d.ts.map +0 -1
  218. package/dist/daemon/types/config.js +0 -6
  219. package/dist/daemon/types/config.js.map +0 -1
  220. package/dist/daemon/types/daemon.d.ts +0 -25
  221. package/dist/daemon/types/daemon.d.ts.map +0 -1
  222. package/dist/daemon/types/daemon.js +0 -6
  223. package/dist/daemon/types/daemon.js.map +0 -1
  224. package/dist/daemon/types/doc-lifecycle.d.ts +0 -55
  225. package/dist/daemon/types/doc-lifecycle.d.ts.map +0 -1
  226. package/dist/daemon/types/doc-lifecycle.js +0 -7
  227. package/dist/daemon/types/doc-lifecycle.js.map +0 -1
  228. package/dist/daemon/types/doc.d.ts +0 -93
  229. package/dist/daemon/types/doc.d.ts.map +0 -1
  230. package/dist/daemon/types/doc.js +0 -6
  231. package/dist/daemon/types/doc.js.map +0 -1
  232. package/dist/daemon/types/entity-action.d.ts +0 -23
  233. package/dist/daemon/types/entity-action.d.ts.map +0 -1
  234. package/dist/daemon/types/entity-action.js +0 -6
  235. package/dist/daemon/types/entity-action.js.map +0 -1
  236. package/dist/daemon/types/generic-item.d.ts +0 -104
  237. package/dist/daemon/types/generic-item.d.ts.map +0 -1
  238. package/dist/daemon/types/generic-item.js +0 -6
  239. package/dist/daemon/types/generic-item.js.map +0 -1
  240. package/dist/daemon/types/init.d.ts +0 -66
  241. package/dist/daemon/types/init.d.ts.map +0 -1
  242. package/dist/daemon/types/init.js +0 -6
  243. package/dist/daemon/types/init.js.map +0 -1
  244. package/dist/daemon/types/issue-lifecycle.d.ts +0 -62
  245. package/dist/daemon/types/issue-lifecycle.d.ts.map +0 -1
  246. package/dist/daemon/types/issue-lifecycle.js +0 -7
  247. package/dist/daemon/types/issue-lifecycle.js.map +0 -1
  248. package/dist/daemon/types/issue-search.d.ts +0 -39
  249. package/dist/daemon/types/issue-search.d.ts.map +0 -1
  250. package/dist/daemon/types/issue-search.js +0 -6
  251. package/dist/daemon/types/issue-search.js.map +0 -1
  252. package/dist/daemon/types/issue.d.ts +0 -97
  253. package/dist/daemon/types/issue.d.ts.map +0 -1
  254. package/dist/daemon/types/issue.js +0 -6
  255. package/dist/daemon/types/issue.js.map +0 -1
  256. package/dist/daemon/types/item-type.d.ts +0 -37
  257. package/dist/daemon/types/item-type.d.ts.map +0 -1
  258. package/dist/daemon/types/item-type.js +0 -6
  259. package/dist/daemon/types/item-type.js.map +0 -1
  260. package/dist/daemon/types/link.d.ts +0 -58
  261. package/dist/daemon/types/link.d.ts.map +0 -1
  262. package/dist/daemon/types/link.js +0 -6
  263. package/dist/daemon/types/link.js.map +0 -1
  264. package/dist/daemon/types/organization.d.ts +0 -62
  265. package/dist/daemon/types/organization.d.ts.map +0 -1
  266. package/dist/daemon/types/organization.js +0 -6
  267. package/dist/daemon/types/organization.js.map +0 -1
  268. package/dist/daemon/types/project.d.ts +0 -101
  269. package/dist/daemon/types/project.d.ts.map +0 -1
  270. package/dist/daemon/types/project.js +0 -6
  271. package/dist/daemon/types/project.js.map +0 -1
  272. package/dist/daemon/types/sync.d.ts +0 -72
  273. package/dist/daemon/types/sync.d.ts.map +0 -1
  274. package/dist/daemon/types/sync.js +0 -6
  275. package/dist/daemon/types/sync.js.map +0 -1
  276. package/dist/daemon/types/user-lifecycle.d.ts +0 -45
  277. package/dist/daemon/types/user-lifecycle.d.ts.map +0 -1
  278. package/dist/daemon/types/user-lifecycle.js +0 -7
  279. package/dist/daemon/types/user-lifecycle.js.map +0 -1
  280. package/dist/daemon/types/user.d.ts +0 -67
  281. package/dist/daemon/types/user.d.ts.map +0 -1
  282. package/dist/daemon/types/user.js +0 -6
  283. package/dist/daemon/types/user.js.map +0 -1
  284. package/dist/daemon/types/workspace-ops.d.ts +0 -66
  285. package/dist/daemon/types/workspace-ops.d.ts.map +0 -1
  286. package/dist/daemon/types/workspace-ops.js +0 -7
  287. package/dist/daemon/types/workspace-ops.js.map +0 -1
  288. package/dist/daemon/types/workspace.d.ts +0 -70
  289. package/dist/daemon/types/workspace.d.ts.map +0 -1
  290. package/dist/daemon/types/workspace.js +0 -6
  291. package/dist/daemon/types/workspace.js.map +0 -1
  292. package/dist/lib/get-issue/fetch-and-display.d.ts +0 -12
  293. package/dist/lib/get-issue/fetch-and-display.d.ts.map +0 -1
  294. package/dist/lib/get-issue/fetch-and-display.js +0 -39
  295. package/dist/lib/get-issue/fetch-and-display.js.map +0 -1
@@ -155,6 +155,68 @@
155
155
  "config.js"
156
156
  ]
157
157
  },
158
+ "get": {
159
+ "aliases": [],
160
+ "args": {
161
+ "type": {
162
+ "description": "Item type (e.g., issue, doc, user, or custom type)",
163
+ "name": "type",
164
+ "required": true
165
+ },
166
+ "id": {
167
+ "description": "Item ID (UUID, display number, or slug)",
168
+ "name": "id",
169
+ "required": true
170
+ }
171
+ },
172
+ "description": "Get an item by type and identifier",
173
+ "examples": [
174
+ "<%= config.bin %> get issue 1",
175
+ "<%= config.bin %> get issue abc123-uuid",
176
+ "<%= config.bin %> get doc getting-started",
177
+ "<%= config.bin %> get user john-doe",
178
+ "<%= config.bin %> get epic 1",
179
+ "<%= config.bin %> get bug abc123-uuid --json",
180
+ "<%= config.bin %> get issue abc123-uuid --global",
181
+ "<%= config.bin %> get issue 1 --project centy-daemon"
182
+ ],
183
+ "flags": {
184
+ "json": {
185
+ "description": "Output as JSON",
186
+ "name": "json",
187
+ "allowNo": false,
188
+ "type": "boolean"
189
+ },
190
+ "global": {
191
+ "char": "g",
192
+ "description": "Search across all tracked projects (UUID only)",
193
+ "name": "global",
194
+ "allowNo": false,
195
+ "type": "boolean"
196
+ },
197
+ "project": {
198
+ "description": "Project name or path (defaults to current directory)",
199
+ "name": "project",
200
+ "hasDynamicHelp": false,
201
+ "multiple": false,
202
+ "type": "option"
203
+ }
204
+ },
205
+ "hasDynamicHelp": false,
206
+ "hiddenAliases": [],
207
+ "id": "get",
208
+ "pluginAlias": "centy",
209
+ "pluginName": "centy",
210
+ "pluginType": "core",
211
+ "strict": true,
212
+ "enableJsonFlag": false,
213
+ "isESM": true,
214
+ "relativePath": [
215
+ "dist",
216
+ "commands",
217
+ "get.js"
218
+ ]
219
+ },
158
220
  "info": {
159
221
  "aliases": [],
160
222
  "args": {},
@@ -797,6 +859,158 @@
797
859
  "autostart.js"
798
860
  ]
799
861
  },
862
+ "daemon:status": {
863
+ "aliases": [],
864
+ "args": {},
865
+ "description": "Check whether the centy daemon is running",
866
+ "examples": [
867
+ "<%= config.bin %> daemon status",
868
+ "<%= config.bin %> daemon status --json"
869
+ ],
870
+ "flags": {
871
+ "json": {
872
+ "description": "Output as JSON",
873
+ "name": "json",
874
+ "allowNo": false,
875
+ "type": "boolean"
876
+ }
877
+ },
878
+ "hasDynamicHelp": false,
879
+ "hiddenAliases": [],
880
+ "id": "daemon:status",
881
+ "pluginAlias": "centy",
882
+ "pluginName": "centy",
883
+ "pluginType": "core",
884
+ "strict": true,
885
+ "enableJsonFlag": false,
886
+ "isESM": true,
887
+ "relativePath": [
888
+ "dist",
889
+ "commands",
890
+ "daemon",
891
+ "status.js"
892
+ ]
893
+ },
894
+ "duplicate:doc": {
895
+ "aliases": [],
896
+ "args": {
897
+ "slug": {
898
+ "description": "Doc slug",
899
+ "name": "slug",
900
+ "required": true
901
+ }
902
+ },
903
+ "description": "Duplicate a doc (same project or different project)",
904
+ "examples": [
905
+ "<%= config.bin %> duplicate doc my-doc",
906
+ "<%= config.bin %> duplicate doc readme --new-slug readme-v2",
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\""
909
+ ],
910
+ "flags": {
911
+ "to": {
912
+ "char": "t",
913
+ "description": "Target project path (defaults to same project if not specified)",
914
+ "name": "to",
915
+ "hasDynamicHelp": false,
916
+ "multiple": false,
917
+ "type": "option"
918
+ },
919
+ "new-slug": {
920
+ "char": "s",
921
+ "description": "Slug for the duplicate (defaults to \"{slug}-copy\")",
922
+ "name": "new-slug",
923
+ "hasDynamicHelp": false,
924
+ "multiple": false,
925
+ "type": "option"
926
+ },
927
+ "title": {
928
+ "description": "Title for the duplicate (defaults to \"Copy of {original}\")",
929
+ "name": "title",
930
+ "hasDynamicHelp": false,
931
+ "multiple": false,
932
+ "type": "option"
933
+ },
934
+ "project": {
935
+ "description": "Project name or path (defaults to current directory)",
936
+ "name": "project",
937
+ "hasDynamicHelp": false,
938
+ "multiple": false,
939
+ "type": "option"
940
+ }
941
+ },
942
+ "hasDynamicHelp": false,
943
+ "hiddenAliases": [],
944
+ "id": "duplicate:doc",
945
+ "pluginAlias": "centy",
946
+ "pluginName": "centy",
947
+ "pluginType": "core",
948
+ "strict": true,
949
+ "enableJsonFlag": false,
950
+ "isESM": true,
951
+ "relativePath": [
952
+ "dist",
953
+ "commands",
954
+ "duplicate",
955
+ "doc.js"
956
+ ]
957
+ },
958
+ "duplicate:issue": {
959
+ "aliases": [],
960
+ "args": {
961
+ "id": {
962
+ "description": "Issue ID (UUID) or display number",
963
+ "name": "id",
964
+ "required": true
965
+ }
966
+ },
967
+ "description": "Duplicate an issue (same project or different project)",
968
+ "examples": [
969
+ "<%= config.bin %> duplicate issue 1",
970
+ "<%= config.bin %> duplicate issue 1 --title \"New feature branch\"",
971
+ "<%= config.bin %> duplicate issue abc123-uuid --to /path/to/other/project",
972
+ "<%= config.bin %> duplicate issue 5 --to ../other --title \"Copy for testing\""
973
+ ],
974
+ "flags": {
975
+ "to": {
976
+ "char": "t",
977
+ "description": "Target project path (defaults to same project if not specified)",
978
+ "name": "to",
979
+ "hasDynamicHelp": false,
980
+ "multiple": false,
981
+ "type": "option"
982
+ },
983
+ "title": {
984
+ "description": "Title for the duplicate (defaults to \"Copy of {original}\")",
985
+ "name": "title",
986
+ "hasDynamicHelp": false,
987
+ "multiple": false,
988
+ "type": "option"
989
+ },
990
+ "project": {
991
+ "description": "Project name or path (defaults to current directory)",
992
+ "name": "project",
993
+ "hasDynamicHelp": false,
994
+ "multiple": false,
995
+ "type": "option"
996
+ }
997
+ },
998
+ "hasDynamicHelp": false,
999
+ "hiddenAliases": [],
1000
+ "id": "duplicate:issue",
1001
+ "pluginAlias": "centy",
1002
+ "pluginName": "centy",
1003
+ "pluginType": "core",
1004
+ "strict": true,
1005
+ "enableJsonFlag": false,
1006
+ "isESM": true,
1007
+ "relativePath": [
1008
+ "dist",
1009
+ "commands",
1010
+ "duplicate",
1011
+ "issue.js"
1012
+ ]
1013
+ },
800
1014
  "delete:asset": {
801
1015
  "aliases": [],
802
1016
  "args": {
@@ -1043,52 +1257,50 @@
1043
1257
  "user.js"
1044
1258
  ]
1045
1259
  },
1046
- "create:doc": {
1047
- "aliases": [],
1048
- "args": {},
1049
- "description": "Create a new documentation file",
1260
+ "get:asset": {
1261
+ "aliases": [
1262
+ "show:asset"
1263
+ ],
1264
+ "args": {
1265
+ "filename": {
1266
+ "description": "Asset filename",
1267
+ "name": "filename",
1268
+ "required": true
1269
+ }
1270
+ },
1271
+ "description": "Get an asset and save it to a file",
1050
1272
  "examples": [
1051
- "<%= config.bin %> create doc --title \"Getting Started\"",
1052
- "<%= config.bin %> create doc -t \"API Reference\" -c \"# API\n\nDocumentation here\"",
1053
- "<%= config.bin %> create doc --title \"Guide\" --slug my-guide",
1054
- "<%= config.bin %> create doc --title \"Guide\" --project centy-daemon"
1273
+ "<%= config.bin %> get asset screenshot.png --issue 1 --output ./screenshot.png",
1274
+ "<%= config.bin %> get asset logo.svg --shared --output ./logo.svg",
1275
+ "<%= config.bin %> get asset screenshot.png --issue 1 --project centy-daemon"
1055
1276
  ],
1056
1277
  "flags": {
1057
- "title": {
1058
- "char": "t",
1059
- "description": "Doc title",
1060
- "name": "title",
1061
- "required": true,
1278
+ "issue": {
1279
+ "char": "i",
1280
+ "description": "Issue ID or display number",
1281
+ "name": "issue",
1062
1282
  "hasDynamicHelp": false,
1063
1283
  "multiple": false,
1064
1284
  "type": "option"
1065
1285
  },
1066
- "content": {
1067
- "char": "c",
1068
- "description": "Doc content (markdown)",
1069
- "name": "content",
1070
- "default": "",
1286
+ "shared": {
1287
+ "char": "s",
1288
+ "description": "Get a shared asset",
1289
+ "name": "shared",
1290
+ "allowNo": false,
1291
+ "type": "boolean"
1292
+ },
1293
+ "output": {
1294
+ "char": "o",
1295
+ "description": "Output file path (defaults to asset filename)",
1296
+ "name": "output",
1071
1297
  "hasDynamicHelp": false,
1072
1298
  "multiple": false,
1073
1299
  "type": "option"
1074
1300
  },
1075
- "slug": {
1076
- "description": "Custom slug (auto-generated from title if not provided)",
1077
- "name": "slug",
1078
- "hasDynamicHelp": false,
1079
- "multiple": false,
1080
- "type": "option"
1081
- },
1082
- "template": {
1083
- "description": "Template name to use",
1084
- "name": "template",
1085
- "hasDynamicHelp": false,
1086
- "multiple": false,
1087
- "type": "option"
1088
- },
1089
- "project": {
1090
- "description": "Project name or path (defaults to current directory)",
1091
- "name": "project",
1301
+ "project": {
1302
+ "description": "Project name or path (defaults to current directory)",
1303
+ "name": "project",
1092
1304
  "hasDynamicHelp": false,
1093
1305
  "multiple": false,
1094
1306
  "type": "option"
@@ -1096,7 +1308,7 @@
1096
1308
  },
1097
1309
  "hasDynamicHelp": false,
1098
1310
  "hiddenAliases": [],
1099
- "id": "create:doc",
1311
+ "id": "get:asset",
1100
1312
  "pluginAlias": "centy",
1101
1313
  "pluginName": "centy",
1102
1314
  "pluginType": "core",
@@ -1106,171 +1318,37 @@
1106
1318
  "relativePath": [
1107
1319
  "dist",
1108
1320
  "commands",
1109
- "create",
1110
- "doc.js"
1321
+ "get",
1322
+ "asset.js"
1111
1323
  ]
1112
1324
  },
1113
- "create:issue": {
1114
- "aliases": [],
1115
- "args": {},
1116
- "description": "Create a new issue in the .centy folder",
1117
- "examples": [
1118
- "<%= config.bin %> create issue",
1119
- "<%= config.bin %> create issue --title \"Bug in login\" --priority high",
1120
- "<%= config.bin %> create issue -t \"Add feature\" -d \"Implement dark mode\"",
1121
- "<%= config.bin %> create issue -t \"Add feature\" --project centy-daemon",
1122
- "<%= config.bin %> create issue --title \"WIP feature\" --draft"
1325
+ "get:org": {
1326
+ "aliases": [
1327
+ "get:organization"
1123
1328
  ],
1124
- "flags": {
1125
- "title": {
1126
- "char": "t",
1127
- "description": "Issue title",
1128
- "name": "title",
1129
- "hasDynamicHelp": false,
1130
- "multiple": false,
1131
- "type": "option"
1132
- },
1133
- "description": {
1134
- "char": "d",
1135
- "description": "Issue description",
1136
- "name": "description",
1137
- "hasDynamicHelp": false,
1138
- "multiple": false,
1139
- "type": "option"
1140
- },
1141
- "priority": {
1142
- "char": "p",
1143
- "description": "Priority level (low/medium/high)",
1144
- "name": "priority",
1145
- "hasDynamicHelp": false,
1146
- "multiple": false,
1147
- "options": [
1148
- "low",
1149
- "medium",
1150
- "high"
1151
- ],
1152
- "type": "option"
1153
- },
1154
- "status": {
1155
- "char": "s",
1156
- "description": "Initial status",
1157
- "name": "status",
1158
- "default": "open",
1159
- "hasDynamicHelp": false,
1160
- "multiple": false,
1161
- "type": "option"
1162
- },
1163
- "draft": {
1164
- "description": "Create as draft",
1165
- "name": "draft",
1166
- "allowNo": false,
1167
- "type": "boolean"
1168
- },
1169
- "project": {
1170
- "description": "Project name or path (defaults to current directory)",
1171
- "name": "project",
1172
- "hasDynamicHelp": false,
1173
- "multiple": false,
1174
- "type": "option"
1329
+ "args": {
1330
+ "slug": {
1331
+ "description": "Organization slug",
1332
+ "name": "slug",
1333
+ "required": true
1175
1334
  }
1176
1335
  },
1177
- "hasDynamicHelp": false,
1178
- "hiddenAliases": [],
1179
- "id": "create:issue",
1180
- "pluginAlias": "centy",
1181
- "pluginName": "centy",
1182
- "pluginType": "core",
1183
- "strict": true,
1184
- "enableJsonFlag": false,
1185
- "isESM": true,
1186
- "relativePath": [
1187
- "dist",
1188
- "commands",
1189
- "create",
1190
- "issue.js"
1191
- ]
1192
- },
1193
- "create:item-type": {
1194
- "aliases": [],
1195
- "args": {},
1196
- "description": "Create a new custom item type",
1336
+ "description": "Get organization details by slug",
1197
1337
  "examples": [
1198
- "<%= 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",
1199
- "<%= config.bin %> create item-type --name \"Task\" --plural \"tasks\" --identifier slug --statuses todo,doing,done --default-status todo --features status,priority"
1338
+ "<%= config.bin %> get org centy-io",
1339
+ "<%= config.bin %> get organization my-org --json"
1200
1340
  ],
1201
1341
  "flags": {
1202
- "name": {
1203
- "char": "n",
1204
- "description": "Singular display name (e.g., \"Bug\", \"Task\", \"Epic\")",
1205
- "name": "name",
1206
- "required": true,
1207
- "hasDynamicHelp": false,
1208
- "multiple": false,
1209
- "type": "option"
1210
- },
1211
- "plural": {
1212
- "description": "Folder/type key, lowercase alphanumeric + hyphens (e.g., \"bugs\")",
1213
- "name": "plural",
1214
- "required": true,
1215
- "hasDynamicHelp": false,
1216
- "multiple": false,
1217
- "type": "option"
1218
- },
1219
- "identifier": {
1220
- "description": "Identifier type for items",
1221
- "name": "identifier",
1222
- "required": true,
1223
- "hasDynamicHelp": false,
1224
- "multiple": false,
1225
- "options": [
1226
- "uuid",
1227
- "slug"
1228
- ],
1229
- "type": "option"
1230
- },
1231
- "statuses": {
1232
- "description": "Comma-separated list of allowed statuses",
1233
- "name": "statuses",
1234
- "required": true,
1235
- "hasDynamicHelp": false,
1236
- "multiple": false,
1237
- "type": "option"
1238
- },
1239
- "default-status": {
1240
- "description": "Default status for new items (must be in statuses list)",
1241
- "name": "default-status",
1242
- "required": true,
1243
- "hasDynamicHelp": false,
1244
- "multiple": false,
1245
- "type": "option"
1246
- },
1247
- "priority-levels": {
1248
- "description": "Number of priority levels (0 = none)",
1249
- "name": "priority-levels",
1250
- "default": 0,
1251
- "hasDynamicHelp": false,
1252
- "multiple": false,
1253
- "type": "option"
1254
- },
1255
- "features": {
1256
- "char": "f",
1257
- "description": "Comma-separated features (display-number, status, priority, assets, org-sync, move, duplicate)",
1258
- "name": "features",
1259
- "hasDynamicHelp": false,
1260
- "multiple": false,
1261
- "type": "option"
1262
- },
1263
- "project": {
1264
- "description": "Project name or path (defaults to current directory)",
1265
- "name": "project",
1266
- "hasDynamicHelp": false,
1267
- "multiple": false,
1268
- "type": "option"
1342
+ "json": {
1343
+ "description": "Output as JSON",
1344
+ "name": "json",
1345
+ "allowNo": false,
1346
+ "type": "boolean"
1269
1347
  }
1270
1348
  },
1271
1349
  "hasDynamicHelp": false,
1272
1350
  "hiddenAliases": [],
1273
- "id": "create:item-type",
1351
+ "id": "get:org",
1274
1352
  "pluginAlias": "centy",
1275
1353
  "pluginName": "centy",
1276
1354
  "pluginType": "core",
@@ -1280,45 +1358,28 @@
1280
1358
  "relativePath": [
1281
1359
  "dist",
1282
1360
  "commands",
1283
- "create",
1284
- "item-type.js"
1361
+ "get",
1362
+ "org.js"
1285
1363
  ]
1286
1364
  },
1287
- "create:org": {
1365
+ "get:project": {
1288
1366
  "aliases": [
1289
- "create:organization"
1367
+ "show:project"
1290
1368
  ],
1291
1369
  "args": {
1292
- "name": {
1293
- "description": "Organization display name",
1294
- "name": "name",
1295
- "required": true
1370
+ "path": {
1371
+ "description": "Path to the project (defaults to current directory)",
1372
+ "name": "path",
1373
+ "required": false
1296
1374
  }
1297
1375
  },
1298
- "description": "Create a new organization to group projects",
1376
+ "description": "Get info about a specific project",
1299
1377
  "examples": [
1300
- "<%= config.bin %> create org \"My Company\"",
1301
- "<%= config.bin %> create org \"Centy.io\" --slug centy-io",
1302
- "<%= config.bin %> create org \"My Org\" --description \"Official projects\"",
1303
- "<%= config.bin %> create organization \"Work Projects\""
1378
+ "<%= config.bin %> get project",
1379
+ "<%= config.bin %> get project /path/to/project",
1380
+ "<%= config.bin %> get project --json"
1304
1381
  ],
1305
1382
  "flags": {
1306
- "slug": {
1307
- "char": "s",
1308
- "description": "Custom slug (auto-generated from name if not provided)",
1309
- "name": "slug",
1310
- "hasDynamicHelp": false,
1311
- "multiple": false,
1312
- "type": "option"
1313
- },
1314
- "description": {
1315
- "char": "d",
1316
- "description": "Organization description",
1317
- "name": "description",
1318
- "hasDynamicHelp": false,
1319
- "multiple": false,
1320
- "type": "option"
1321
- },
1322
1383
  "json": {
1323
1384
  "description": "Output as JSON",
1324
1385
  "name": "json",
@@ -1328,7 +1389,7 @@
1328
1389
  },
1329
1390
  "hasDynamicHelp": false,
1330
1391
  "hiddenAliases": [],
1331
- "id": "create:org",
1392
+ "id": "get:project",
1332
1393
  "pluginAlias": "centy",
1333
1394
  "pluginName": "centy",
1334
1395
  "pluginType": "core",
@@ -1338,120 +1399,49 @@
1338
1399
  "relativePath": [
1339
1400
  "dist",
1340
1401
  "commands",
1341
- "create",
1342
- "org.js"
1402
+ "get",
1403
+ "project.js"
1343
1404
  ]
1344
1405
  },
1345
- "create:user": {
1406
+ "create:doc": {
1346
1407
  "aliases": [],
1347
1408
  "args": {},
1348
- "description": "Create a new user in the project",
1409
+ "description": "Create a new documentation file",
1349
1410
  "examples": [
1350
- "<%= config.bin %> create user --name \"John Doe\"",
1351
- "<%= config.bin %> create user --id john-doe --name \"John Doe\" --email john@example.com",
1352
- "<%= config.bin %> create user -n \"Alice\" -g alice-dev -g alice-work",
1353
- "<%= config.bin %> create user --name \"Bob\" --project centy-daemon"
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"
1354
1415
  ],
1355
1416
  "flags": {
1356
- "id": {
1357
- "char": "i",
1358
- "description": "User ID (slug format, auto-generated from name if not provided)",
1359
- "name": "id",
1360
- "hasDynamicHelp": false,
1361
- "multiple": false,
1362
- "type": "option"
1363
- },
1364
- "name": {
1365
- "char": "n",
1366
- "description": "Display name (required)",
1367
- "name": "name",
1417
+ "title": {
1418
+ "char": "t",
1419
+ "description": "Doc title",
1420
+ "name": "title",
1368
1421
  "required": true,
1369
1422
  "hasDynamicHelp": false,
1370
1423
  "multiple": false,
1371
1424
  "type": "option"
1372
1425
  },
1373
- "email": {
1374
- "char": "e",
1375
- "description": "Email address",
1376
- "name": "email",
1426
+ "content": {
1427
+ "char": "c",
1428
+ "description": "Doc content (markdown)",
1429
+ "name": "content",
1430
+ "default": "",
1377
1431
  "hasDynamicHelp": false,
1378
1432
  "multiple": false,
1379
1433
  "type": "option"
1380
1434
  },
1381
- "git-username": {
1382
- "char": "g",
1383
- "description": "Git username (can be specified multiple times)",
1384
- "name": "git-username",
1385
- "hasDynamicHelp": false,
1386
- "multiple": true,
1387
- "type": "option"
1388
- },
1389
- "json": {
1390
- "description": "Output as JSON",
1391
- "name": "json",
1392
- "allowNo": false,
1393
- "type": "boolean"
1394
- },
1395
- "project": {
1396
- "description": "Project name or path (defaults to current directory)",
1397
- "name": "project",
1398
- "hasDynamicHelp": false,
1399
- "multiple": false,
1400
- "type": "option"
1401
- }
1402
- },
1403
- "hasDynamicHelp": false,
1404
- "hiddenAliases": [],
1405
- "id": "create:user",
1406
- "pluginAlias": "centy",
1407
- "pluginName": "centy",
1408
- "pluginType": "core",
1409
- "strict": true,
1410
- "enableJsonFlag": false,
1411
- "isESM": true,
1412
- "relativePath": [
1413
- "dist",
1414
- "commands",
1415
- "create",
1416
- "user.js"
1417
- ]
1418
- },
1419
- "duplicate:doc": {
1420
- "aliases": [],
1421
- "args": {
1422
1435
  "slug": {
1423
- "description": "Doc slug",
1436
+ "description": "Custom slug (auto-generated from title if not provided)",
1424
1437
  "name": "slug",
1425
- "required": true
1426
- }
1427
- },
1428
- "description": "Duplicate a doc (same project or different project)",
1429
- "examples": [
1430
- "<%= config.bin %> duplicate doc my-doc",
1431
- "<%= config.bin %> duplicate doc readme --new-slug readme-v2",
1432
- "<%= config.bin %> duplicate doc api-guide --to /path/to/other/project",
1433
- "<%= config.bin %> duplicate doc spec --to ../other --new-slug spec-copy --title \"Spec Copy\""
1434
- ],
1435
- "flags": {
1436
- "to": {
1437
- "char": "t",
1438
- "description": "Target project path (defaults to same project if not specified)",
1439
- "name": "to",
1440
- "hasDynamicHelp": false,
1441
- "multiple": false,
1442
- "type": "option"
1443
- },
1444
- "new-slug": {
1445
- "char": "s",
1446
- "description": "Slug for the duplicate (defaults to \"{slug}-copy\")",
1447
- "name": "new-slug",
1448
1438
  "hasDynamicHelp": false,
1449
1439
  "multiple": false,
1450
1440
  "type": "option"
1451
1441
  },
1452
- "title": {
1453
- "description": "Title for the duplicate (defaults to \"Copy of {original}\")",
1454
- "name": "title",
1442
+ "template": {
1443
+ "description": "Template name to use",
1444
+ "name": "template",
1455
1445
  "hasDynamicHelp": false,
1456
1446
  "multiple": false,
1457
1447
  "type": "option"
@@ -1466,7 +1456,7 @@
1466
1456
  },
1467
1457
  "hasDynamicHelp": false,
1468
1458
  "hiddenAliases": [],
1469
- "id": "duplicate:doc",
1459
+ "id": "create:doc",
1470
1460
  "pluginAlias": "centy",
1471
1461
  "pluginName": "centy",
1472
1462
  "pluginType": "core",
@@ -1476,161 +1466,70 @@
1476
1466
  "relativePath": [
1477
1467
  "dist",
1478
1468
  "commands",
1479
- "duplicate",
1469
+ "create",
1480
1470
  "doc.js"
1481
1471
  ]
1482
1472
  },
1483
- "duplicate:issue": {
1473
+ "create:issue": {
1484
1474
  "aliases": [],
1485
- "args": {
1486
- "id": {
1487
- "description": "Issue ID (UUID) or display number",
1488
- "name": "id",
1489
- "required": true
1490
- }
1491
- },
1492
- "description": "Duplicate an issue (same project or different project)",
1475
+ "args": {},
1476
+ "description": "Create a new issue in the .centy folder",
1493
1477
  "examples": [
1494
- "<%= config.bin %> duplicate issue 1",
1495
- "<%= config.bin %> duplicate issue 1 --title \"New feature branch\"",
1496
- "<%= config.bin %> duplicate issue abc123-uuid --to /path/to/other/project",
1497
- "<%= config.bin %> duplicate issue 5 --to ../other --title \"Copy for testing\""
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"
1498
1484
  ],
1499
1485
  "flags": {
1500
- "to": {
1501
- "char": "t",
1502
- "description": "Target project path (defaults to same project if not specified)",
1503
- "name": "to",
1504
- "hasDynamicHelp": false,
1505
- "multiple": false,
1506
- "type": "option"
1507
- },
1508
1486
  "title": {
1509
- "description": "Title for the duplicate (defaults to \"Copy of {original}\")",
1487
+ "char": "t",
1488
+ "description": "Issue title",
1510
1489
  "name": "title",
1511
1490
  "hasDynamicHelp": false,
1512
1491
  "multiple": false,
1513
1492
  "type": "option"
1514
1493
  },
1515
- "project": {
1516
- "description": "Project name or path (defaults to current directory)",
1517
- "name": "project",
1518
- "hasDynamicHelp": false,
1519
- "multiple": false,
1520
- "type": "option"
1521
- }
1522
- },
1523
- "hasDynamicHelp": false,
1524
- "hiddenAliases": [],
1525
- "id": "duplicate:issue",
1526
- "pluginAlias": "centy",
1527
- "pluginName": "centy",
1528
- "pluginType": "core",
1529
- "strict": true,
1530
- "enableJsonFlag": false,
1531
- "isESM": true,
1532
- "relativePath": [
1533
- "dist",
1534
- "commands",
1535
- "duplicate",
1536
- "issue.js"
1537
- ]
1538
- },
1539
- "get:asset": {
1540
- "aliases": [
1541
- "show:asset"
1542
- ],
1543
- "args": {
1544
- "filename": {
1545
- "description": "Asset filename",
1546
- "name": "filename",
1547
- "required": true
1548
- }
1549
- },
1550
- "description": "Get an asset and save it to a file",
1551
- "examples": [
1552
- "<%= config.bin %> get asset screenshot.png --issue 1 --output ./screenshot.png",
1553
- "<%= config.bin %> get asset logo.svg --shared --output ./logo.svg",
1554
- "<%= config.bin %> get asset screenshot.png --issue 1 --project centy-daemon"
1555
- ],
1556
- "flags": {
1557
- "issue": {
1558
- "char": "i",
1559
- "description": "Issue ID or display number",
1560
- "name": "issue",
1561
- "hasDynamicHelp": false,
1562
- "multiple": false,
1563
- "type": "option"
1564
- },
1565
- "shared": {
1566
- "char": "s",
1567
- "description": "Get a shared asset",
1568
- "name": "shared",
1569
- "allowNo": false,
1570
- "type": "boolean"
1571
- },
1572
- "output": {
1573
- "char": "o",
1574
- "description": "Output file path (defaults to asset filename)",
1575
- "name": "output",
1494
+ "description": {
1495
+ "char": "d",
1496
+ "description": "Issue description",
1497
+ "name": "description",
1576
1498
  "hasDynamicHelp": false,
1577
1499
  "multiple": false,
1578
1500
  "type": "option"
1579
1501
  },
1580
- "project": {
1581
- "description": "Project name or path (defaults to current directory)",
1582
- "name": "project",
1502
+ "priority": {
1503
+ "char": "p",
1504
+ "description": "Priority level (low/medium/high)",
1505
+ "name": "priority",
1583
1506
  "hasDynamicHelp": false,
1584
1507
  "multiple": false,
1585
- "type": "option"
1586
- }
1587
- },
1588
- "hasDynamicHelp": false,
1589
- "hiddenAliases": [],
1590
- "id": "get:asset",
1591
- "pluginAlias": "centy",
1592
- "pluginName": "centy",
1593
- "pluginType": "core",
1594
- "strict": true,
1595
- "enableJsonFlag": false,
1596
- "isESM": true,
1597
- "relativePath": [
1598
- "dist",
1599
- "commands",
1600
- "get",
1601
- "asset.js"
1602
- ]
1603
- },
1604
- "get:doc": {
1605
- "aliases": [
1606
- "show:doc"
1607
- ],
1608
- "args": {
1609
- "slug": {
1610
- "description": "Doc slug",
1611
- "name": "slug",
1612
- "required": true
1613
- }
1614
- },
1615
- "description": "Get a documentation file by slug",
1616
- "examples": [
1617
- "<%= config.bin %> get doc getting-started",
1618
- "<%= config.bin %> get doc api-reference --json",
1619
- "<%= config.bin %> get doc getting-started --global",
1620
- "<%= config.bin %> get doc getting-started -g --json",
1621
- "<%= config.bin %> get doc api-reference --project centy-daemon"
1622
- ],
1623
- "flags": {
1624
- "json": {
1625
- "description": "Output as JSON",
1626
- "name": "json",
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",
1627
1527
  "allowNo": false,
1628
1528
  "type": "boolean"
1629
1529
  },
1630
- "global": {
1631
- "char": "g",
1632
- "description": "Search across all tracked projects",
1633
- "name": "global",
1530
+ "org": {
1531
+ "description": "Create as an org-wide issue",
1532
+ "name": "org",
1634
1533
  "allowNo": false,
1635
1534
  "type": "boolean"
1636
1535
  },
@@ -1644,7 +1543,7 @@
1644
1543
  },
1645
1544
  "hasDynamicHelp": false,
1646
1545
  "hiddenAliases": [],
1647
- "id": "get:doc",
1546
+ "id": "create:issue",
1648
1547
  "pluginAlias": "centy",
1649
1548
  "pluginName": "centy",
1650
1549
  "pluginType": "core",
@@ -1654,45 +1553,79 @@
1654
1553
  "relativePath": [
1655
1554
  "dist",
1656
1555
  "commands",
1657
- "get",
1658
- "doc.js"
1556
+ "create",
1557
+ "issue.js"
1659
1558
  ]
1660
1559
  },
1661
- "get:issue": {
1662
- "aliases": [
1663
- "show:issue",
1664
- "issue"
1665
- ],
1666
- "args": {
1667
- "id": {
1668
- "description": "Issue ID (UUID) or display number",
1669
- "name": "id",
1670
- "required": true
1671
- }
1672
- },
1673
- "description": "Get a single issue by ID or display number",
1560
+ "create:item-type": {
1561
+ "aliases": [],
1562
+ "args": {},
1563
+ "description": "Create a new custom item type",
1674
1564
  "examples": [
1675
- "<%= config.bin %> get issue 1",
1676
- "<%= config.bin %> get issue abc123-uuid",
1677
- "<%= config.bin %> get issue 1 --json",
1678
- "<%= config.bin %> get issue abc12345-1234-1234-1234-123456789abc --global",
1679
- "<%= config.bin %> get issue abc12345-1234-1234-1234-123456789abc -g --json",
1680
- "<%= config.bin %> get issue 1 --project centy-daemon",
1681
- "<%= config.bin %> get issue 1 --project /path/to/project"
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"
1682
1567
  ],
1683
1568
  "flags": {
1684
- "json": {
1685
- "description": "Output as JSON",
1686
- "name": "json",
1687
- "allowNo": false,
1688
- "type": "boolean"
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"
1689
1577
  },
1690
- "global": {
1691
- "char": "g",
1692
- "description": "Search across all tracked projects (UUID only)",
1693
- "name": "global",
1694
- "allowNo": false,
1695
- "type": "boolean"
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"
1696
1629
  },
1697
1630
  "project": {
1698
1631
  "description": "Project name or path (defaults to current directory)",
@@ -1704,7 +1637,7 @@
1704
1637
  },
1705
1638
  "hasDynamicHelp": false,
1706
1639
  "hiddenAliases": [],
1707
- "id": "get:issue",
1640
+ "id": "create:item-type",
1708
1641
  "pluginAlias": "centy",
1709
1642
  "pluginName": "centy",
1710
1643
  "pluginType": "core",
@@ -1714,27 +1647,45 @@
1714
1647
  "relativePath": [
1715
1648
  "dist",
1716
1649
  "commands",
1717
- "get",
1718
- "issue.js"
1650
+ "create",
1651
+ "item-type.js"
1719
1652
  ]
1720
1653
  },
1721
- "get:org": {
1654
+ "create:org": {
1722
1655
  "aliases": [
1723
- "get:organization"
1656
+ "create:organization"
1724
1657
  ],
1725
1658
  "args": {
1726
- "slug": {
1727
- "description": "Organization slug",
1728
- "name": "slug",
1659
+ "name": {
1660
+ "description": "Organization display name",
1661
+ "name": "name",
1729
1662
  "required": true
1730
1663
  }
1731
1664
  },
1732
- "description": "Get organization details by slug",
1665
+ "description": "Create a new organization to group projects",
1733
1666
  "examples": [
1734
- "<%= config.bin %> get org centy-io",
1735
- "<%= config.bin %> get organization my-org --json"
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\""
1736
1671
  ],
1737
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
+ },
1738
1689
  "json": {
1739
1690
  "description": "Output as JSON",
1740
1691
  "name": "json",
@@ -1744,7 +1695,7 @@
1744
1695
  },
1745
1696
  "hasDynamicHelp": false,
1746
1697
  "hiddenAliases": [],
1747
- "id": "get:org",
1698
+ "id": "create:org",
1748
1699
  "pluginAlias": "centy",
1749
1700
  "pluginName": "centy",
1750
1701
  "pluginType": "core",
@@ -1754,67 +1705,54 @@
1754
1705
  "relativePath": [
1755
1706
  "dist",
1756
1707
  "commands",
1757
- "get",
1708
+ "create",
1758
1709
  "org.js"
1759
1710
  ]
1760
1711
  },
1761
- "get:project": {
1762
- "aliases": [
1763
- "show:project"
1764
- ],
1765
- "args": {
1766
- "path": {
1767
- "description": "Path to the project (defaults to current directory)",
1768
- "name": "path",
1769
- "required": false
1770
- }
1771
- },
1772
- "description": "Get info about a specific project",
1712
+ "create:user": {
1713
+ "aliases": [],
1714
+ "args": {},
1715
+ "description": "Create a new user in the project",
1773
1716
  "examples": [
1774
- "<%= config.bin %> get project",
1775
- "<%= config.bin %> get project /path/to/project",
1776
- "<%= config.bin %> get project --json"
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"
1777
1721
  ],
1778
1722
  "flags": {
1779
- "json": {
1780
- "description": "Output as JSON",
1781
- "name": "json",
1782
- "allowNo": false,
1783
- "type": "boolean"
1784
- }
1785
- },
1786
- "hasDynamicHelp": false,
1787
- "hiddenAliases": [],
1788
- "id": "get:project",
1789
- "pluginAlias": "centy",
1790
- "pluginName": "centy",
1791
- "pluginType": "core",
1792
- "strict": true,
1793
- "enableJsonFlag": false,
1794
- "isESM": true,
1795
- "relativePath": [
1796
- "dist",
1797
- "commands",
1798
- "get",
1799
- "project.js"
1800
- ]
1801
- },
1802
- "get:user": {
1803
- "aliases": [],
1804
- "args": {
1805
1723
  "id": {
1806
- "description": "User ID",
1724
+ "char": "i",
1725
+ "description": "User ID (slug format, auto-generated from name if not provided)",
1807
1726
  "name": "id",
1808
- "required": true
1809
- }
1810
- },
1811
- "description": "Get a user by ID",
1812
- "examples": [
1813
- "<%= config.bin %> get user john-doe",
1814
- "<%= config.bin %> get user john-doe --json",
1815
- "<%= config.bin %> get user john-doe --project centy-daemon"
1816
- ],
1817
- "flags": {
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
+ },
1818
1756
  "json": {
1819
1757
  "description": "Output as JSON",
1820
1758
  "name": "json",
@@ -1831,7 +1769,7 @@
1831
1769
  },
1832
1770
  "hasDynamicHelp": false,
1833
1771
  "hiddenAliases": [],
1834
- "id": "get:user",
1772
+ "id": "create:user",
1835
1773
  "pluginAlias": "centy",
1836
1774
  "pluginName": "centy",
1837
1775
  "pluginType": "core",
@@ -1841,7 +1779,7 @@
1841
1779
  "relativePath": [
1842
1780
  "dist",
1843
1781
  "commands",
1844
- "get",
1782
+ "create",
1845
1783
  "user.js"
1846
1784
  ]
1847
1785
  },
@@ -2648,7 +2586,9 @@
2648
2586
  ]
2649
2587
  },
2650
2588
  "update:doc": {
2651
- "aliases": [],
2589
+ "aliases": [
2590
+ "edit:doc"
2591
+ ],
2652
2592
  "args": {
2653
2593
  "slug": {
2654
2594
  "description": "Doc slug",
@@ -2712,7 +2652,9 @@
2712
2652
  ]
2713
2653
  },
2714
2654
  "update:issue": {
2715
- "aliases": [],
2655
+ "aliases": [
2656
+ "edit:issue"
2657
+ ],
2716
2658
  "args": {
2717
2659
  "id": {
2718
2660
  "description": "Issue ID (UUID) or display number",
@@ -2792,7 +2734,9 @@
2792
2734
  },
2793
2735
  "update:org": {
2794
2736
  "aliases": [
2795
- "update:organization"
2737
+ "update:organization",
2738
+ "edit:org",
2739
+ "edit:organization"
2796
2740
  ],
2797
2741
  "args": {
2798
2742
  "slug": {
@@ -2856,7 +2800,9 @@
2856
2800
  ]
2857
2801
  },
2858
2802
  "update:user": {
2859
- "aliases": [],
2803
+ "aliases": [
2804
+ "edit:user"
2805
+ ],
2860
2806
  "args": {
2861
2807
  "id": {
2862
2808
  "description": "User ID",
@@ -3089,5 +3035,5 @@
3089
3035
  ]
3090
3036
  }
3091
3037
  },
3092
- "version": "0.5.0"
3038
+ "version": "0.5.1"
3093
3039
  }