MCPcopy Index your code
hub / github.com/github/spec-kit / validate

Method validate

src/specify_cli/workflows/steps/command/__init__.py:152–158  ·  view source on GitHub ↗
(self, config: dict[str, Any])

Source from the content-addressed store, hash-verified

150 return None
151
152 def validate(self, config: dict[str, Any]) -> list[str]:
153 errors = super().validate(config)
154 if "command" not in config:
155 errors.append(
156 f"Command step {config.get('id', '?')!r} is missing 'command' field."
157 )
158 return errors

Callers 1

Calls 1

getMethod · 0.45

Tested by 1