cmd

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2021 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "dbview",
	Short: "Manages the local dbview database",
	Long: `Manages the local dbview database providing tools to install,
configure and update the replication system.
	
Please contact us with you have any trouble.`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

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

Types

type CollorHandler added in v0.5.1

type CollorHandler struct{}

CollorHandler is a log handdle that print colorfull messages

func (*CollorHandler) Log added in v0.5.1

func (c *CollorHandler) Log(e log.Entry)

Log accepts log entries to be processed

type TextHandler added in v0.5.1

type TextHandler struct{}

TextHandler is a log handdle that print simple text messages

func (*TextHandler) Log added in v0.5.1

func (c *TextHandler) Log(e log.Entry)

Log accepts log entries to be processed

Jump to

Keyboard shortcuts

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