initialize

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package initialize implements the "init" CLI command.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	*root.Config
	Name        string
	Short       string
	Long        string
	RootPkg     string
	EnvPrefix   string
	NoEnvPrefix bool
	NoVersion   bool
	Flags       *ff.FlagSet
	Command     *ff.Command
}

Config holds the configuration for the init command.

func New

func New(parent *root.Config) *Config

New creates and registers the init command with the given parent config.

Jump to

Keyboard shortcuts

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