cli

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 8 Imported by: 0

README

cli

import "github.com/brittonhayes/citadel/gen/http/cli/citadel"

Index

func ParseEndpoint

func ParseEndpoint(
    scheme, host string,
    doer goahttp.Doer,
    enc func(*http.Request) goahttp.Encoder,
    dec func(*http.Response) goahttp.Decoder,
    restore bool,
) (endpoint.Endpoint, interface{}, error)

ParseEndpoint returns the endpoint and payload as specified on the command line.

func UsageCommands

func UsageCommands() string
UsageCommands returns the set of commands and sub-commands using the format
command (subcommand1|subcommand2|...)

func UsageExamples

func UsageExamples() string

UsageExamples produces an example of a valid invocation of the CLI tool.

Generated by gomarkdoc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEndpoint

func ParseEndpoint(
	scheme, host string,
	doer goahttp.Doer,
	enc func(*http.Request) goahttp.Encoder,
	dec func(*http.Response) goahttp.Decoder,
	restore bool,
) (endpoint.Endpoint, interface{}, error)

ParseEndpoint returns the endpoint and payload as specified on the command line.

func UsageCommands

func UsageCommands() string

UsageCommands returns the set of commands and sub-commands using the format

command (subcommand1|subcommand2|...)

func UsageExamples

func UsageExamples() string

UsageExamples produces an example of a valid invocation of the CLI tool.

Types

This section is empty.

Jump to

Keyboard shortcuts

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