0.0.1 • Published 4 years ago

@booster-ts/cli v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

booster-cli

Build Status Codacy Badge Codacy Badge

CLI for Booster-ts

Install

Booster-cli is available on npm

$ npm i -g @booster-ts/cli

Getting Started

Creating a new Project

$ boost init ProjectName

This will create a new project with all the dependencies needed to start. You can start working on your app with the entry file src/app.ts.

You can now use the CLI to generate the class files

$ boost template FileName

This will generate a new Class in src/FileName/FileName.ts

Once the Class generated you can use in the app.ts.

import injector from './injector';
import FileName from './FileName/FileName.ts'

const class = injector.inject(FileName);

/** You Can now interact with the class */

For more information you can view the Wiki.