init

package
v0.64.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunCommand

func RunCommand(state *command.GlobalState, args *CommandArgs, env map[string]string) error

RunCommand runs the init command.

Types

type CommandArgs

type CommandArgs struct {
	Name        string
	Boilerplate string
	Variables   map[string]string
}

CommandArgs contains specific arguments to the init command.

func ParseArgs

func ParseArgs(args []string) (*CommandArgs, error)

ParseArgs parse command line arguments for init command.

Jump to

Keyboard shortcuts

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