vovk init
Quick CLI Ref
$ npx vovk init --help
Usage: vovk init [options]
Initialize Vovk.ts at existing Next.js project
Options:
--prefix <prefix> directory to initialize project in
-y, --yes skip all prompts and use default values
--log-level <level> set log level (default: "info")
--use-npm use npm as package manager
--use-yarn use yarn as package manager
--use-pnpm use pnpm as package manager
--use-bun use bun as package manager
--skip-install skip installing dependencies
--update-ts-config update tsconfig.json
--update-scripts <mode> update package.json scripts ("implicit" or "explicit")
--lang <languages...> generate client for other programming languages by default ("py" for Python and "rs" for Rust are
supported)
--validation-library <library> validation library to use ("vovk-zod", "vovk-dto" or another); set to "none" to skip
--channel <channel> channel to use for fetching packages (default: "latest")
--dry-run do not write files to disk
-h, --help display help for command
The init
command initializes Vovk.ts in an existing Next.js project. It sets up the necessary configurations and installs required dependencies to get started with Vovk.ts.
You can also use an alias for the init
command made as a separate package.
npx vovk-init
Last updated on