start

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Check     *check.Check           `validate:"required"`
	CheckVars *checkvars.Check       `validate:"required"`
	Conf      *config.File           `validate:"required"`
	Exit      exit.HandlerIface      `validate:"required"`
	Stderr    io.Writer              `validate:"required"`
	Stdout    io.Writer              `validate:"required"`
	Sync      sync.SyncIface         `validate:"required"`
	Template  template.TemplateIface `validate:"required"`
}

Options contructor options

type Start

type Start struct {
	// contains filtered or unexported fields
}

Start manage listing of installed templates

func New

func New(opts Options) *Start

New consructor

func (*Start) List

func (s *Start) List(long bool)

List lists the output

func (Start) Start

func (s Start) Start(projectname, template, path string)

Start start command

type StartIface

type StartIface interface {
	// Start start command
	Start(projectname, template, path string)
	// List lists the output
	List(long bool)
}

StartIface ...

Jump to

Keyboard shortcuts

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