MCPcopy
hub / github.com/github/spec-kit / _refresh_shared_templates

Function _refresh_shared_templates

src/specify_cli/__init__.py:113–128  ·  view source on GitHub ↗

Refresh default-sensitive shared templates without touching scripts.

(
    project_path: Path,
    *,
    invoke_separator: str,
    force: bool = False,
)

Source from the content-addressed store, hash-verified

111 console.print()
112
113def _refresh_shared_templates(
114 project_path: Path,
115 *,
116 invoke_separator: str,
117 force: bool = False,
118) -> None:
119 """Refresh default-sensitive shared templates without touching scripts."""
120 _refresh_shared_templates_impl(
121 project_path,
122 version=get_speckit_version(),
123 core_pack=_locate_core_pack(),
124 repo_root=_repo_root(),
125 console=console,
126 invoke_separator=invoke_separator,
127 force=force,
128 )
129
130
131def _install_shared_infra(

Calls 3

get_speckit_versionFunction · 0.85
_locate_core_packFunction · 0.85
_repo_rootFunction · 0.70