Try this search on Go-Search or GitHub.

PathSynopsis
flag
  • 51143 imports
Package flag implements command-line flag parsing.
github.com/spf13/pflag
  • 6039 imports
  • · fork
  • · 480 stars
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
k8s.io/client-go/tools/clientcmd
  • 838 imports
  • · 1219 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/jessevdk/go-flags
  • 1218 imports
  • · 1141 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/vmware/govmomi/govc/flags
  • 620 imports
  • · 826 stars
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
  • 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/coreos/etcd/pkg/flags
  • 377 imports
  • · 20350 stars
Package flags implements command-line flag parsing.
github.com/juju/juju/feature
  • 318 imports
  • · 1225 stars
Package feature package defines the names of the current feature flags.
k8s.io/kubernetes/pkg/util/flag
  • 370 imports
  • · 41583 stars
github.com/spf13/hugo/commands
  • 239 imports
  • · 28677 stars
Package commands defines and implements command-line commands and flags used by Hugo.
k8s.io/apiserver/pkg/util/flag
  • 260 imports
  • · 112 stars
github.com/drone/config
  • 214 imports
  • · 26 stars
[DEPRECATED] Flag, Env and Toml configuration for Go projects
k8s.io/apiserver/pkg/server/options
  • 176 imports
  • · 113 stars
package options is the public flags and options used by a generic api server.
github.com/hashicorp/consul/command/flags
  • 211 imports
  • · 13229 stars
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
  • · 225 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
  • 115 imports
  • · 41528 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
k8s.io/​kubernetes/​cmd/​kube-apiserver/​app/​options
  • 105 imports
  • · 40215 stars
Package options contains flags and options for initializing an apiserver
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.
github.com/rakyll/globalconf
  • 98 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
  • · 10620 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.
k8s.io/cli-runtime/pkg/genericclioptions
  • 42 imports
  • · 2 stars
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
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
  • 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.
gopkg.in/hlandau/easyconfig.v1/cflag
  • 31 imports
Package cflag provides a flag-like means of declaring configurables.
github.com/​openshift/​origin/​pkg/​cmd/​util/​flags
  • 38 imports
  • · 5065 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/ncw/rclone/fs/config/flags
  • 27 imports
  • · 10358 stars
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
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.
code.cloudfoundry.org/cli/command/flag
  • 25 imports
  • · 1119 stars
Package flag should not be imported by external consumers.
github.com/artpar/rclone/fs/config
  • 24 imports
  • · fork
  • · 2 stars
Package config reads, writes and edits the config file and deals with command line flags
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/elastic/go-ucfg/flag
  • 25 imports
  • · 41 stars
github.com/theckman/goiardi/config
  • 20 imports
  • · fork
Package config parses command line flags and config files, and defines options used elsewhere in goiardi.
k8s.io/kubernetes/pkg/kubeapiserver/options
  • 21 imports
  • · 41364 stars
Package options contains flags and options for initializing kube-apiserver
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/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/richardlehane/siegfried/pkg/config
  • 15 imports
  • · 63 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/​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/​aws/​amazon-ecs-cli/​ecs-cli/​modules/​commands/​flags
  • 18 imports
  • · 908 stars
github.com/fiorix/go-diameter/diam/avp
  • 14 imports
  • · 100 stars
Package avp provides Diameter AVP constants and flags.
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
  • · 63 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
github.com/ncw/rclone/vfs/vfsflags
  • 12 imports
  • · 10751 stars
Package vfsflags implements command line flags to set up a vfs
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/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
v.io/x/ref/lib/flags
  • 12 imports
  • · 63 stars
Package flags implements utilities to augment the standard Go flag package.
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.
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/concourse/flag
  • 10 imports
flag types for use with jessevdk/go-flags
github.com/prysmaticlabs/prysm/shared/cmd
  • 9 imports
  • · 260 stars
Package cmd defines the command line flags for the shared utlities.
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.
github.com/artpar/rclone/fs/config/flags
  • 9 imports
  • · fork
  • · 2 stars
Package flags contains enahnced versions of spf13/​pflag flag routines which will read from the environment also.
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
  • · 28975 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/nyaxt/otaru/flags
  • 9 imports
  • · 13 stars
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.
github.com/fossas/fossa-cli/cmd/fossa/flags
  • 9 imports
  • · 509 stars
github.com/goki/ki/bitflag
  • 7 imports
  • · 7 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.
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.
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