xflag

package
v0.0.0-...-4892080 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: GPL-3.0 Imports: 2 Imported by: 3

Documentation

Overview

Package xflag provides addons to standard package flag.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Count

type Count int

Count is a flag.Value that is like a flag.Bool and a flag.Int. If used as -name, it increments the Count, but -name=x sets the Count. Used for verbose flag -v.

func (*Count) IsBoolFlag

func (c *Count) IsBoolFlag() bool

func (*Count) Set

func (c *Count) Set(s string) error

func (*Count) String

func (c *Count) String() string

Jump to

Keyboard shortcuts

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