whiteprints.cli.init#
Initialize a project.
Exceptions#
An error occured while creating the project. |
Functions#
|
Initialize a python project. |
Module Contents#
- exception whiteprints.cli.init.CopierCopyError[source]#
Bases:
click.ClickExceptionAn error occured while creating the project.
- whiteprints.cli.init.init(
- project_directory: pathlib.Path,
- copier_args: collections.abc.Iterable[str],
- **kwargs: Unpack[whiteprints.cli.init_interface.InitKwargs],
Initialize a python project.
- Parameters:
project_directory (pathlib.Path) β directory the new project will be created.
copier_args (collections.abc.Iterable[str]) β arguments forwarded to copier.
kwargs (Unpack[whiteprints.cli.init_interface.InitKwargs]) β the command line flags.
- Raises:
CopierCopyError β An error happened while creating the project.
- Return type:
None