usecase

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderInitSpellTemplate

func RenderInitSpellTemplate(args []string) error

RenderInitSpellTemplate renders the templates defined to the initspell command with the proper variables

func RenderInitTemplate

func RenderInitTemplate(args []string) error

RenderInitTemplate renders the templates defined to the init command with the proper variables

func RenderNewSpellCommandTemplate

func RenderNewSpellCommandTemplate(args []string) error

RenderNewSpellCommandTemplate renders the templates defined to the addspellcommand command with the proper variables

func RenderaddgatewayTemplate added in v0.7.0

func RenderaddgatewayTemplate(args []string) error

RenderaddgatewayTemplate renders the templates defined to the addgateway command with the proper variables

func RenderaddusecaseTemplate added in v0.6.0

func RenderaddusecaseTemplate(args []string) error

RenderaddusecaseTemplate renders the templates defined to the addusecase command with the proper variables

Types

type AddComponentConstantToContext added in v0.6.0

type AddComponentConstantToContext struct {
}

AddComponentConstantToContext adds a new component constant to the context file

func GetAddComponentConstantToContext added in v0.6.0

func GetAddComponentConstantToContext() *AddComponentConstantToContext

func (*AddComponentConstantToContext) Execute added in v0.6.0

func (u *AddComponentConstantToContext) Execute(currentPath string, componentName string) error

Execute the usecase AddComponentConstantToContext

type AddEnvironmentVariable added in v0.6.4

type AddEnvironmentVariable struct {
}

AddEnvironmentVariable

func GetAddEnvironmentVariable added in v0.6.4

func GetAddEnvironmentVariable() *AddEnvironmentVariable

func (*AddEnvironmentVariable) Execute added in v0.6.4

func (u *AddEnvironmentVariable) Execute(currentPath string, attributeName string, attributeType string, attributeValue string) error

Execute the usecase AddEnvironmentVariable

type AddPackageImportToMain added in v0.6.0

type AddPackageImportToMain struct {
}

AddPackageImportToMain adds a new import to the main file

func GetAddPackageImportToMain added in v0.6.0

func GetAddPackageImportToMain() *AddPackageImportToMain

func (*AddPackageImportToMain) Execute added in v0.6.0

func (u *AddPackageImportToMain) Execute(moduleName string, currentPath string, importPath string) error

Execute the usecase AddPackageImportToMain

Jump to

Keyboard shortcuts

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