Extending uvlhub
New functionality in
uvlhub
arrives as a feature: a self-contained package
under app/features/ that owns its blueprint, model, repository, service, form, seeder, templates,
assets and tests. Base classes come from the splent_framework package, and the set of features the
application loads is declared in the root pyproject.toml under [tool.splent].
These pages cover the two rosemary commands you need to add one:
- Create feature scaffolds the package
and its six test files with
rosemary feature:create. - Composing environment merges
per-feature
.envfiles into the root one withrosemary compose:env.
For a worked example that takes a feature from scaffold to a full C.R.U.D., follow the C.R.U.D. tutorial.