new

package
v2.0.2-0...-6dc8811 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CmdNew = &cobra.Command{
	Use:     "new",
	Example: "brix new demo-api",
	Short:   "create a new project.",
	Long:    `create a new project with brix layout.`,
	Run:     run,
}

Functions

This section is empty.

Types

type Bar

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

func (*Bar) Finish

func (bar *Bar) Finish()

func (*Bar) NewOption

func (bar *Bar) NewOption(start, total int64)

func (*Bar) Play

func (bar *Bar) Play(cur int64)

type Project

type Project struct {
	ProjectName string `survey:"name"`
}

func NewProject

func NewProject() *Project

Jump to

Keyboard shortcuts

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