tails-cli
CLI for generating TypeGraphQL + TypeORM backend code
Last updated a month ago by jclackett .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install tails-cli 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.10                                ...           latest (a month ago)

8 Versions

  • 0.2.10                                ...           a month ago
  • 0.2.8                                ...           2 months ago
  • 0.2.7                                ...           2 months ago
  • 0.2.5                                ...           2 months ago
  • 0.2.4                                ...           2 months ago
  • 0.2.2                                ...           2 months ago
  • 0.2.1                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 22
Dependencies (9)
Dev Dependencies (9)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |