def _ask_name(self) -> str: name = questionary.select( "Please choose a cz (commit rule): (default: cz_conventional_commits)", choices=list(registry.keys()), default="cz_conventional_commits", style=self.cz.style, ).ask() return name
def registered(*args, **kwargs): _r = '\n'.join(registry.keys()) logger.info(_r)
def __call__(self): out.write("\n".join(registry.keys()))