ace-manifest.json 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611
  1. {
  2. "commands": {
  3. "dump:rcfile": {
  4. "settings": {},
  5. "commandPath": "@adonisjs/core/build/commands/DumpRc",
  6. "commandName": "dump:rcfile",
  7. "description": "Dump contents of .adonisrc.json file along with defaults",
  8. "args": [],
  9. "aliases": [],
  10. "flags": []
  11. },
  12. "list:routes": {
  13. "settings": {
  14. "loadApp": true,
  15. "stayAlive": true
  16. },
  17. "commandPath": "@adonisjs/core/build/commands/ListRoutes/index",
  18. "commandName": "list:routes",
  19. "description": "List application routes",
  20. "args": [],
  21. "aliases": [],
  22. "flags": [
  23. {
  24. "name": "verbose",
  25. "propertyName": "verbose",
  26. "type": "boolean",
  27. "description": "Display more information"
  28. },
  29. {
  30. "name": "reverse",
  31. "propertyName": "reverse",
  32. "type": "boolean",
  33. "alias": "r",
  34. "description": "Reverse routes display"
  35. },
  36. {
  37. "name": "methods",
  38. "propertyName": "methodsFilter",
  39. "type": "array",
  40. "alias": "m",
  41. "description": "Filter routes by method"
  42. },
  43. {
  44. "name": "patterns",
  45. "propertyName": "patternsFilter",
  46. "type": "array",
  47. "alias": "p",
  48. "description": "Filter routes by the route pattern"
  49. },
  50. {
  51. "name": "names",
  52. "propertyName": "namesFilter",
  53. "type": "array",
  54. "alias": "n",
  55. "description": "Filter routes by route name"
  56. },
  57. {
  58. "name": "json",
  59. "propertyName": "json",
  60. "type": "boolean",
  61. "description": "Output as JSON"
  62. },
  63. {
  64. "name": "table",
  65. "propertyName": "table",
  66. "type": "boolean",
  67. "description": "Output as Table"
  68. },
  69. {
  70. "name": "max-width",
  71. "propertyName": "maxWidth",
  72. "type": "number",
  73. "description": "Specify maximum rendering width. Ignored for JSON Output"
  74. }
  75. ]
  76. },
  77. "generate:key": {
  78. "settings": {},
  79. "commandPath": "@adonisjs/core/build/commands/GenerateKey",
  80. "commandName": "generate:key",
  81. "description": "Generate a new APP_KEY secret",
  82. "args": [],
  83. "aliases": [],
  84. "flags": []
  85. },
  86. "repl": {
  87. "settings": {
  88. "loadApp": true,
  89. "environment": "repl",
  90. "stayAlive": true
  91. },
  92. "commandPath": "@adonisjs/repl/build/commands/AdonisRepl",
  93. "commandName": "repl",
  94. "description": "Start a new REPL session",
  95. "args": [],
  96. "aliases": [],
  97. "flags": []
  98. },
  99. "db:seed": {
  100. "settings": {
  101. "loadApp": true
  102. },
  103. "commandPath": "@adonisjs/lucid/build/commands/DbSeed",
  104. "commandName": "db:seed",
  105. "description": "Execute database seeders",
  106. "args": [],
  107. "aliases": [],
  108. "flags": [
  109. {
  110. "name": "connection",
  111. "propertyName": "connection",
  112. "type": "string",
  113. "description": "Define a custom database connection for the seeders",
  114. "alias": "c"
  115. },
  116. {
  117. "name": "interactive",
  118. "propertyName": "interactive",
  119. "type": "boolean",
  120. "description": "Run seeders in interactive mode",
  121. "alias": "i"
  122. },
  123. {
  124. "name": "files",
  125. "propertyName": "files",
  126. "type": "array",
  127. "description": "Define a custom set of seeders files names to run",
  128. "alias": "f"
  129. },
  130. {
  131. "name": "compact-output",
  132. "propertyName": "compactOutput",
  133. "type": "boolean",
  134. "description": "A compact single-line output"
  135. }
  136. ]
  137. },
  138. "db:wipe": {
  139. "settings": {
  140. "loadApp": true
  141. },
  142. "commandPath": "@adonisjs/lucid/build/commands/DbWipe",
  143. "commandName": "db:wipe",
  144. "description": "Drop all tables, views and types in database",
  145. "args": [],
  146. "aliases": [],
  147. "flags": [
  148. {
  149. "name": "connection",
  150. "propertyName": "connection",
  151. "type": "string",
  152. "description": "Define a custom database connection",
  153. "alias": "c"
  154. },
  155. {
  156. "name": "drop-views",
  157. "propertyName": "dropViews",
  158. "type": "boolean",
  159. "description": "Drop all views"
  160. },
  161. {
  162. "name": "drop-types",
  163. "propertyName": "dropTypes",
  164. "type": "boolean",
  165. "description": "Drop all custom types (Postgres only)"
  166. },
  167. {
  168. "name": "force",
  169. "propertyName": "force",
  170. "type": "boolean",
  171. "description": "Explicitly force command to run in production"
  172. }
  173. ]
  174. },
  175. "db:truncate": {
  176. "settings": {
  177. "loadApp": true
  178. },
  179. "commandPath": "@adonisjs/lucid/build/commands/DbTruncate",
  180. "commandName": "db:truncate",
  181. "description": "Truncate all tables in database",
  182. "args": [],
  183. "aliases": [],
  184. "flags": [
  185. {
  186. "name": "connection",
  187. "propertyName": "connection",
  188. "type": "string",
  189. "description": "Define a custom database connection",
  190. "alias": "c"
  191. },
  192. {
  193. "name": "force",
  194. "propertyName": "force",
  195. "type": "boolean",
  196. "description": "Explicitly force command to run in production"
  197. }
  198. ]
  199. },
  200. "make:model": {
  201. "settings": {
  202. "loadApp": true
  203. },
  204. "commandPath": "@adonisjs/lucid/build/commands/MakeModel",
  205. "commandName": "make:model",
  206. "description": "Make a new Lucid model",
  207. "args": [
  208. {
  209. "type": "string",
  210. "propertyName": "name",
  211. "name": "name",
  212. "required": true,
  213. "description": "Name of the model class"
  214. }
  215. ],
  216. "aliases": [],
  217. "flags": [
  218. {
  219. "name": "migration",
  220. "propertyName": "migration",
  221. "type": "boolean",
  222. "alias": "m",
  223. "description": "Generate the migration for the model"
  224. },
  225. {
  226. "name": "controller",
  227. "propertyName": "controller",
  228. "type": "boolean",
  229. "alias": "c",
  230. "description": "Generate the controller for the model"
  231. },
  232. {
  233. "name": "factory",
  234. "propertyName": "factory",
  235. "type": "boolean",
  236. "alias": "f",
  237. "description": "Generate a factory for the model"
  238. }
  239. ]
  240. },
  241. "make:migration": {
  242. "settings": {
  243. "loadApp": true
  244. },
  245. "commandPath": "@adonisjs/lucid/build/commands/MakeMigration",
  246. "commandName": "make:migration",
  247. "description": "Make a new migration file",
  248. "args": [
  249. {
  250. "type": "string",
  251. "propertyName": "name",
  252. "name": "name",
  253. "required": true,
  254. "description": "Name of the migration file"
  255. }
  256. ],
  257. "aliases": [],
  258. "flags": [
  259. {
  260. "name": "connection",
  261. "propertyName": "connection",
  262. "type": "string",
  263. "description": "The connection flag is used to lookup the directory for the migration file"
  264. },
  265. {
  266. "name": "folder",
  267. "propertyName": "folder",
  268. "type": "string",
  269. "description": "Pre-select a migration directory"
  270. },
  271. {
  272. "name": "create",
  273. "propertyName": "create",
  274. "type": "string",
  275. "description": "Define the table name for creating a new table"
  276. },
  277. {
  278. "name": "table",
  279. "propertyName": "table",
  280. "type": "string",
  281. "description": "Define the table name for altering an existing table"
  282. }
  283. ]
  284. },
  285. "make:seeder": {
  286. "settings": {},
  287. "commandPath": "@adonisjs/lucid/build/commands/MakeSeeder",
  288. "commandName": "make:seeder",
  289. "description": "Make a new Seeder file",
  290. "args": [
  291. {
  292. "type": "string",
  293. "propertyName": "name",
  294. "name": "name",
  295. "required": true,
  296. "description": "Name of the seeder class"
  297. }
  298. ],
  299. "aliases": [],
  300. "flags": []
  301. },
  302. "make:factory": {
  303. "settings": {},
  304. "commandPath": "@adonisjs/lucid/build/commands/MakeFactory",
  305. "commandName": "make:factory",
  306. "description": "Make a new factory",
  307. "args": [
  308. {
  309. "type": "string",
  310. "propertyName": "model",
  311. "name": "model",
  312. "required": true,
  313. "description": "The name of the model"
  314. }
  315. ],
  316. "aliases": [],
  317. "flags": [
  318. {
  319. "name": "model-path",
  320. "propertyName": "modelPath",
  321. "type": "string",
  322. "description": "The path to the model"
  323. },
  324. {
  325. "name": "exact",
  326. "propertyName": "exact",
  327. "type": "boolean",
  328. "description": "Create the factory with the exact name as provided",
  329. "alias": "e"
  330. }
  331. ]
  332. },
  333. "migration:run": {
  334. "settings": {
  335. "loadApp": true
  336. },
  337. "commandPath": "@adonisjs/lucid/build/commands/Migration/Run",
  338. "commandName": "migration:run",
  339. "description": "Migrate database by running pending migrations",
  340. "args": [],
  341. "aliases": [],
  342. "flags": [
  343. {
  344. "name": "connection",
  345. "propertyName": "connection",
  346. "type": "string",
  347. "description": "Define a custom database connection",
  348. "alias": "c"
  349. },
  350. {
  351. "name": "force",
  352. "propertyName": "force",
  353. "type": "boolean",
  354. "description": "Explicitly force to run migrations in production"
  355. },
  356. {
  357. "name": "dry-run",
  358. "propertyName": "dryRun",
  359. "type": "boolean",
  360. "description": "Do not run actual queries. Instead view the SQL output"
  361. },
  362. {
  363. "name": "compact-output",
  364. "propertyName": "compactOutput",
  365. "type": "boolean",
  366. "description": "A compact single-line output"
  367. },
  368. {
  369. "name": "disable-locks",
  370. "propertyName": "disableLocks",
  371. "type": "boolean",
  372. "description": "Disable locks acquired to run migrations safely"
  373. }
  374. ]
  375. },
  376. "migration:rollback": {
  377. "settings": {
  378. "loadApp": true
  379. },
  380. "commandPath": "@adonisjs/lucid/build/commands/Migration/Rollback",
  381. "commandName": "migration:rollback",
  382. "description": "Rollback migrations to a specific batch number",
  383. "args": [],
  384. "aliases": [],
  385. "flags": [
  386. {
  387. "name": "connection",
  388. "propertyName": "connection",
  389. "type": "string",
  390. "description": "Define a custom database connection",
  391. "alias": "c"
  392. },
  393. {
  394. "name": "force",
  395. "propertyName": "force",
  396. "type": "boolean",
  397. "description": "Explictly force to run migrations in production"
  398. },
  399. {
  400. "name": "dry-run",
  401. "propertyName": "dryRun",
  402. "type": "boolean",
  403. "description": "Do not run actual queries. Instead view the SQL output"
  404. },
  405. {
  406. "name": "batch",
  407. "propertyName": "batch",
  408. "type": "number",
  409. "description": "Define custom batch number for rollback. Use 0 to rollback to initial state"
  410. },
  411. {
  412. "name": "compact-output",
  413. "propertyName": "compactOutput",
  414. "type": "boolean",
  415. "description": "A compact single-line output"
  416. },
  417. {
  418. "name": "disable-locks",
  419. "propertyName": "disableLocks",
  420. "type": "boolean",
  421. "description": "Disable locks acquired to run migrations safely"
  422. }
  423. ]
  424. },
  425. "migration:status": {
  426. "settings": {
  427. "loadApp": true
  428. },
  429. "commandPath": "@adonisjs/lucid/build/commands/Migration/Status",
  430. "commandName": "migration:status",
  431. "description": "View migrations status",
  432. "args": [],
  433. "aliases": [],
  434. "flags": [
  435. {
  436. "name": "connection",
  437. "propertyName": "connection",
  438. "type": "string",
  439. "description": "Define a custom database connection",
  440. "alias": "c"
  441. }
  442. ]
  443. },
  444. "migration:reset": {
  445. "settings": {
  446. "loadApp": true
  447. },
  448. "commandPath": "@adonisjs/lucid/build/commands/Migration/Reset",
  449. "commandName": "migration:reset",
  450. "description": "Rollback all migrations",
  451. "args": [],
  452. "aliases": [],
  453. "flags": [
  454. {
  455. "name": "connection",
  456. "propertyName": "connection",
  457. "type": "string",
  458. "description": "Define a custom database connection",
  459. "alias": "c"
  460. },
  461. {
  462. "name": "force",
  463. "propertyName": "force",
  464. "type": "boolean",
  465. "description": "Explicitly force command to run in production"
  466. },
  467. {
  468. "name": "dry-run",
  469. "propertyName": "dryRun",
  470. "type": "boolean",
  471. "description": "Do not run actual queries. Instead view the SQL output"
  472. },
  473. {
  474. "name": "disable-locks",
  475. "propertyName": "disableLocks",
  476. "type": "boolean",
  477. "description": "Disable locks acquired to run migrations safely"
  478. }
  479. ]
  480. },
  481. "migration:refresh": {
  482. "settings": {
  483. "loadApp": true
  484. },
  485. "commandPath": "@adonisjs/lucid/build/commands/Migration/Refresh",
  486. "commandName": "migration:refresh",
  487. "description": "Rollback and migrate database",
  488. "args": [],
  489. "aliases": [],
  490. "flags": [
  491. {
  492. "name": "connection",
  493. "propertyName": "connection",
  494. "type": "string",
  495. "description": "Define a custom database connection",
  496. "alias": "c"
  497. },
  498. {
  499. "name": "force",
  500. "propertyName": "force",
  501. "type": "boolean",
  502. "description": "Explicitly force command to run in production"
  503. },
  504. {
  505. "name": "dry-run",
  506. "propertyName": "dryRun",
  507. "type": "boolean",
  508. "description": "Do not run actual queries. Instead view the SQL output"
  509. },
  510. {
  511. "name": "seed",
  512. "propertyName": "seed",
  513. "type": "boolean",
  514. "description": "Run seeders"
  515. },
  516. {
  517. "name": "disable-locks",
  518. "propertyName": "disableLocks",
  519. "type": "boolean",
  520. "description": "Disable locks acquired to run migrations safely"
  521. }
  522. ]
  523. },
  524. "migration:fresh": {
  525. "settings": {
  526. "loadApp": true
  527. },
  528. "commandPath": "@adonisjs/lucid/build/commands/Migration/Fresh",
  529. "commandName": "migration:fresh",
  530. "description": "Drop all tables and re-migrate the database",
  531. "args": [],
  532. "aliases": [],
  533. "flags": [
  534. {
  535. "name": "connection",
  536. "propertyName": "connection",
  537. "type": "string",
  538. "description": "Define a custom database connection",
  539. "alias": "c"
  540. },
  541. {
  542. "name": "force",
  543. "propertyName": "force",
  544. "type": "boolean",
  545. "description": "Explicitly force command to run in production"
  546. },
  547. {
  548. "name": "seed",
  549. "propertyName": "seed",
  550. "type": "boolean",
  551. "description": "Run seeders"
  552. },
  553. {
  554. "name": "drop-views",
  555. "propertyName": "dropViews",
  556. "type": "boolean",
  557. "description": "Drop all views"
  558. },
  559. {
  560. "name": "drop-types",
  561. "propertyName": "dropTypes",
  562. "type": "boolean",
  563. "description": "Drop all custom types (Postgres only)"
  564. },
  565. {
  566. "name": "disable-locks",
  567. "propertyName": "disableLocks",
  568. "type": "boolean",
  569. "description": "Disable locks acquired to run migrations safely"
  570. }
  571. ]
  572. },
  573. "make:policy": {
  574. "settings": {},
  575. "commandPath": "@adonisjs/bouncer/build/commands/MakePolicy",
  576. "commandName": "make:policy",
  577. "description": "Make a new bouncer policy",
  578. "args": [
  579. {
  580. "type": "string",
  581. "propertyName": "name",
  582. "name": "name",
  583. "required": true,
  584. "description": "Name of the policy to create"
  585. }
  586. ],
  587. "aliases": [],
  588. "flags": [
  589. {
  590. "name": "resource-model",
  591. "propertyName": "resourceModel",
  592. "type": "string",
  593. "description": "Name of the resource model to authorize"
  594. },
  595. {
  596. "name": "user-model",
  597. "propertyName": "userModel",
  598. "type": "string",
  599. "description": "Name of the user model to be authorized"
  600. },
  601. {
  602. "name": "actions",
  603. "propertyName": "actions",
  604. "type": "array",
  605. "description": "Actions to implement"
  606. }
  607. ]
  608. }
  609. },
  610. "aliases": {}
  611. }