crud

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands

func AddCommands(parentCmd *cobra.Command, globals *config.CommandLineGlobals)

func RunCreateOrReplaceCommand

func RunCreateOrReplaceCommand(opts *Options) error

func RunDeleteCommand

func RunDeleteCommand(opts *Options) error

func RunListCommand

func RunListCommand(opts *Options) error

Types

type Options

type Options struct {
	Globals *config.CommandLineGlobals

	InputFilename string
	SkipValidate  bool
	MapID         int
	Name          string
	RawOutput     bool // for list command only.
}

Options contains options (command line flags) that are common to all CRUD commands.

Jump to

Keyboard shortcuts

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