Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.26 KB

File metadata and controls

27 lines (18 loc) · 1.26 KB
name typescript-cli-tsgen
description Mental model for the contentstack-cli-tsgen OCLIF plugin and tsgen command.

TypeScript CLI tsgen skill

Role of this repo

  • Plugin for csdx: implements TypeScriptCodeGeneratorCommand in src/commands/tsgen.ts.
  • Generation is delegated to @contentstack/types-generator (npm, GitHub)—version ^3.9.3 in package.json. Do not assume a local clone; use npm and published source only.

Change here vs change in the library

Concern Where
New flags, output path, csdx UX, printFormattedError This repo (src/commands/, src/lib/)
Schema mapping, Delivery SDK calls, GraphQL introspection @contentstack/types-generator

Helpers

OCLIF

  • Commands compile to lib/commands; prepack refreshes oclif.manifest.json and README.