initialize

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	TemplateDir string
	// contains filtered or unexported fields
}

Command contains the logic to initialize a new template repository.

func NewCommand

func NewCommand(cfg *cfg.Configuration, factory logging.LoggerFactory) *Command

NewCommand returns a new instance.

func (*Command) GetCliCommand

func (c *Command) GetCliCommand() *cli.Command

GetCliCommand returns the command instance for CLI library.

Jump to

Keyboard shortcuts

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