Help us shape the future of Go! Take the 2026 Go Developer Survey

initialise

package
v0.49.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 25, 2026 License: MIT Imports: 10 Imported by: 0

README

Init Command

Initializes the tool's configuration and performs initial setup.

For detailed information on usage, flags, and AI provider integration, see the Built-in Commands Documentation.

Documentation

Overview

Package initialise provides the Cobra command for bootstrapping a new tool's configuration directory and default config file, running registered setup.Initialiser hooks in sequence.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInit

func NewCmdInit(props *p.Props, opts ...InitOption) *setup.Command

NewCmdInit creates the init command for first-run configuration.

Types

type InitOption

type InitOption func(*initConfig)

InitOption configures the init command for testability.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL