Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 8.2% on proxy.golang.org

proxy.golang.org : toolman.org/flags/tristate

Package tristate provides a custom TriState flag for use with the alternate flag package github.com/spf13/pflag. A TriState value may take one of three forms: True, False or None and is most useful when you are, for instance, filtering records based on a current boolean value -- and you need all three possibilities (e.g. True, False and I Don't Care) There are 8 separate functions provided for defining a TriState flag with some combination of the suffixes: "Var", "P", and "FS" each having the following meaning: The "Var" and "P" suffixes follow the common pflag convention. The "FS" suffix is added to allow the use of alternate FlagSets.

Registry - Source - Documentation - JSON
purl: pkg:golang/toolman.org/flags/tristate
Keywords: flags, go, golang, golang-library, pflag
License: MIT
Latest release: over 5 years ago
First release: over 5 years ago
Namespace: toolman.org/flags
Stars: 1 on GitHub
Forks: 0 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 28 days ago

    Loading...
    Readme
    Loading...