MCPcopy Index your code
hub / github.com/commitizen-tools/commitizen / _ask_config_path

Method _ask_config_path

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

Source from the content-addressed store, hash-verified

165 out.success("Configuration complete 🚀")
166
167 def _ask_config_path(self) -> Path:
168 filename: str = questionary.select(
169 "Please choose a supported config file: ",
170 choices=CONFIG_FILES,
171 default=project_info.get_default_config_filename(),
172 style=self.cz.style,
173 ).unsafe_ask()
174 return Path(filename)
175
176 def _ask_name(self) -> str:
177 name: str = questionary.select(

Callers 1

__call__Method · 0.95

Calls 1

unsafe_askMethod · 0.80

Tested by

no test coverage detected