Simple cli for creating projects that used Dependency injection. The cli uses sloth-ts-injection as DI library.
$ npm i -g inject-cli
You can use the cli to create a new project. During the creation on the new project, it will create the package.json, install the DI lib.
$ inject init ProjectName
You can then start coding in the src/app.ts.
Create a new Class
Once the project created you can create your first class.
$ inject class ClassName
The Class will be created in the src/ folder. You can then call it from the src/app.ts
You can now call its member functions.
You can use the cli to create a custom class template. For this, you need to create a folder .injector at the root of your project. Here is the template used by default.
__NAME__ is reserved as it is replaced by the Class Name.