cmdopts

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2018 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	EncryptionKey string `required:"true" long:"encryption-key" description:"Key used to decrypt backup artifact"`
	MySQLPassword string `required:"false" long:"mysql-password" description:"Password to authenticate to mysql instance"`
	MySQLUser     string `required:"false" long:"mysql-username" description:"Username to authenticate to mysql instance"`
	RestoreFile   string `required:"true" long:"restore-file" description:"Path to backup artifact to restore"`
}

func ParseArgs

func ParseArgs(args []string) (*Options, error)

Jump to

Keyboard shortcuts

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