diff --git a/.cz.toml b/.cz.toml index 0e9faa2..e4df64e 100644 --- a/.cz.toml +++ b/.cz.toml @@ -3,7 +3,7 @@ name = "cz_customize" [tool.commitizen.customize] -message_template = "{{type_lang}}: add «{{no}}. {{problem}}»" +message_template = "{{type_lang}}: add «{{no}}. {{problem}}»\n\nURL:\t{{problem_link}}" example = "cpp: add «997. Find the Town Judge»" schema = "‹type_lang›: ‹message›" schema_pattern = """\ @@ -29,3 +29,8 @@ message = "Type the number of the problem" type = "input" name = "problem" message = "Type the problem name (capitalized)" + +[[tool.commitizen.customize.questions]] +type = "input" +name = "problem_link" +message = "Type the link to the problem"