Boilerplates CLI v0.0.7
Added
- Multiple Library Support (#1314) for git and local libraries
- Multi-Schema Module Support and Backward Compatibility (Schema-1.0)
- Schema-1.1
network_modewith options: bridge, host, macvlan - Schema-1.1
swarmmodule support - Variable-level and Section-level depenendencies
needswith multiple values support - Optional Variables
optional: trueto allow empty/None values - PEP 8 formatting alignment
- CLI variable dependency validation - raises error when CLI-provided variables have unsatisfied dependencies
- Support for required variables independent of section state (#1355)
- Variables can now be marked with
required: truein template specs - Required variables are always prompted, validated, and included in rendering
- Display shows yellow
(required)indicator for required variables - Required variables from disabled sections are still collected and available
- Variables can now be marked with
Changed
- Schema-1.1 Unified Docker Swarm Placement (#1359) - Simplified swarm placement constraints into a single variable
- Refactored compose module from single file to package structure
- Dependency validation moved to
validate_all()for better error reporting - Schema-1.1 removed
network_enabled,ports_enabledanddatabase_enabledtoggles (no longer optional) - Improved error handling and display output consistency
- Updated dependency PyYAML to v6.0.3 (Python 3.14 compatibility)
- Updated dependency rich to v14.2.0 (Python 3.14 compatibility)
- Pinned all dependencies to specific tested versions for consistent installations
Fixed
- Required sections now ignore toggle and are always enabled
- Module spec loading based on correct template schema version
- Interactive prompts now skip all variables (including required) when parent section is disabled
- Absolute paths without leading slash treated as relative paths in generate command (#1357)
- Paths like
Users/xcad/Projects/testare now correctly normalized to/Users/xcad/Projects/test - Supports common Unix/Linux root directories: Users/, home/, usr/, opt/, var/, tmp/
- Paths like
- Repository fetch fails when library directory already exists (#1279)
- Critical: Python 3.9 compatibility - removed Context type annotations causing RuntimeError
- Context access now uses click.get_current_context() for better compatibility
Installation
Install using the installation script:
curl -fsSL https://raw.githubusercontent.com/christianlempa/boilerplates/main/scripts/install.sh | bashOr install a specific version:
curl -fsSL https://raw.githubusercontent.com/christianlempa/boilerplates/main/scripts/install.sh | bash -s -- --version v0.0.7