Blueprint reference¶
- class nusex.api.blueprints.Blueprint(files: dict[str, bytes], project_name: str, project_slug: str, *, profile: Profile | None = None)¶
The base class for all blueprints.
- Parameters
- Keyword Arguments
profile (
Profile|None) – The profile to use. This should only be passed when you only want to replace data present in the profile. Not passing it will cause the blueprint to replace everything it would normally.
- class nusex.api.blueprints.GenericBlueprint(files: dict[str, bytes], project_name: str, project_slug: str, *, profile: Profile | None = None)¶
A blueprint for building generic templates.
This should generally be used when you only want to include root files (such as the README) in the template, or when there is not a suitable blueprint for the language you are using.