tails-cli
CLI for generating TypeGraphQL + TypeORM backend code
Last updated 3 months 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 (3 months ago)

8 Versions

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

Copyright 2014 - 2016 © taobao.org |