This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
tails-cli with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
CLI for generating TypeGraphQL + TypeORM backend code
$ yarn global add tails-cli
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.
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