You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It ain't much but it's an honest work but it saves you like about 1 minute of initializing the module manually. However, there are tools like yeoman, wasp, create-react-app, etc that allow to create custom templates for projects and scaffold them with cli.
Even though we don't have this problem, it sounds cool to have a builtin solution right inside official CLI tool.
Proposal
Any git-repo (or at least ones with neva.y(a)ml, we'll see) should be available as a template for neva new. Example: `neva new --template=github.com/emil14/neva-backend-layout" (let's imagine template contains boilerplate for databases, http middleware, JWT-auth, etc).
Implementation
It's not clear how exactly this should be implemented.
Figure out what's the MVP - smallest and simplest functionality
What's the template? Any repo? What are constraints?
Should we extend builder package? Reuse git-client code from there?
Problem
At the moment we have
neva new
command that creates new nevalang module on the disk. It looks like this:Generated module consist of only 2 files with a hello-world inside:
It ain't much
but it's an honest workbut it saves you like about 1 minute of initializing the module manually. However, there are tools like yeoman, wasp, create-react-app, etc that allow to create custom templates for projects and scaffold them with cli.Even though we don't have this problem, it sounds cool to have a builtin solution right inside official CLI tool.
Proposal
Any git-repo (or at least ones with
neva.y(a)ml
, we'll see) should be available as a template forneva new
. Example: `neva new --template=github.com/emil14/neva-backend-layout" (let's imagine template contains boilerplate for databases, http middleware, JWT-auth, etc).Implementation
It's not clear how exactly this should be implemented.
builder
package? Reuse git-client code from there?Based on discussion with @Mr-Ao-Dragon and his PR #841
The text was updated successfully, but these errors were encountered: