Help us shape the future of Go! Take the 2026 Go Developer Survey

angular

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 7, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TemplateFS embed.FS

Functions

func Cmd

func Cmd() *cobra.Command

Cmd returns the angular init subcommand

func Run

func Run(opts Options) error

Run executes the angular init command

Types

type Options

type Options struct {
	Name      string // Project name
	Output    string // Output directory
	Prefix    string // Angular component selector prefix
	ApiUrl    string // API base URL
	Force     bool   // Overwrite existing files
	SkipAuth  bool   // Skip authentication module
	SkipPwa   bool   // Skip PWA configuration
	SkipState bool   // Skip NGXS state management
	SkipI18n  bool   // Skip internationalization
}

Options holds all options for the angular init command

type TemplateData

type TemplateData struct {
	ProjectName string
	Prefix      string
	ApiUrl      string
	Features    map[string]bool
	Timestamp   string
}

TemplateData holds the data passed to templates

Jump to

Keyboard shortcuts

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