cli

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2019 License: Apache-2.0 Imports: 14 Imported by: 1

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 DownloadCommand

type DownloadCommand struct {
	// OutFile is the path to the download output file.
	OutFile string
}

DownloadCommand is the command line data structure for the download command.

func (*DownloadCommand) Run

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

Run downloads files with given paths.

type RegisterUserCommand

type RegisterUserCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

RegisterUserCommand is the command line data structure for the register action of user

func (*RegisterUserCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*RegisterUserCommand) Run

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

Run makes the HTTP request corresponding to the RegisterUserCommand command.

type ResendVerificationUserCommand

type ResendVerificationUserCommand struct {
	Payload     string
	ContentType string
	PrettyPrint bool
}

ResendVerificationUserCommand is the command line data structure for the resendVerification action of user

func (*ResendVerificationUserCommand) RegisterFlags

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

RegisterFlags registers the command flags with the command line.

func (*ResendVerificationUserCommand) Run

Run makes the HTTP request corresponding to the ResendVerificationUserCommand command.

Jump to

Keyboard shortcuts

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