Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Step ¶
type Step struct {
Name string
Check func(ctx context.Context) bool // returns true if step is already complete
Execute func(ctx context.Context) error
}
Step represents a single step in the setup wizard.
func AuthStep ¶
func AuthStep() Step
AuthStep checks if valid credentials exist and runs login if not.
func DomainStep ¶
func DomainStep() Step
DomainStep checks if a valid host is configured and prompts the user if not.
func MCPConfigStep ¶
func MCPConfigStep() Step
MCPConfigStep detects AI tools and generates MCP configuration files.
func RepoStep ¶
func RepoStep() Step
RepoStep detects the current git repository and displays the result.
func SummaryStep ¶
func SummaryStep() Step
SummaryStep reads host/token from config at execution time and displays next steps.
Click to show internal directories.
Click to hide internal directories.