in solutions_builder/cli/cli_utils.py [0:0]
def get_copier_yaml(path):
filepath = f"{path}/copier.yaml"
if not os.path.isfile(filepath):
filepath = f"{path}/copier.yml"
if not os.path.isfile(filepath):
raise FileNotFoundError(
f"Path {path} is not a valid module folder: missing copier.yaml or copier.yml"
)
return read_yaml(filepath)