Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@justingorham/tsjsvg

1.0.0 • Public • Published

@justingorham/tsjsvg

Typescript json schema and validator generator

oclif Version Downloads/week License

Usage

$ npm install -g @justingorham/tsjsvg
$ tsjsvg COMMAND
running command...
$ tsjsvg (-v|--version|version)
@justingorham/tsjsvg/1.0.0 win32-x64 node-v12.14.1
$ tsjsvg --help [COMMAND]
USAGE
  $ tsjsvg COMMAND
...

Commands

tsjsvg generate

generate schema and validator

USAGE
  $ tsjsvg generate

OPTIONS
  -f, --fileName=fileName  Name of the generated file
  -h, --help               show CLI help
  -p, --path=path          The path to the TypeScript source file.

EXAMPLE
  $ tsjsvg generate -p src/models/**/*.ts -f src/model-validator.ts

See code: src\commands\generate.ts

tsjsvg help [COMMAND]

display help for tsjsvg

USAGE
  $ tsjsvg help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

Install

npm i @justingorham/[email protected]

Version

1.0.0

License

MIT

Unpacked Size

8.32 kB

Total Files

13

Last publish

Collaborators

  • avatar