init

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 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 Options added in v0.9.0

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

func NewInitOptions

func NewInitOptions() *Options

func (*Options) Complete added in v0.9.0

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

func (*Options) Run added in v0.9.0

func (o *Options) Run() error

func (*Options) Validate added in v0.9.0

func (o *Options) 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