create

package
v0.0.0-...-758a821 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CmdUsage     = "create <space:workspace|workspace>"
	CmdShortDesc = "Create a new works"
	CmdLongDesc  = "Create a new works"

	// Errors
	ErrInvalidWorkspaceName = "invalid workspace name: %s"
	ErrInvalidSpaceName     = "invalid space name"
)

Variables

This section is empty.

Functions

func NewCmdCreate

func NewCmdCreate(ctx *cmdutil.CmdContext) *cobra.Command

Types

type CreateOpts

type CreateOpts struct {
	Ctx *cmdutil.CmdContext

	Space           string
	Name            string
	ID              string
	Path            string
	Description     string
	Git             string
	Gitignore       string
	LicenseTemplate string
	Readme          string
	External        bool
	Temporary       bool
	ConfirmSubmit   bool
}

Jump to

Keyboard shortcuts

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