Try this search on Go-Search or GitHub.

PathSynopsis
flag
  • 83904 imports
Package flag implements command-line flag parsing.
github.com/spf13/pflag
  • 11312 imports
  • · fork
  • · 1234 stars
Package pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
k8s.io/client-go/tools/clientcmd
  • 2674 imports
  • · 3557 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/hashicorp/consul/command/flags
  • 1865 imports
  • · 19703 stars
github.com/jessevdk/go-flags
  • 2207 imports
  • · 1737 stars
Package flags provides an extensive command line option parser.
github.com/vmware/govmomi/govc/flags
  • 1171 imports
  • · 1341 stars
launchpad.net/gnuflag
  • 571 imports
Package flag implements command-line flag parsing in the GNU style.
github.com/juju/gnuflag
  • 569 imports
  • · 7 stars
Package flag implements command-line flag parsing in the GNU style.
github.com/ogier/pflag
  • 536 imports
  • · 392 stars
pflag is a drop-in replacement for Go's flag package, implementing POSIX/​GNU-style --flags.
github.com/coreos/etcd/pkg/flags
  • 605 imports
  • · 30926 stars
Package flags implements command-line flag parsing.
github.com/juju/utils/featureflag
  • 546 imports
  • · 163 stars
The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined.
k8s.io/cli-runtime/pkg/genericclioptions
  • 472 imports
  • · 112 stars
Package genericclioptions contains flags which can be added to you command, bound, completed, and produce useful helper functions.
github.com/juju/juju/feature
  • 391 imports
  • · 1710 stars
Package feature package defines the names of the current feature flags.
k8s.io/apiserver/pkg/server/options
  • 384 imports
  • · 279 stars
package options is the public flags and options used by a generic api server.
k8s.io/kubernetes/pkg/util/flag
  • 511 imports
  • · 65358 stars
github.com/spf13/hugo/commands
  • 259 imports
  • · 46696 stars
Package commands defines and implements command-line commands and flags used by Hugo.
github.com/namsral/flag
  • 174 imports
  • · 236 stars
Package flag implements command-line flag parsing.
github.com/drone/config
  • 214 imports
  • · 26 stars
[DEPRECATED] Flag, Env and Toml configuration for Go projects
k8s.io/component-base/cli/flag
  • 234 imports
  • · 38 stars
code.cloudfoundry.org/cli/cf/flags
  • 207 imports
  • · 967 stars
github.com/mreiferson/go-options
  • 242 imports
  • · 52 stars
options resolves configuration values set via command line flags, config files, and default struct values
github.com/rclone/rclone/fs/config/flags
  • 151 imports
  • · 16481 stars
Package flags contains enhanced versions of spf13/​pflag flag routines which will read from the environment also.
k8s.io/​kubernetes/​cmd/​kube-apiserver/​app/​options
  • 146 imports
  • · 69654 stars
Package options contains flags and options for initializing an apiserver
github.com/ctdk/goiardi/config
  • 125 imports
  • · 264 stars
Package config parses command line flags and config files, and defines options used elsewhere in goiardi.
github.com/rclone/rclone/fs/config
  • 127 imports
  • · 23066 stars
Package config reads, writes and edits the config file and deals with command line flags
k8s.io/​kubernetes/​cmd/​kube-controller-manager/​app/​options
  • 137 imports
  • · 70140 stars
Package options provides the flags used for the controller manager.
k8s.io/gengo/args
  • 111 imports
  • · 239 stars
Package args has common command-line flags for generation programs.
github.com/ncw/rclone/fs/config
  • 110 imports
  • · 23021 stars
Package config reads, writes and edits the config file and deals with command line flags
github.com/simonleung8/flags
  • 117 imports
  • · 4 stars
Improved command-line flag parsing for Go lang
github.com/droundy/goopt
  • 109 imports
  • · 69 stars
getopt-like flags package for golang,
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/cosmos/cosmos-sdk/client/flags
  • 107 imports
  • · 1852 stars
go.etcd.io/etcd/pkg/flags
  • 76 imports
  • · 30875 stars
Package flags implements command-line flag parsing.
github.com/cosmos/cosmos-sdk/version
  • 69 imports
  • · 1773 stars
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
go.chromium.org/luci/auth/client/authcli
  • 69 imports
Package authcli implements authentication related flags parsing and CLI subcommands.
github.com/elastic/go-ucfg/flag
  • 77 imports
  • · 55 stars
github.com/​oasisprotocol/​oasis-core/​go/​oasis-node/​cmd/​common/​flags
  • 67 imports
  • · 81 stars
Package flags implements common flags used across multiple commands and backends.
github.com/btcsuite/go-flags
  • 83 imports
  • · fork
  • · 2 stars
Package flags provides an extensive command line option parser.
github.com/cloudfoundry/cli/cf/flags
  • 68 imports
  • · 982 stars
github.com/concourse/flag
  • 60 imports
flag types for use with jessevdk/go-flags
github.com/rakyll/globalconf
  • 60 imports
  • · 274 stars
Persist flag values into an ini file
github.com/ianschenck/envflag
  • 46 imports
  • · 7 stars
Package envflag adds environment variable flags to the flag package.
github.com/gohugoio/hugo/commands
  • 47 imports
  • · 46619 stars
Package commands defines and implements command-line commands and flags used by Hugo.
github.com/ncw/rclone/fs/config/flags
  • 45 imports
  • · 16527 stars
Package flags contains enhanced versions of spf13/​pflag flag routines which will read from the environment also.
github.com/artpar/rclone/fs/config
  • 43 imports
  • · fork
  • · 4 stars
Package config reads, writes and edits the config file and deals with command line flags
code.cloudfoundry.org/cli/command/flag
  • 42 imports
  • · 1435 stars
Package flag should not be imported by external consumers.
github.com/simonleung8/flags/flag
  • 77 imports
  • · 4 stars
github.com/docker/cli/cli/flags
  • 49 imports
  • · 2276 stars
github.com/rclone/rclone/vfs/vfsflags
  • 39 imports
  • · 21103 stars
Package vfsflags implements command line flags to set up a vfs
github.com/mitchellh/packer/helper/flag-slice
  • 64 imports
  • · 5526 stars
github.com/mitchellh/packer/helper/flag-kv
  • 64 imports
  • · 10039 stars
github.com/artpar/rclone/fs/config/flags
  • 34 imports
  • · fork
  • · 4 stars
Package flags contains enhanced versions of spf13/​pflag flag routines which will read from the environment also.
gopkg.in/hlandau/easyconfig.v1/cflag
  • 31 imports
Package cflag provides a flag-like means of declaring configurables.
k8s.io/component-base/version/verflag
  • 32 imports
  • · 33 stars
Package verflag defines utility functions to handle command line flags related to version of Kubernetes.
k8s.io/kubernetes/cmd/kubeadm/app/cmd/options
  • 35 imports
  • · 68057 stars
Package options provide a central point for defining flags for kubeadm cobra commands, no matter if hard coded commands or autogenerated command for phases.
github.com/ncw/rclone/vfs/vfsflags
  • 30 imports
  • · 22742 stars
Package vfsflags implements command line flags to set up a vfs
vitess.io/vitess/go/flagutil
  • 29 imports
  • · 8790 stars
Package flagutil contains flags that parse string lists and string maps.
k8s.io/kubernetes/pkg/kubeapiserver/options
  • 29 imports
  • · 70093 stars
Package options contains flags and options for initializing kube-apiserver
github.com/as/mute
  • 31 imports
(Deprecated) package to silence Go flag package's error messages
github.com/hortonworks/cb-cli/dataplane/flags
  • 33 imports
  • · 13 stars
github.com/turbinelabs/nonstdlib/flag
  • 26 imports
  • · 2 stars
Package flag provides convenience methods for dealing with golang flag.FlagSets
leb.io/hrff
  • 25 imports
  • · 2 stars
Package hrff (Human Readbale Flags and Formatting) Allows command line arguments like % dd bs=1Mi Provides SI unit formatting via %h and %H format characters Defines two news types, Int64 and Float64 which provide methods for flags to accept these kind of args
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.
upspin.io/flags
  • 25 imports
Package flags defines command-line flags to make them consistent between binaries.
github.com/gonuts/flag
  • 24 imports
  • · fork
  • · 3 stars
Package flag implements command-line flag parsing.
github.com/artyom/autoflags
  • 24 imports
  • · 21 stars
Package autoflags provides a convenient way of exposing struct fields as command line flags.
github.com/​aws/​amazon-ecs-cli/​ecs-cli/​modules/​commands/​flags
  • 32 imports
  • · 1444 stars
github.com/m-lab/go/flagx
  • 23 imports
  • · 1 stars
Package flagx extends to capabilities of flags to also be able to read from environment variables.
github.com/anacrolix/tagflag
  • 22 imports
  • · 6 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/giantswarm/gsctl/flags
  • 27 imports
  • · 11 stars
github.com/youtube/vitess/go/flagutil
  • 23 imports
  • · 8984 stars
Package flagutil contains flags that parse string lists and string maps.
github.com/Luzifer/rconfig
  • 21 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/kabukky/journey/flags
  • 25 imports
  • · 1553 stars
github.com/purpledb/purple
  • 24 imports
  • · 91 stars
An all-in-one data service (caching + K/​V + flags + counters + sets) for microservices and FaaS functions.
github.com/stellar/go/support/app
  • 21 imports
  • · 1 stars
Package app provides vars that can be populated via "-X" linker flags to provide global application metadata, such as build time or version.
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/devspace-cloud/devspace/cmd/flags
  • 24 imports
  • · 1288 stars
github.com/peterbourgon/ff
  • 18 imports
  • · 641 stars
Package ff is a flags-first helper package for configuring programs.
github.com/integrii/flaggy
  • 18 imports
  • · 667 stars
Package flaggy is a input flag parsing package that supports recursive subcommands, positional values, and any-position flags without unnecessary complexeties.
github.com/juju/featureflag
  • 18 imports
The featureflag package gives other parts of Juju the ability to easily check to see if a feature flag has been defined.
github.com/carlmjohnson/flagext
  • 18 imports
  • · 1 stars
Package flagext implements extensions to the standard flag package in the form of types that implement flag.Value
k8s.io/ingress-gce/pkg/flags
  • 23 imports
  • · 909 stars
github.com/thought-machine/please/src/cli
  • 19 imports
  • · 1077 stars
Package cli contains helper functions related to flag parsing and logging.
github.com/juju/govmomi/govc/flags
  • 22 imports
  • · fork
v.io/x/ref/lib/security/securityflag
  • 19 imports
  • · 69 stars
Package securityflag implements utilities for creating security objects based on flags.
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).
v.io/x/ref/lib/flags
  • 18 imports
  • · 69 stars
Package flags implements utilities to augment the standard Go flag package.
github.com/KiraCore/cosmos-sdk/version
  • 16 imports
  • · fork
Package version is a convenience utility that provides SDK consumers with a ready-to-use version command that produces apps versioning information based on flags passed at compile time.
go.chromium.org/​luci/​common/​flag/​stringmapflag
  • 17 imports
Package stringmapflag provides a flag.Value that, when parsed, augments a map[string]string with the supplied parameter.
go.chromium.org/luci/common/flag
  • 16 imports
Package flag provides the utilities for implementing command line flags.
github.com/hashicorp/packer/helper/flag-kv
  • 28 imports
  • · 10031 stars
github.com/linkerd/linkerd2/pkg/flags
  • 19 imports
  • · 6030 stars
knative.dev/client/pkg/kn/commands/flags
  • 20 imports
  • · 113 stars
github.com/goki/ki/bitflag
  • 15 imports
  • · 46 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
github.com/prysmaticlabs/prysm/shared/cmd
  • 15 imports
  • · 1205 stars
Package cmd defines the command line flags for the shared utlities.
github.com/richardlehane/siegfried/pkg/config
  • 15 imports
  • · 93 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/jaegertracing/jaeger/cmd/flags
  • 15 imports
  • · 10727 stars
Package flags defines command line flags that are shared by several jaeger components.
github.com/​rclone/​rclone/​cmd/​serve/​proxy/​proxyflags
  • 16 imports
  • · 15363 stars
Package proxyflags implements command line flags to set up a proxy