cliflag

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPersistentIntFlag

func AddPersistentIntFlag(c *cobra.Command, flag string, value uint64, description string, isRequired bool)

AddPersistentIntFlag adds a int flag to the command

func AddPersistentStringFlag

func AddPersistentStringFlag(c *cobra.Command, flag string, value string, description string, isRequired bool)

AddPersistentStringFlag adds a string flag to the command

Types

This section is empty.

Jump to

Keyboard shortcuts

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