bumpversion.config.create
Module for creating a new config file.
create_configuration
python
def create_configuration(destination: str, prompt: bool) -> TOMLDocumentCreate a new configuration as a TOMLDocument.
Parameters
destination:stdoutor a path to a new or existing file.prompt:Trueif the user should be prompted for input.
Returns
- The TOMLDocument structure with the updated configuration.
get_defaults_from_dest
python
def get_defaults_from_dest(destination: str) -> Tuple[dict, TOMLDocument]Get the default configuration and the configuration from the destination.