Paths
CLI Paths
Active
Detect supported version metadata or select an explicit version target.
Command
[tool.custy.cli.paths]Category
CLI Configuration
Quick Command
version_file = "auto"Propertiesâ
Properties
| Property | Type | Description | Default | Required |
|---|---|---|---|---|
version_file | Path string or auto | Use auto to detect an existing Python __version__.py, a static project.version in pyproject.toml, or a string version in package.json. An explicit path must exist and be a file. | auto | No |
Automatic detection (recommended)
toml[tool.custy.cli.paths]
version_file = "auto"src layout
toml[tool.custy.cli.paths]
version_file = "src/my_package/__version__.py"