fora.example_deploys

Provides example deploys, which can be used as a starting point.

Functions

def example_deploys.init_structure_minimal()

def example_deploys.init_structure_minimal() -> None:

Creates a minimal deploy structure.

def example_deploys.init_structure_flat()

def example_deploys.init_structure_flat() -> None:

Creates a flat deploy structure.

def example_deploys.init_structure_dotfiles()

def example_deploys.init_structure_dotfiles() -> None:

Creates a dotfiles deploy structure.

def example_deploys.init_structure_modular()

def example_deploys.init_structure_modular() -> None:

Creates a modular deploy structure.

def example_deploys.init_structure_staging_prod()

def example_deploys.init_structure_staging_prod() -> None:

Creates a staging_prod deploy structure.

def example_deploys.init_deploy_structure()

def example_deploys.init_deploy_structure(
        layout: Literal['minimal', 'flat', 'dotfiles', 'modular', 'staging_prod']
        ) -> NoReturn:

Initializes the current directory with a default deploy structure, if it is empty. Prompts the user to confirm operation if the current directory is not empty.

Parameters

  • layout: The layout for the deploy.

Raises

  • ValueError: Invalid layout.

Last updated