Try this search on Go-Search or GitHub.

PathSynopsis
flag
  • 54153 imports
Package flag implements command-line flag parsing.
github.com/spf13/pflag
  • 6220 imports
  • · fork
  • · 582 stars
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
k8s.io/client-go/tools/clientcmd
  • 950 imports
  • · 1664 stars
Package clientcmd provides one stop shopping for building a working client from a fixed config, from a .kubeconfig file, from command line flags, or from any merged combination.
github.com/vmware/govmomi/govc/flags
  • 739 imports
  • · 928 stars
github.com/jessevdk/go-flags
  • 1310 imports
  • · 1241 stars
Package flags provides an extensive command line option parser.
launchpad.net/gnuflag
  • 571 imports
Package flag implements command-line flag parsing in the GNU style.
github.com/juju/gnuflag
  • 476 imports
  • · 7 stars
Package flag implements command-line flag parsing in the GNU style.
github.com/ogier/pflag
  • 456 imports
  • · 392 stars
pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
github.com/juju/utils/featureflag
  • 472 imports
  • · 65 stars
The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined.
github.com/coreos/etcd/pkg/flags
  • 377 imports
  • · 21137 stars
Package flags implements command-line flag parsing.
github.com/juju/juju/feature
  • 325 imports
  • · 1302 stars
Package feature package defines the names of the current feature flags.
k8s.io/cli-runtime/pkg/genericclioptions
  • 276 imports
  • · 30 stars
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
k8s.io/kubernetes/pkg/util/flag
  • 374 imports
  • · 44093 stars
github.com/spf13/hugo/commands
  • 245 imports
  • · 31940 stars
Package commands defines and implements command-line commands and flags used by Hugo.
k8s.io/apiserver/pkg/util/flag
  • 280 imports
  • · 124 stars
github.com/drone/config
  • 214 imports
  • · 26 stars
[DEPRECATED] Flag, Env and Toml configuration for Go projects
github.com/hashicorp/consul/command/flags
  • 211 imports
  • · 13229 stars
k8s.io/apiserver/pkg/server/options
  • 169 imports
  • · 142 stars
package options is the public flags and options used by a generic api server.
code.cloudfoundry.org/cli/cf/flags
  • 207 imports
  • · 967 stars
k8s.io/kubernetes/pkg/version/verflag
  • 165 imports
  • · 32335 stars
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
github.com/namsral/flag
  • 120 imports
  • · 236 stars
Package flag implements command-line flag parsing.
github.com/ctdk/goiardi/config
  • 104 imports
  • · 228 stars
Package config parses command line flags and config files, and defines options used elsewhere in goiardi.
k8s.io/​kubernetes/​cmd/​kube-controller-manager/​app/​options
  • 114 imports
  • · 47012 stars
Package options provides the flags used for the controller manager.
github.com/simonleung8/flags
  • 117 imports
  • · 4 stars
Improved command-line flag parsing for Go lang
github.com/smira/flag
  • 85 imports
  • · fork
Package flag implements command-line flag parsing.
github.com/google/gxui/samples/flags
  • 93 imports
  • · 4044 stars
Package flags holds command line options common to all GXUI samples.
k8s.io/​kubernetes/​cmd/​kube-apiserver/​app/​options
  • 102 imports
  • · 47096 stars
Package options contains flags and options for initializing an apiserver
github.com/rakyll/globalconf
  • 65 imports
  • · 267 stars
Persist flag values into an ini file
github.com/cloudfoundry/cli/cf/flags
  • 68 imports
  • · 982 stars
k8s.io/gengo/args
  • 47 imports
  • · 108 stars
Package args has common command-line flags for generation programs.
github.com/ncw/rclone/fs/config
  • 46 imports
  • · 12405 stars
Package config reads, writes and edits the config file and deals with command line flags
github.com/btcsuite/go-flags
  • 62 imports
  • · fork
  • · 2 stars
Package flags provides an extensive command line option parser.
github.com/simonleung8/flags/flag
  • 77 imports
  • · 4 stars
github.com/droundy/goopt
  • 46 imports
  • · 69 stars
getopt-like flags package for golang,
go.chromium.org/luci/auth/client/authcli
  • 39 imports
Package authcli implements authentication related flags parsing and CLI subcommands.
github.com/ianschenck/envflag
  • 31 imports
  • · 7 stars
Package envflag adds environment variable flags to the flag package.
gopkg.in/hlandau/easyconfig.v1/cflag
  • 31 imports
Package cflag provides a flag-like means of declaring configurables.
github.com/ncw/rclone/fs/config/flags
  • 29 imports
  • · 10358 stars
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
k8s.io/kubernetes/pkg/kubeapiserver/options
  • 29 imports
  • · 45803 stars
Package options contains flags and options for initializing kube-apiserver
github.com/turbinelabs/nonstdlib/flag
  • 26 imports
  • · 2 stars
Package flag provides convenience methods for dealing with golang flag.FlagSets
github.com/mitchellh/packer/helper/flag-slice
  • 50 imports
  • · 5526 stars
github.com/gonuts/commander
  • 25 imports
  • · 60 stars
commander helps creating command line programs whose arguments are flags, commands and subcommands.
github.com/mitchellh/packer/helper/flag-kv
  • 50 imports
  • · 5526 stars
github.com/conformal/go-flags
  • 37 imports
  • · fork
  • · 3 stars
Package flags provides an extensive command line option parser.
github.com/gonuts/flag
  • 24 imports
  • · fork
  • · 3 stars
Package flag implements command-line flag parsing.
github.com/​openshift/​origin/​pkg/​cmd/​util/​flags
  • 33 imports
  • · 5065 stars
github.com/openshift/origin/pkg/cmd/flagtypes
  • 26 imports
  • · 4271 stars
Package flagtypes provides types that implement the pflags.Value interface for converting command line flags to objects.
vitess.io/vitess/go/flagutil
  • 25 imports
  • · 5596 stars
Package flagutil contains flags that parse string lists and string maps.
upspin.io/flags
  • 23 imports
Package flags defines command-line flags to make them consistent between binaries.
github.com/youtube/vitess/go/flagutil
  • 23 imports
  • · 5092 stars
Package flagutil contains flags that parse string lists and string maps.
github.com/artpar/rclone/fs/config
  • 23 imports
  • · fork
  • · 3 stars
Package config reads, writes and edits the config file and deals with command line flags
github.com/elastic/go-ucfg/flag
  • 25 imports
  • · 41 stars
code.cloudfoundry.org/cli/command/flag
  • 21 imports
  • · 1180 stars
Package flag should not be imported by external consumers.
github.com/theckman/goiardi/config
  • 20 imports
  • · fork
Package config parses command line flags and config files, and defines options used elsewhere in goiardi.
github.com/Luzifer/rconfig
  • 18 imports
  • · 4 stars
Package rconfig implements a CLI configuration reader with struct-embedded defaults, environment variables and posix compatible flag parsing using the pflag library.
github.com/anacrolix/tagflag
  • 18 imports
  • · 4 stars
Package tagflag uses reflection to derive flags and positional arguments to a program, and parses and sets them from a slice of arguments.
github.com/juju/govmomi/govc/flags
  • 22 imports
  • · fork
github.com/kabukky/journey/flags
  • 21 imports
  • · 1553 stars
github.com/concourse/flag
  • 20 imports
flag types for use with jessevdk/go-flags
github.com/​aws/​amazon-ecs-cli/​ecs-cli/​modules/​commands/​flags
  • 22 imports
  • · 1032 stars
github.com/stvp/go-toml-config
  • 23 imports
  • · 93 stars
Package config implements simple TOML-based configuration variables, based on the flag package in the standard Go library (In fact, it's just a simple wrapper around flag.FlagSet).
github.com/richardlehane/siegfried/pkg/config
  • 15 imports
  • · 66 stars
Package config sets up defaults used by both the SF and roy tools Config options can be overridden with build flags e.g.
v.io/x/ref/lib/flags
  • 16 imports
  • · 62 stars
Package flags implements utilities to augment the standard Go flag package.
github.com/​GoogleCloudPlatform/​kubernetes/​pkg/​version/​verflag
  • 15 imports
  • · 34732 stars
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
github.com/leveros/leveros/config
  • 14 imports
  • · 824 stars
Package config provides configuration flags.
github.com/fiorix/go-diameter/diam/avp
  • 14 imports
  • · 117 stars
Package avp provides Diameter AVP constants and flags.
github.com/ncw/rclone/vfs/vfsflags
  • 14 imports
  • · 11964 stars
Package vfsflags implements command line flags to set up a vfs
github.com/facebookgo/flagenv
  • 13 imports
  • · 115 stars
Package flagenv provides the ability to populate flags from environment variables.
github.com/coreos/rkt/rkt/flag
  • 16 imports
  • · 7768 stars
github.com/tsuru/gnuflag
  • 12 imports
  • · 2 stars
Package flag implements command-line flag parsing in the GNU style.
v.io/x/ref/lib/security/securityflag
  • 14 imports
  • · 62 stars
Package securityflag implements utilities for creating security objects based on flags.
gopkg.in/src-d/go-vitess.v1/flagutil
  • 12 imports
Package flagutil contains flags that parse string lists and string maps.
github.com/laher/goxc/config
  • 12 imports
  • · 1320 stars
config package handles invocation settings for goxc, which can be set using a combination of cli flags plus json-based config files.
github.com/appscode/go/flags
  • 14 imports
  • · 3 stars
k8s.io/heapster/common/flags
  • 14 imports
  • · 811 stars
github.com/smira/commander
  • 11 imports
  • · fork
commander helps creating command line programs whose arguments are flags, commands and subcommands.
github.com/sensu/sensu-go/cli/commands/flags
  • 14 imports
  • · 197 stars
github.com/vube/depman/install
  • 11 imports
  • · 55 stars
Package install provides functions to recursively install dependencies Cleaning of existing changes in dependency repositories is controlled by the --clean flag
github.com/mreiferson/go-options
  • 15 imports
  • · 19 stars
options resolves configuration values set via command line flags, config files, and default struct values
github.com/palantir/pkg/cli/flag
  • 13 imports
  • · 27 stars
hawx.me/code/hadfield
  • 10 imports
  • · 5 stars
Package hadfield implements a basic subcommand system to complement the flag package.
github.com/gohugoio/hugo/commands
  • 10 imports
  • · 31781 stars
Package commands defines and implements command-line commands and flags used by Hugo.
github.com/adobe-platform/porter/daemon/flags
  • 10 imports
  • · 43 stars
go.chromium.org/luci/common/flag/flagenum
  • 10 imports
Package flagenum is a utility package which facilitates implementation of flag.Value, json.Marshaler, and json.Unmarshaler interfaces via a string-to- value mapping.
github.com/gravitational/teleport/lib/config
  • 9 imports
  • · 6872 stars
Package 'config' provides facilities for configuring Teleport daemons including - parsing YAML configuration - parsing CLI flags
github.com/jaegertracing/jaeger/pkg/metrics
  • 9 imports
  • · 6972 stars
Package metrics provides command line flags for configuring the metrics backend.
github.com/coldbrewcloud/coldbrew-cli/flags
  • 10 imports
  • · 42 stars
go.chromium.org/​luci/​common/​flag/​stringlistflag
  • 9 imports
Package stringlistflag provides a flag.Value implementation which resolves multiple args into a []string.
go.chromium.org/​luci/​common/​flag/​stringmapflag
  • 9 imports
Package stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
github.com/metakeule/config
  • 8 imports
Package config provides a cross plattform library to merge configuration files, environmental variables and command line flags.
github.com/jaegertracing/jaeger/cmd/flags
  • 8 imports
  • · 5043 stars
Package flags defines command line flags that are shared by several jaeger components.
github.com/Symantec/Dominator/lib/flagutil
  • 8 imports
  • · 55 stars
Package flagutil provides utility types for the standard flag package.
github.com/google/gapid/gapis/config
  • 8 imports
  • · 991 stars
Package config contains a list of build configuration flags.
github.com/nyaxt/otaru/flags
  • 9 imports
  • · 13 stars
github.com/artpar/rclone/fs/config/flags
  • 8 imports
  • · fork
  • · 2 stars
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
github.com/turbinelabs/codec
  • 7 imports
  • · 1 stars
Package codec provides a simple interface for encoding and decoding values with JSON and YAML implementations, along with a means to configure them with a flag.FlagSet.
github.com/artyom/autoflags
  • 7 imports
  • · 13 stars
Package autoflags provides a convenient way of exposing struct fields as command line flags.
github.com/fossas/fossa-cli/cmd/fossa/flags
  • 9 imports
  • · 582 stars
github.com/goki/ki/bitflag
  • 7 imports
  • · 28 stars
package bitflag provides simple bit flag setting, checking, and clearing methods that take bit position args as ints (from const int eunum iota's) and do the bit shifting from there -- although a tiny bit slower, the convenience of maintaining ordinal lists of bit positions greatly outweighs that cost -- see kit type registry for further enum management functions
bitbucket.org/telesto/goblin/flag
  • 7 imports
Package flag implements getopt-like command line parsing.