unit

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdInit = &cobra.Command{
	Use:   "init",
	Short: "Init an unit test",
	Long:  "Init an unit test using the repository template. Example: judev unit init",
	Run:   run,
}

CmdInit represents the init command.

View Source
var CmdUnit = &cobra.Command{
	Use:   "unit",
	Short: "unit tools",
	Long:  "unit tools. Example: judev unit ...",
}

CmdUnit represents the unit command.

Functions

This section is empty.

Types

type Unit

type Unit struct {
	Name string
}

Unit is an unit template.

func (*Unit) Init

func (u *Unit) Init(ctx context.Context, dir string, layout string, branch string) error

Init init a unit from remote repo.

Jump to

Keyboard shortcuts

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