Skip to main content

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"

version metadataautomatic detectionproject root

Properties​

Properties

PropertyTypeDescriptionDefaultRequired
version_filePath string or autoUse 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.autoNo
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"

Continue