initialise

package
v1.10.5 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 7 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) *cobra.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