We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3571f75 commit 86b0b03Copy full SHA for 86b0b03
1 file changed
src/specify_cli/extensions.py
@@ -192,7 +192,7 @@ def _validate(self):
192
raise ValidationError("Command missing 'name' or 'file'")
193
194
# Validate command name format
195
- if not re.match(r'^speckit\.[a-z0-9-]+\.[a-z0-9-]+$', cmd["name"]):
+ if EXTENSION_COMMAND_NAME_PATTERN.match(cmd["name"]) is None:
196
raise ValidationError(
197
f"Invalid command name '{cmd['name']}': "
198
"must follow pattern 'speckit.{extension}.{command}'"
0 commit comments