cli

package
v0.0.0-...-6b32d26 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2021 License: Apache-2.0 Imports: 22 Imported by: 2

Documentation

Index

Constants

View Source
const AppPrompt string = `` /* 299-byte string literal not displayed */

Variables

View Source
var CommandHelp map[string]string

Functions

func Cli

func Cli(section string, command string, strict bool, databaseType string, clusterId string, instance string, destination string, owner string, reason string, duration string, pattern string, clusterAlias string, pool string, hostnameFlag string)

Cli initiates a command line interface, executing requested command.

func CliCmd

func CliCmd(commandMap map[string]dtstruct.CommandDesc, cliParam *dtstruct.CliParam)

register cli command

func CliWrapper

func CliWrapper(section string, command string, strict bool, databaseType string, clusterId string, instances string, destination string, owner string, reason string, duration string, pattern string, clusterAlias string, pool string, hostnameFlag string)

CliWrapper is called from main and allows for the instance parameter to take multiple instance names separated by a comma or whitespace.

func HelpCommand

func HelpCommand(command string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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