xflag

package
Version: v0.0.0-...-c9eb28d Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 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

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL