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