create

package
v0.29.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Dotnet = Language{"dotnet"} // not technically a language, but it fits our naming scheme
	Go     = Language{"go"}     //nolint:varnamelen
	Python = Language{"python"}

	Languages = enum.New(
		Dotnet,
		Go,
		Python,
	)
)
View Source
var (
	Dotnet8WebAPI = Template{"dotnet8-webapi"}
	// Dotnet8WebApp = Template{"dotnet8-webapp"}.
	Dotnet8Worker = Template{"dotnet8-worker"}
	GoWebAPI      = Template{"go-webapi"}
	PythonWebAPI  = Template{"python-webapi"}
	PythonWorker  = Template{"python-worker"}

	Templates = enum.New(
		Dotnet8WebAPI,

		Dotnet8Worker,
		GoWebAPI,
		PythonWebAPI,
		PythonWorker,
	)
)

Functions

func Command

func Command() *cli.Command

func Create

func Create(ctx context.Context, c *cli.Command) error

Types

type Language added in v0.28.0

type Language enum.Member[string]

type Template added in v0.21.0

type Template enum.Member[string]

Jump to

Keyboard shortcuts

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