project

package
v0.0.0-...-eb9df38 Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NewCmd = &cobra.Command{
	Use:     "new",
	Short:   "Create a service template",
	Long:    "Create a service project the repository template.",
	Example: "strike new helloworld",
	Run:     run,
}

NewCmd represents the new command.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name string
	Path string
}

Project is a project template.

func (*Project) New

func (p *Project) New(ctx context.Context, dir, layout string) error

New a project from remote repo.

Jump to

Keyboard shortcuts

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