mache.deploy.bootstrap.check_location

mache.deploy.bootstrap.check_location(software=None)[source]

Ensure that the script is being run from the root of the target software repository.

Parameters:

software (str, optional) – The target software name, used for a more specific error message. If not provided, a generic message is used.