MCPcopy Create free account
hub / github.com/commitizen-tools/commitizen / _ask_config_path

Method _ask_config_path

commitizen/commands/init.py:199–206  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

197 return installer
198
199 def _ask_config_path(self) -> Path:
200 filename: str = questionary.select(
201 "Please choose a supported config file: ",
202 choices=CONFIG_FILES,
203 default=project_info.get_default_config_filename(),
204 style=self.cz.style,
205 ).unsafe_ask()
206 return Path(filename)
207
208 def _ask_name(self) -> str:
209 name: str = questionary.select(

Callers 1

__call__Method · 0.95

Calls 1

unsafe_askMethod · 0.80

Tested by

no test coverage detected