project

package
v0.0.0-...-f750d18 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdNew = &cobra.Command{
	Use:   "new",
	Short: "Create a project template",
	Long:  "Create a project project using the repository template. Example: snake new 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) New

func (p *Project) New(ctx context.Context, dir string, layout 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