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

Method command_filename

src/specify_cli/integrations/base.py:384–391  ·  view source on GitHub ↗

Return the destination filename for a command template. *template_name* is the stem of the source file (e.g. ``"plan"``). Default: ``speckit.{template_name}.md``. Subclasses override to change the extension or naming convention.

(self, template_name: str)

Source from the content-addressed store, hash-verified

382 )
383
384 def command_filename(self, template_name: str) -> str:
385 """Return the destination filename for a command template.
386
387 *template_name* is the stem of the source file (e.g. ``"plan"``).
388 Default: ``speckit.{template_name}.md``. Subclasses override
389 to change the extension or naming convention.
390 """
391 return f"speckit.{template_name}.md"
392
393 def stale_cleanup_exclusions(self) -> set[str]:
394 """Return project-relative paths that upgrade must never stale-delete.

Calls

no outgoing calls