npm

Does your artifact manager get in the way? Join us on Oct. 8 at 10am PT, to discuss how npm can help.Sign up »

tails-cli

0.2.10 • Public • Published

tails

CLI for generating TypeGraphQL + TypeORM backend code

oclif Version CircleCI Codecov Downloads/week License

Install

$ yarn global add tails-cli

Commands

tails scaffold

If user is supplied to the first prompt, it will generate these files in src/modules

modules/
  user.entity.ts
  user.resolver.ts
  user.service.ts
  user.repository.ts
  inputs/
    createUser.input.ts
    updateUser.input.ts

It provides basic CRUD actions broken up into organized services.

If firstName:string lastName:string is supplied to the second prompt, these fields will be added to the entity and input files along with their types.

USAGE
  $ tails scaffold

tails help [COMMAND]

display help for tails

USAGE
  $ tails help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

Keywords

install

npm i tails-cli

Downloadsweekly downloads

0

version

0.2.10

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability