project

package
v0.1.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdNew = &cobra.Command{
	Use:   "newservice",
	Short: "Create a service template",
	Long:  "Create a service project using the repository template. Example: gomonoctl newservice helloworld",
	Run:   run,
}

CmdNew represents the new command.

Functions

This section is empty.

Types

type Project

type Project struct {
	Name string
}

Project is a project template.

func (*Project) AddService added in v0.1.1

func (p *Project) AddService(ctx context.Context, dir, layout, branch, serviceName string) error

New new a project from remote repo.

func (*Project) New

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

New new a project from remote repo.

Jump to

Keyboard shortcuts

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