Try this search on Go-Search or GitHub.

PathSynopsis
flag
  • 48074 imports
Package flag implements command-line flag parsing.
github.com/spf13/pflag
  • 5449 imports
  • · fork
  • · 432 stars
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
k8s.io/client-go/tools/clientcmd
  • 759 imports
  • · 1098 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.
launchpad.net/gnuflag
  • 571 imports
Package flag implements command-line flag parsing in the GNU style.
github.com/jessevdk/go-flags
  • 1069 imports
  • · 1058 stars
Package flags provides an extensive command line option parser.
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/vmware/govmomi/govc/flags
  • 498 imports
  • · 802 stars
github.com/juju/utils/featureflag
  • 449 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/juju/juju/feature
  • 312 imports
  • · 1167 stars
Package feature package defines the names of the current feature flags.
github.com/coreos/etcd/pkg/flags
  • 274 imports
  • · 18444 stars
Package flags implements command-line flag parsing.
github.com/spf13/hugo/commands
  • 233 imports
  • · 27273 stars
Package commands defines and implements command-line commands and flags used by Hugo.
k8s.io/kubernetes/pkg/util/flag
  • 279 imports
  • · 32637 stars
k8s.io/apiserver/pkg/util/flag
  • 254 imports
  • · 87 stars
github.com/drone/config
  • 214 imports
  • · 26 stars
[DEPRECATED] Flag, Env and Toml configuration for Go projects
k8s.io/apiserver/pkg/server/options
  • 178 imports
  • · 96 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
  • · 222 stars
Package config parses command line flags and config files, and defines options used elsewhere in goiardi.
github.com/simonleung8/flags
  • 117 imports
  • · 4 stars
Improved command-line flag parsing for Go lang
k8s.io/​kubernetes/​cmd/​kube-apiserver/​app/​options
  • 106 imports
  • · 38549 stars
Package options contains flags and options for initializing an apiserver
k8s.io/​kubernetes/​cmd/​kube-controller-manager/​app/​options
  • 104 imports
  • · 38888 stars
Package options provides the flags used for the controller manager.
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/​pkg/​kubectl/​genericclioptions
  • 91 imports
  • · 38710 stars
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
github.com/hashicorp/consul/command/flags
  • 73 imports
  • · 11390 stars
github.com/ncw/rclone/fs/config
  • 55 imports
  • · 9853 stars
Package config reads, writes and edits the config file and deals with command line flags
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/btcsuite/go-flags
  • 62 imports
  • · fork
  • · 2 stars
Package flags provides an extensive command line option parser.
github.com/rakyll/globalconf
  • 49 imports
  • · 261 stars
Persist flag values into an ini file
github.com/simonleung8/flags/flag
  • 77 imports
  • · 4 stars
github.com/droundy/goopt
  • 46 imports
  • · 69 stars
getopt-like flags package for golang,
github.com/ncw/rclone/fs/config/flags
  • 39 imports
  • · 8386 stars
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
github.com/artpar/rclone/fs/config
  • 37 imports
  • · fork
  • · 2 stars
Package config reads, writes and edits the config file and deals with command line flags
go.chromium.org/luci/auth/client/authcli
  • 37 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.
github.com/palantir/pkg/cli/flag
  • 41 imports
  • · 22 stars
github.com/turbinelabs/nonstdlib/flag
  • 26 imports
  • · 2 stars
Package flag provides convenience methods for dealing with golang flag.FlagSets
github.com/gonuts/commander
  • 25 imports
  • · 60 stars
commander helps creating command line programs whose arguments are flags, commands and subcommands.
github.com/conformal/go-flags
  • 37 imports
  • · fork
  • · 3 stars
Package flags provides an extensive command line option parser.
github.com/​openshift/​origin/​pkg/​cmd/​util/​flags
  • 34 imports
  • · 4036 stars
github.com/gonuts/flag
  • 24 imports
  • · fork
  • · 3 stars
Package flag implements command-line flag parsing.
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.
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.
code.cloudfoundry.org/cli/command/flag
  • 21 imports
  • · 1072 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/mitchellh/packer/helper/flag-slice
  • 34 imports
  • · 5526 stars
github.com/mitchellh/packer/helper/flag-kv
  • 34 imports
  • · 5526 stars
github.com/juju/govmomi/govc/flags
  • 22 imports
  • · fork
github.com/kabukky/journey/flags
  • 21 imports
  • · 1553 stars
github.com/anacrolix/tagflag
  • 16 imports
  • · 3 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/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/​GoogleCloudPlatform/​kubernetes/​pkg/​version/​verflag
  • 15 imports
  • · 34732 stars
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
gopkg.in/hlandau/easyconfig.v1/cflag
  • 14 imports
Package cflag provides a flag-like means of declaring configurables.
github.com/leveros/leveros/config
  • 14 imports
  • · 824 stars
Package config provides configuration flags.
github.com/​aws/​amazon-ecs-cli/​ecs-cli/​modules/​commands/​flags
  • 18 imports
  • · 908 stars
github.com/fiorix/go-diameter/diam/avp
  • 14 imports
  • · 99 stars
Package avp provides Diameter AVP constants and flags.
k8s.io/kubernetes/pkg/kubeapiserver/options
  • 14 imports
  • · 38516 stars
Package options contains flags and options for initializing kube-apiserver
github.com/coreos/rkt/rkt/flag
  • 16 imports
  • · 7768 stars
github.com/richardlehane/siegfried/pkg/config
  • 13 imports
  • · 54 stars
Package config sets up defaults used by both the SF and roy tools Config options can be overridden with build flags e.g.
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
  • · 50 stars
Package securityflag implements utilities for creating security objects based on flags.
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/Luzifer/rconfig
  • 11 imports
  • · 3 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/smira/commander
  • 11 imports
  • · fork
commander helps creating command line programs whose arguments are flags, commands and subcommands.
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
hawx.me/code/hadfield
  • 10 imports
  • · 5 stars
Package hadfield implements a basic subcommand system to complement the flag package.
go.chromium.org/luci/common/flag/flagenum
  • 11 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/sensu/sensu-go/cli/commands/flags
  • 13 imports
  • · 118 stars
github.com/adobe-platform/porter/daemon/flags
  • 10 imports
  • · 43 stars
github.com/jaegertracing/jaeger/pkg/metrics
  • 10 imports
  • · 4802 stars
Package metrics provides command line flags for configuring the metrics backend.
github.com/coldbrewcloud/coldbrew-cli/flags
  • 10 imports
  • · 42 stars
github.com/facebookgo/flagenv
  • 8 imports
  • · 89 stars
Package flagenv provides the ability to populate flags from environment variables.
github.com/gohugoio/hugo/commands
  • 8 imports
  • · 27275 stars
Package commands defines and implements command-line commands and flags used by Hugo.
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/ncw/rclone/vfs/vfsflags
  • 8 imports
  • · 9300 stars
Package vfsflags implements command line flags to set up a vfs
github.com/nyaxt/otaru/flags
  • 9 imports
  • · 13 stars
go.chromium.org/​luci/​common/​flag/​stringlistflag
  • 8 imports
Package stringlistflag provides a flag.Value implementation which resolves multiple args into a []string.
github.com/artpar/rclone/fs/config/flags
  • 8 imports
  • · fork
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
go.chromium.org/​luci/​common/​flag/​stringmapflag
  • 8 imports
Package stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
github.com/artyom/autoflags
  • 7 imports
  • · 13 stars
Package autoflags provides a convenient way of exposing struct fields as command line flags.
bitbucket.org/telesto/goblin/flag
  • 7 imports
Package flag implements getopt-like command line parsing.
github.com/fossas/fossa-cli/cmd/fossa/flags
  • 8 imports
  • · 500 stars
github.com/turbinelabs/codec
  • 6 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/getgauge/mflag
  • 6 imports
Package flag implements command-line flag parsing.
github.com/chzyer/flagx
  • 7 imports
  • · 1 stars
flagx is a struct-bindding wrap for golang flag library
github.com/redneckbeard/quimby
  • 7 imports
  • · 9 stars
Multiple commands with their own flags under the same Go executable.
sourcegraph.com/sourcegraph/go-flags
  • 8 imports
  • · fork
  • · 1 stars
Package flags provides an extensive command line option parser.
github.com/300brand/go-toml-config
  • 8 imports
  • · fork
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/hashicorp/vault/helper/flag-kv
  • 10 imports
  • · 8913 stars
github.com/gravitational/teleport/lib/config
  • 6 imports
  • · 6220 stars
Package 'config' provides facilities for configuring Teleport daemons including - parsing YAML configuration - parsing CLI flags
github.com/​northwesternmutual/​kanali/​pkg/​flags
  • 7 imports
  • · 166 stars
github.com/​projectatomic/​atomic-enterprise/​pkg/​cmd/​flagtypes
  • 6 imports
  • · 17 stars
Package flagtypes provides types that implement the pflags.Value interface for converting command line flags to objects.
github.com/mediocregopher/flagconfig
  • 6 imports
  • · 2 stars
A go library with similar syntax as flag for reading in parameters from either the command-line or a configuration file