init

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdInit

func NewCmdInit() *cobra.Command

Types

type InitOptions

type InitOptions struct {
	TemplateRepoPath string
	TemplateName     string
	Online           bool
	ProjectName      string
	Force            bool
	Yes              bool
	CustomParamsJSON string
}

func NewInitOptions

func NewInitOptions() *InitOptions

func (*InitOptions) Complete

func (o *InitOptions) Complete(args []string) error

func (*InitOptions) Run

func (o *InitOptions) Run() error

func (*InitOptions) Validate

func (o *InitOptions) Validate() error

type TemplatesOptions added in v0.8.1

type TemplatesOptions struct {
	TemplateRepoPath string
	Online           bool
	Output           string
}

func NewTemplatesOptions added in v0.8.1

func NewTemplatesOptions() *TemplatesOptions

func (*TemplatesOptions) Complete added in v0.8.1

func (o *TemplatesOptions) Complete(args []string, online bool) error

func (*TemplatesOptions) Run added in v0.8.1

func (o *TemplatesOptions) Run() error

func (*TemplatesOptions) Validate added in v0.8.1

func (o *TemplatesOptions) Validate() error

Jump to

Keyboard shortcuts

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