CLI
Vovk provides a set of CLI commands to streamline development. The commands are available via the vovk binary installed with the vovk-cli package.
npm install vovk-cli@draft --save-dev- vovk init — creates a new Vovk.ts project.
- vovk dev — runs a dev process that watches controller changes and updates the schema and client as needed.
- vovk generate — generates the client based on the schema and config.
- vovk new — generates segments, controllers, services, and other modules defined via
moduleTemplatesin the config. - vovk bundle — bundles the TypeScript client into a single package for publication to npm, using the tsdown API or another bundler of your choice.
Last updated on