CLI
Vovk provides a set of commands to simplify the development process. The commands are available via the vovk
binary that is installed with the vovk-cli package.
npm install vovk-cli@draft --save-dev
- vovk init - creates a new Vovk.ts project.
- vovk dev - runs the Vovk Dev script that watches for changes in controllers and updates the schema and the client when needed.
- vovk generate - generates the client based on the schema and config.
- vovk new - module generator that helps create segments, controllers, services, and other modules that you can define as
moduleTemplates
in the config. - vovk bundle - bundles the TypeScript client library into a single package to be published on NPM. Uses the tsdown API behind the scenes.
Last updated on