Documentation
¶
Overview ¶
Command spin is a language-agnostic scaffolder for external templates. `spin new <name> [<template>]` scaffolds a project from any git repo, local path, or pinned template that has a spin.toml + _base/ tree. No built-in templates.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package cmd wires the spin cobra command tree.
|
Package cmd wires the spin cobra command tree. |
|
internal
|
|
|
log
Package log provides a project-level charmbracelet/log logger for spin.
|
Package log provides a project-level charmbracelet/log logger for spin. |
|
params
Package params defines the typed parameter spec for spin.toml.
|
Package params defines the typed parameter spec for spin.toml. |
|
registry
Package registry is the CLI-side client for the public template registry: search, add (pin locally), list, remove, and refresh.
|
Package registry is the CLI-side client for the public template registry: search, add (pin locally), list, remove, and refresh. |
|
spec
Package spec classifies template source specs.
|
Package spec classifies template source specs. |
|
template
Package template handles external templates: detect (spin.toml + _base/), load (clone or read pin), and render via text/template.
|
Package template handles external templates: detect (spin.toml + _base/), load (clone or read pin), and render via text/template. |
|
version
Package version exposes the spin version string.
|
Package version exposes the spin version string. |
Click to show internal directories.
Click to hide internal directories.
