cli

package
v0.0.0-...-e55081e Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(cmd *cobra.Command) int

func RunNoErrOutput

func RunNoErrOutput(cmd *cobra.Command) error

RunNoErrOutput is a version of Run which returns the cobra command error instead of printing it.

Types

type DurationPBValue

type DurationPBValue durationpb.Duration

func NewDurationPBValue

func NewDurationPBValue(val *durationpb.Duration, p *durationpb.Duration) *DurationPBValue

func (*DurationPBValue) Set

func (d *DurationPBValue) Set(value string) error

func (*DurationPBValue) String

func (d *DurationPBValue) String() string

func (*DurationPBValue) Type

func (d *DurationPBValue) Type() string

Jump to

Keyboard shortcuts

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