Expand description
§offline-generator
Renders a registry template into a new project directory.
Template contract (registry/templates/<name>/files/):
*.terais rendered (suffix stripped); other files are copied as-is.- Underscore-prefixed names map to dotfiles:
_gitignore->.gitignore,_env->.env,_env.example->.env.example(also with.tera). - Context always includes
project_name,versions, and optionallypackages.
Modules§
- package_
json - Edit an existing
package.jsonwithout reformatting it. - project_
detect - Recognise an existing Python, Swift or Gradle (Kotlin/Java) project, so
offline initand the MCPinit_projecttool can wire projects that have nopackage.json. - project_
wiring .mcp.jsonandAGENTS.mdwiring shared byoffline initand the MCPinit_projecttool.
Structs§
Enums§
Functions§
- generate
- Generate
template_nameintotarget_dirwith the given variables.