diff --git a/.cz.toml b/.cz.toml index f38e49e..7b199f1 100644 --- a/.cz.toml +++ b/.cz.toml @@ -3,7 +3,7 @@ name = "cz_customize" [tool.commitizen.customize] -message_template = "{{type_lang}}: add «{{problem}}»" +message_template = "{{type_lang}}: add «{{no}}. {{problem}}»" example = "cpp: add «997. Find the Town Judge»" schema = "‹type_lang›: ‹message›" schema_pattern = """\ @@ -20,7 +20,12 @@ name = "type_lang" choices = ["cpp", "rs", "kt", "cs", "java", "go", "java", "js", "rb", "swift", "chore", "ci", "style"] message = "Select the language (or type of change) you are commiting" +[[tool.commitizen.customize.questions]] +type = "input" +name = "no" +message = "Type the number of the problem" + [[tool.commitizen.customize.questions]] type = "input" name = "problem" -message = "Type the problem name in form of: ‹number. Name›" +message = "Type the problem name (capitalized)"