exit

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2019 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

Command is the exit subcommand.

func (*Command) Execute

func (cmd *Command) Execute(_ context.Context,
	f *flag.FlagSet,
	args ...interface{}) subcommands.ExitStatus

Execute executes the exit subcommand.

func (*Command) Name

func (*Command) Name() string

Name returns the name "exit".

func (*Command) SetFlags

func (cmd *Command) SetFlags(f *flag.FlagSet)

SetFlags sets the flag on the binder subcommand.

func (*Command) Synopsis

func (*Command) Synopsis() string

Synopsis returns a description of the subcommand.

func (*Command) Usage

func (*Command) Usage() string

Usage returns a string describing usage.

Jump to

Keyboard shortcuts

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