commands

package
v0.0.0-...-0bf5125 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Application

type Application struct {
	Logging    *config.Logging
	DBPort     string
	DBUser     string
	DBPassword string
	DBName     string
}

func NewApplication

func NewApplication(logging *config.Logging) *Application

func (*Application) NewImportCmd

func (app *Application) NewImportCmd() *cobra.Command

func (*Application) NewInitCmd

func (app *Application) NewInitCmd() *cobra.Command

func (*Application) NewRunCmd

func (app *Application) NewRunCmd() *cobra.Command

Jump to

Keyboard shortcuts

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