example

package
v0.0.0-...-34ba907 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PLACEHOLDER_TEXT    = "{{placeholder}}"
	EXAMPLE_URL_KEY     = "Example_Service_Url"
	DEFAULT_SERVICE_URL = "https://jsonplaceholder.typicode.com"
	DEFAULT_ENTITY      = "users"
)

Functions

func AddCommands

func AddCommands()

Types

type BmCommand

type BmCommand struct {
}

func NewBmCommand

func NewBmCommand() *BmCommand

func (*BmCommand) AddOptions

func (cmd *BmCommand) AddOptions(set shell.CmdSet)

func (*BmCommand) Execute

func (cmd *BmCommand) Execute(args []string) error

type ExSubCmdCommand

type ExSubCmdCommand struct {
}

func NewExSubCmdCommand

func NewExSubCmdCommand() *ExSubCmdCommand

func (*ExSubCmdCommand) AddOptions

func (cmd *ExSubCmdCommand) AddOptions(set shell.CmdSet)

func (*ExSubCmdCommand) Execute

func (cmd *ExSubCmdCommand) Execute(args []string) error

func (*ExSubCmdCommand) ExtendedUsage

func (cmd *ExSubCmdCommand) ExtendedUsage(w io.Writer)

func (*ExSubCmdCommand) GetSubCommands

func (cmd *ExSubCmdCommand) GetSubCommands() []string

func (*ExSubCmdCommand) HeaderUsage

func (cmd *ExSubCmdCommand) HeaderUsage(w io.Writer)

type ExampleCommand

type ExampleCommand struct {
}

func NewExampleCommand

func NewExampleCommand() *ExampleCommand

func (*ExampleCommand) AddOptions

func (cmd *ExampleCommand) AddOptions(set shell.CmdSet)

func (*ExampleCommand) Execute

func (cmd *ExampleCommand) Execute(args []string) error

type ExqueryCommand

type ExqueryCommand struct {
	// contains filtered or unexported fields
}

func NewExqueryCommand

func NewExqueryCommand() *ExqueryCommand

func (*ExqueryCommand) AddOptions

func (cmd *ExqueryCommand) AddOptions(set shell.CmdSet)

func (*ExqueryCommand) Execute

func (cmd *ExqueryCommand) Execute(args []string) error

Execute -- Exquery command to query a well known test data site and demonstrate basic output Use variations of -d and -v and the --out-* options to get example output formats

Jump to

Keyboard shortcuts

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