Configuration
Configuration Files
Section titled “Configuration Files”pyproject.toml
Section titled “pyproject.toml”Primary configuration file for VCL projects.
[project]name = "my-project"version = "0.1.0"dependencies = [ "fastapi>=0.68.0", "uvicorn>=0.15.0",]
[project.optional-dependencies]dev = [ "pytest>=6.0.0", "black>=21.0.0",]
[tool.vcl]python-version = "3.12"template = "api".vclrc
Section titled “.vclrc”User-specific configuration file.
default_template: apipython_version: 3.12git_init: truecache_dir: ~/.vcl/cacheTemplate Configuration
Section titled “Template Configuration”Custom Templates
Section titled “Custom Templates”Create custom project templates:
templates/├── my-template/│ ├── template.yaml│ ├── {{project_name}}/│ │ ├── __init__.py│ │ └── main.py│ └── README.mdTemplate Schema
Section titled “Template Schema”name: my-templatedescription: Custom project templatevariables: project_name: type: string description: Name of the project python_version: type: string default: "3.12"Environment Variables
Section titled “Environment Variables”VCL_HOME- VCL installation directoryVCL_CACHE_DIR- Cache directory locationVCL_TEMPLATE_PATH- Custom template directoryVCL_CONFIG- Custom config file location
TODO & Updates Needed
Section titled “TODO & Updates Needed”- Document all configuration options
- Add template development guide
- Include advanced configuration examples
- Document CI/CD integration
- Add migration guide for configuration changes