cli

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppsCmdsList

func AppsCmdsList() []*cobra.Command

func CheckDepsHandler added in v1.1.2

func CheckDepsHandler(args ...string) error

CheckDepsHandler verifica as dependências a partir dos argumentos fornecidos. Recebe um slice de strings com os argumentos. Retorna um erro, se houver.

func FormsCmdsList

func FormsCmdsList() []*cobra.Command

func GenDepsScriptHandler added in v1.1.2

func GenDepsScriptHandler(depsList []string, args ...string) error

GenDepsScriptHandler gera um script para verificar e instalar dependências a partir dos argumentos fornecidos. Recebe um slice de strings com a lista de dependências e um slice de strings com os argumentos. Retorna um erro, se houver.

func GetDescriptions added in v1.1.2

func GetDescriptions(descriptionArg []string, _ bool) map[string]string

func InputFormCommand

func InputFormCommand() *cobra.Command

func InstallApplicationsCommand

func InstallApplicationsCommand() *cobra.Command

func InstallDepsHandler added in v1.1.2

func InstallDepsHandler(args ...string) error

InstallDepsHandler instala dependências a partir dos argumentos fornecidos. Recebe um slice de strings com os argumentos. Retorna um erro, se houver.

func LoaderFormCommand

func LoaderFormCommand() *cobra.Command
func NavigateAndExecuteCommand(cmd *cobra.Command, args []string) error
func NavigateAndExecuteFormCommand(cmd *cobra.Command, args []string) error
func NavigateAndExecuteViewCommand(cmd *cobra.Command, args []string) error

func PkgCmdsList added in v1.1.2

func PkgCmdsList() []*cobra.Command

appsCmdsList retorna uma lista de comandos Cobra relacionados a aplicativos. Retorna um slice de ponteiros para comandos Cobra e um erro, se houver.

func TestInputFormCommand

func TestInputFormCommand(t *testing.T)

Unit tests for InputFormCommand

func TestLoaderFormCommand

func TestLoaderFormCommand(t *testing.T)

Unit tests for LoaderFormCommand

func TestTableViewCmd

func TestTableViewCmd(t *testing.T)

func ViewsCmdsList

func ViewsCmdsList() []*cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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