djpro.commands package

Submodules

djpro.commands.help module

djpro.commands.help.help()[source]
djpro.commands.help.man_help()[source]

djpro.commands.module module

djpro.commands.module.create_module(base_dir: Path, module_name: str, args: list[str] = None)[source]

Function to create a new module in the current project

djpro.commands.module.run(args)[source]

Entry point for command ‘module’.

djpro.commands.project module

djpro.commands.project.create_project(base_dir: Path, project_name: str, api: bool = False, docker: bool = False, unfold: bool = False)[source]

Function to create directories and files

djpro.commands.project.run(args)[source]

Entry point for command ‘project’.

djpro.commands.project.write(base_dir: Path, project_name: str, api: bool = False, docker: bool = False, unfold: bool = False)[source]

Function to write the content in each file of the project.

Module contents