apigen

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// VarStringOutput describes the output.
	VarStringOutput string
	// VarStringHome describes the goctlwt home.
	VarStringHome string
	// VarStringRemote describes the remote git repository.
	VarStringRemote string
	// VarStringBranch describes the git branch.
	VarStringBranch string
)

Functions

func Category

func Category() string

Category returns the category of the api files.

func Clean

func Clean() error

Clean cleans the generated deployment files.

func CreateApiTemplate

func CreateApiTemplate(_ *cobra.Command, _ []string) error

CreateApiTemplate create api template file

func GenTemplates

func GenTemplates() error

GenTemplates generates api template files.

func RevertTemplate

func RevertTemplate(name string) error

RevertTemplate reverts the given template file to the default value.

func Update

func Update() error

Update updates the template files to the templates built in current goctlwt.

Types

This section is empty.

Jump to

Keyboard shortcuts

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