cmd

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InitCmd

type InitCmd struct {
	cli.Base
	Output string `cli:"output,o" help:"Output directory for the new project" default:"."`
	Name   string `cli:"name,n"   help:"Project name (skips interactive prompt)"`
	Module string `cli:"module,m" help:"Go module path, e.g. github.com/user/app (skips interactive prompt)"`
	Preset string `cli:"preset,p" help:"Preset: api, worker, fullstack, minimal (skips preset selection)"`
	Depth  string `cli:"depth,d"  help:"Output depth: minimal, boilerplate, full (skips depth selection)"`
}

func (*InitCmd) Run

func (c *InitCmd) Run() error

type RootCmd

type RootCmd struct {
	cli.Base
	Init InitCmd `cmd:"init" help:"Initialize a new go-tools project"`
}

Jump to

Keyboard shortcuts

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