initialize

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(ctx context.Context, opts Options) error

Init creates a new forge.yaml configuration file with default values.

func InitWithCustomConfig

func InitWithCustomConfig(ctx context.Context, cfg *config.AppConfig, opts Options) error

InitWithCustomConfig creates a forge.yaml with a custom configuration.

Types

type Options

type Options struct {
	OutputPath string
	Force      bool
	DryRun     bool
	Multi      bool
}

Options holds options for initializing a forge.yaml file.

Jump to

Keyboard shortcuts

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