-
Hello there, I am new to package development things, I would like to create something using which I can code quickly and do my code structure nicely. For example, in adonis, we can create a controller file like Many thanks.. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Which version of the framework are you using? |
Beta Was this translation helpful? Give feedback.
-
To create files and populate them you can use NodeJS FS: fs.promises are worth a look at: https://nodejs.org/api/fs.html#fs_fs_promises_api can use await for them To make custom ace command follow the docs: |
Beta Was this translation helpful? Give feedback.
To create files and populate them you can use NodeJS FS:
https://nodejs.org/api/fs.html
fs.promises are worth a look at: https://nodejs.org/api/fs.html#fs_fs_promises_api can use await for them
To make custom ace command follow the docs:
https://adonisjs.com/docs/4.1/ace#_creating_commands