Documentation
¶
Overview ¶
Package initcmd implements `sf init` — one-shot per-project onboarding that wires sf up for a project's coding agents: a managed block in AGENTS.md, the sf-context skill, the PreToolUse hook, and MCP server registration. Steps beyond the AGENTS.md block are gated on whether Claude Code is detected on the machine and/or in the project, and --corporate skips all of them for locked-down environments where only instruction files are writable.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand returns the `init` Cobra command (`sf init`).
Types ¶
type Item ¶
type Item struct {
Name string `json:"name"`
Status string `json:"status"`
Detail string `json:"detail"`
}
Item is one onboarding step's outcome — same shape as doctor.Check, same voice: a short Status plus a sentence of Detail.
Click to show internal directories.
Click to hide internal directories.