cli

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

package cli contains code for the command line client interface

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommonFlags

type CommonFlags struct {
	Interface string
}

CommonFlags are flags common to all subcommands.

func (*CommonFlags) Register

func (c *CommonFlags) Register(fs *flag.FlagSet)

type ListCmd

type ListCmd struct {
	Common CommonFlags
	IDfmt  bool
}

func (*ListCmd) Execute

func (p *ListCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*ListCmd) Name

func (*ListCmd) Name() string

func (*ListCmd) SetFlags

func (p *ListCmd) SetFlags(fs *flag.FlagSet)

func (*ListCmd) Synopsis

func (*ListCmd) Synopsis() string

func (*ListCmd) Usage

func (*ListCmd) Usage() string

Jump to

Keyboard shortcuts

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