cli

package
v0.0.0-...-001d619 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterCommands

func RegisterCommands(app *cobra.Command, c *client.Client)

RegisterCommands registers the resource action CLI commands.

Types

type ShowHelloCommand

type ShowHelloCommand struct {
	// What To Say Hello To
	WhatToSay   string
	PrettyPrint bool
}

ShowHelloCommand is the command line data structure for the show action of hello

func (*ShowHelloCommand) RegisterFlags

func (cmd *ShowHelloCommand) RegisterFlags(cc *cobra.Command, c *client.Client)

RegisterFlags registers the command flags with the command line.

func (*ShowHelloCommand) Run

func (cmd *ShowHelloCommand) Run(c *client.Client, args []string) error

Run makes the HTTP request corresponding to the ShowHelloCommand command.

Jump to

Keyboard shortcuts

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