fora.example_deploys
Provides example deploys, which can be used as a starting point.
Functions
def example_deploys.init_structure_minimal()
example_deploys.init_structure_minimal()
Creates a minimal deploy structure.
def example_deploys.init_structure_flat()
example_deploys.init_structure_flat()
Creates a flat deploy structure.
def example_deploys.init_structure_dotfiles()
example_deploys.init_structure_dotfiles()
Creates a dotfiles deploy structure.
def example_deploys.init_structure_modular()
example_deploys.init_structure_modular()
Creates a modular deploy structure.
def example_deploys.init_structure_staging_prod()
example_deploys.init_structure_staging_prod()
Creates a staging_prod deploy structure.
def example_deploys.init_deploy_structure()
example_deploys.init_deploy_structure()
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