cli

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderError

func RenderError(err error, styled bool) string

Types

type App

type App struct {
	Out                 io.Writer
	StyledOutput        bool
	Version             string
	WorkingDirectory    string
	RunNewProjectWizard func(context.Context) ([]string, error)
	FetchReleases       func(context.Context) ([]github.Release, error)
	RunDoctor           func(context.Context, string) doctor.Report
	// FetchTemplate returns the template tree of a released version, which
	// goilerplate update compares with the current one.
	FetchTemplate func(context.Context, string) (fs.FS, error)
}

func (*App) Run

func (a *App) Run(ctx context.Context, arguments []string) error

Jump to

Keyboard shortcuts

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