Ecosyste.ms: Repos
An open API service providing repository metadata for many open source software ecosystems.
Package Usage: go: github.com/ogier/pflag
pflag is a drop-in replacement for Go's flag package, implementing
POSIX/GNU-style --flags.
pflag is compatible with the GNU extensions to the POSIX recommendations
for command-line options. See
http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html
Usage:
pflag is a drop-in replacement of Go's native flag package. If you import
pflag under the name "flag" then all code should continue to function
with no changes.
There is one exception to this: if you directly instantiate the Flag struct
there is one more field "Shorthand" that you will need to set.
Most code never instantiates this struct directly, and instead uses
functions such as String(), BoolVar(), and Var(), and is therefore
unaffected.
Define flags using flag.String(), Bool(), Int(), etc.
This declares an integer flag, -flagname, stored in the pointer ip, with type *int.
If you like, you can bind the flag to a variable using the Var() functions.
Or you can create custom flags that satisfy the Value interface (with
pointer receivers) and couple them to flag parsing by
For such flags, the default value is just the initial value of the variable.
After all flags are defined, call
to parse the command line into the defined flags.
Flags may then be used directly. If you're using the flags themselves,
they are all pointers; if you bind to variables, they're values.
After parsing, the arguments after the flag are available as the
slice flag.Args() or individually as flag.Arg(i).
The arguments are indexed from 0 through flag.NArg()-1.
The pflag package also defines some new functions that are not in flag,
that give one-letter shorthands for flags. You can use these by appending
'P' to the name of any function that defines a flag.
Shorthand letters can be used with single dashes on the command line.
Boolean shorthand flags can be combined with other shorthand flags.
Command line flag syntax:
Unlike the flag package, a single dash before an option means something
different than a double dash. Single dashes signify a series of shorthand
letters for flags. All but the last shorthand letter must be boolean flags.
Flag parsing stops after the terminator "--". Unlike the flag package,
flags can be interspersed with arguments anywhere on the command line
before this terminator.
Integer flags accept 1234, 0664, 0x1234 and may be negative.
Boolean flags (in their long form) accept 1, 0, t, f, true, false,
TRUE, FALSE, True, False.
Duration flags accept any input valid for time.ParseDuration.
The default set of command-line flags is controlled by
top-level functions. The FlagSet type allows one to define
independent sets of flags, such as to implement subcommands
in a command-line interface. The methods of FlagSet are
analogous to the top-level functions for the command-line
flag set.
1 version
Latest release: about 9 years ago
243 dependent packages
View more package details: https://packages.ecosyste.ms/registries/proxy.golang.org/packages/github.com/ogier/pflag
View more repository details: https://repos.ecosyste.ms/hosts/GitHub/repositories/ogier%2Fpflag
Dependent Repos 504
ercole-io/ercole
Proactive Software Asset Management. Backend component- v0.0.1 go.sum
Size: 33.2 MB - Last synced: 27 days ago - Pushed: 27 days ago
pianomanx/navidrome Fork of navidrome/navidrome
๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 37.1 MB - Last synced: 7 months ago - Pushed: 7 months ago
malcolmseyd/natpunch-go
NAT puncher for Wireguard mesh networking.- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 84 KB - Last synced: 11 days ago - Pushed: 8 months ago
vlfldr/navidrome Fork of navidrome/navidrome
๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 37.3 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
infinityworks/101-Sessions
Documentation and support material for IW 101 Sessions- v0.0.1 sessions/GoLang-100/101/4-FizzBuzz/go.mod
- v0.0.1 sessions/GoLang-100/101/5-FizzBuzz/go.mod
- v0.0.1 sessions/GoLang-100/101/6-FizzBuzz/go.mod
- v0.0.1 sessions/GoLang-100/101/7-FizzBuzz/go.mod
Size: 31.6 MB - Last synced: 21 days ago - Pushed: 4 months ago
owenthereal/gh
Fast GitHub command line client (deprecated). gh has been merged into https://github.com/github/hub, see https://github.com/github/hub/issues/475 for more info- fc2d9a0ef658fa4e4c319939fd6f4b6becfccb48 Godeps/Godeps.json
Size: 3.85 MB - Last synced: 7 days ago - Pushed: over 1 year ago
orlandorode97/go-ambassador
- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 8.64 MB - Last synced: about 1 year ago - Pushed: over 2 years ago
snarlysodboxer/sploitinator
Run Metasploit modules against known hosts and ports, notify of vulnerabilities.- e4f7d00f344b0954fa3791a8527d10ba7334eceb Godeps/Godeps.json
Size: 230 KB - Last synced: 21 days ago - Pushed: about 8 years ago
Kushalkhadka7/go-jwt-auth
Authentication module using go and grpc- v0.0.1 go.sum
Size: 137 KB - Last synced: about 1 year ago - Pushed: over 2 years ago
containous/traefik-extra-service-fabric ๐ฆ
Traefik extra: Service Fabric Provider- v0.0.2-0.20160129220114-45c278ab3607 go.mod
- v0.0.2-0.20160129220114-45c278ab3607 go.sum
Size: 20.5 MB - Last synced: 23 days ago - Pushed: over 2 years ago
Avalanche-io/c4
Go package implementation of C4 Asset ID- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 2.19 MB - Last synced: 5 months ago - Pushed: about 1 year ago
andrew-d/demux
Straightforward protocol demultiplexer- e4f7d00f344b0954fa3791a8527d10ba7334eceb Godeps/Godeps.json
Size: 195 KB - Last synced: about 1 month ago - Pushed: over 9 years ago
Ntakuya/go
- v0.0.1 app/go.mod
- v0.0.1 app/go.sum
Size: 54.7 KB - Last synced: about 1 year ago - Pushed: over 2 years ago
rekby/fsextender
Extend filesystems with underliing layers: partitions, lvm on mbr and gpt disks.- v0.0.1 go.mod
Size: 333 KB - Last synced: 10 months ago - Pushed: over 2 years ago
ajaxray/markpdf
Watermark PDF files using image or text- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 38.1 KB - Last synced: 6 months ago - Pushed: 7 months ago
snabb/flixproxy ๐ฆ
Flixproxy - DNS, HTTP and TLS proxy (golang)- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 82 KB - Last synced: 10 months ago - Pushed: about 1 year ago
Depado/goploader
Easy file sharing with server-side encryption, curl/httpie/wget compliant- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 6.27 MB - Last synced: 24 days ago - Pushed: 25 days ago
samber/go-amqp-pubsub
Fault tolerant Pub/Sub library for RabbitMQ- v0.0.1 go.sum
Size: 609 KB - Last synced: 7 days ago - Pushed: about 2 months ago
appbaseio/abc
Power of appbase.io via CLI, with nifty imports from your favorite data sources- v0.0.2-0.20160129220114-45c278ab3607 go.mod
- v0.0.2-0.20160129220114-45c278ab3607 go.sum
Size: 32.7 MB - Last synced: 24 days ago - Pushed: 7 months ago
cespare/reflex
Run a command when files change- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 1.08 MB - Last synced: 4 days ago - Pushed: 6 months ago
ovgu-cs-workshops/cmanager
Container Manager for the users- v0.0.0-20160129220114-45c278ab3607 go.mod
- v0.0.0-20160129220114-45c278ab3607 go.sum
Size: 58.6 KB - Last synced: 9 months ago - Pushed: almost 2 years ago
goraz/onion
Layer based configuration for golang- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 241 KB - Last synced: 24 days ago - Pushed: about 1 year ago
localytics/servicegroup
Painless Go (Golang) HTTP service setup with graceful shutdown, timeouts, and debugging endpoints- v0.0.1 internal/tools/go.sum
Size: 20.5 KB - Last synced: 10 months ago - Pushed: about 2 years ago
ercole-io/ercole-agent
Proactive Software Asset Management. Agent component- v0.0.1 go.sum
Size: 1.34 MB - Last synced: 26 days ago - Pushed: 27 days ago
rhoml/hub Fork of github/hub
hub helps you win at git.- e4f7d00f344b0954fa3791a8527d10ba7334eceb Godeps/Godeps.json
Size: 2.95 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
stesla/evetools
- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 2.98 MB - Last synced: about 1 month ago - Pushed: almost 2 years ago
ogerardin/b2b-go
Attempt to port back2back to Go.- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 1.38 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
elauffenburger/mlcal
- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 102 KB - Last synced: 5 months ago - Pushed: over 1 year ago
bingooo/navidrome Fork of navidrome/navidrome
๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 37.4 MB - Last synced: 9 months ago - Pushed: over 1 year ago
ketiko/hub Fork of mislav/hub
hub helps you win at git.- 32a05c62658bd1d7c7e75cbc8195de5d585fde0f Gopkg.lock
- 0.0.1 Gopkg.toml
Size: 4.78 MB - Last synced: 10 months ago - Pushed: about 1 year ago
awesome-product/goalert Fork of target/goalert
Open source on-call scheduling, automated escalations, and notifications so you never miss a critical alert- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 28.8 MB - Last synced: 22 days ago - Pushed: 22 days ago
kokizzu/goalert Fork of target/goalert
Open source on-call scheduling, automated escalations, and notifications so you never miss a critical alert- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 44.2 MB - Last synced: 1 day ago - Pushed: 1 day ago
motemen/prchecklist
Provides checklists based on release PR- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 14.6 MB - Last synced: 7 days ago - Pushed: 5 months ago
interiorem/stout
External isolation daemon for Cocaine Cloud- 45c278ab3607870051a2ea9040bb85fcb8557481 Godeps/Godeps.json
Size: 5 MB - Last synced: 9 days ago - Pushed: about 3 years ago
Apahadi73/butik2
A Full-stack e-commerce application with multiple frontends and microservices in the backend- v0.0.1 version1/backend/authentication/go.mod
- v0.0.1 version1/backend/authentication/go.sum
Size: 31.6 MB - Last synced: 12 months ago - Pushed: almost 2 years ago
california-energy-commission/Scripts
Deployment, test and linter scripts using GitHub actions.- v0.0.1 deploy/go.mod
- v0.0.1 deploy/go.sum
Size: 37.5 MB - Last synced: about 1 year ago - Pushed: over 1 year ago
owncloud/ocis-wopiserver ๐ฆ
:atom_symbol: ownCloud Infinite Scale WOPI server- v0.0.1 go.sum
Size: 661 KB - Last synced: 24 days ago - Pushed: over 2 years ago
mharshita/navidrome Fork of navidrome/navidrome
๐งโ๏ธ Modern Music Server and Streamer compatible with Subsonic/Airsonic- v0.0.1 go.sum
Size: 30 MB - Last synced: about 1 year ago - Pushed: about 1 year ago
tjmtmmnk/sunaba-blog
้ใณๅ ด- v0.0.1 go.sum
Size: 40 KB - Last synced: 5 months ago - Pushed: 5 months ago
holocm/holo-build
Cross-distribution system package compiler- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 465 KB - Last synced: 18 days ago - Pushed: about 3 years ago
TeamCroffle/weather-scrapper
- v0.0.1 go.sum
Size: 6.84 KB - Last synced: about 1 year ago - Pushed: about 3 years ago
jen20/hashiconf-raft
- 32a05c62658bd1d7c7e75cbc8195de5d585fde0f Gopkg.lock
- 0.0.1 Gopkg.toml
Size: 1.64 MB - Last synced: about 1 year ago - Pushed: over 5 years ago
owncloud/ocis-accounts ๐ฆ
:busts_in_silhouette: Serve Accounts for oCIS- v0.0.1 go.sum
Size: 2.52 MB - Last synced: 24 days ago - Pushed: over 3 years ago
writeameer/checkmirror
Checks is the local SQL server is principal/mirror or none- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 4.95 MB - Last synced: about 1 year ago - Pushed: over 3 years ago
TheYahya/Shrug
Yet another url shortener- v0.0.1 server/go.sum
Size: 2.9 MB - Last synced: about 1 month ago - Pushed: about 1 month ago
fzerorubigd/engine
My base for my web projects- v0.0.1 go.sum
Size: 18.6 MB - Last synced: about 1 year ago - Pushed: over 3 years ago
m0ai/covid19-bot
- v0.0.1 src/go.sum
Size: 95.7 KB - Last synced: about 1 year ago - Pushed: over 3 years ago
aloksingh3112/BookMyMovie
- v0.0.1 backend/go.sum
Size: 978 KB - Last synced: about 1 year ago - Pushed: over 3 years ago
nymtech/nym-metrics-server
A metrics server showing mixnode mixing performance in near-realtime.- v0.0.1 go.sum
Size: 425 KB - Last synced: 9 months ago - Pushed: over 3 years ago
danielmoisa/kanban-app
Backend API in Golang for a kanban board made with React js- v0.0.1 go.sum
Size: 3.49 MB - Last synced: 6 months ago - Pushed: 6 months ago
eldelto/zerberus
- v0.0.1 go.sum
Size: 185 KB - Last synced: about 1 year ago - Pushed: over 3 years ago
iceopen/golang-extend
golang extend- 32a05c62658bd1d7c7e75cbc8195de5d585fde0f demo/raft/hashicorp/Gopkg.lock
- 0.0.1 demo/raft/hashicorp/Gopkg.toml
Size: 25.8 MB - Last synced: 11 months ago - Pushed: over 4 years ago
ashcrow/go-serv
Simple web application server library built upon Go's net/http and doesn't force any framework.- 2e6f5f3f0c40ab9cb459742296f6a2aaab1fd5dc Godeps/Godeps.json
Size: 1.98 MB - Last synced: 10 months ago - Pushed: over 8 years ago
mantl/mesos-consul ๐ฆ
Mesos to Consul bridge for service discovery- 45c278ab3607870051a2ea9040bb85fcb8557481 glide.lock
- * glide.yaml
Size: 223 KB - Last synced: about 15 hours ago - Pushed: about 6 years ago
cassava/hubcount
Tells you how many downloads your GitHub releases have- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 4.88 KB - Last synced: 10 months ago - Pushed: about 3 years ago
ferreiramarcelo/traefik Fork of traefik/traefik
Trรฆfษชk, a modern reverse proxy- 45c278ab3607870051a2ea9040bb85fcb8557481 glide.lock
Size: 6.65 MB - Last synced: 27 days ago - Pushed: about 1 month ago
AlessandroSpallina/SmartFeed
Feed delivery, identity based, architecture for tourism in a smart city - University Project- v0.0.1 identity-node/go.mod
- v0.0.1 identity-node/go.sum
Size: 80.7 MB - Last synced: 21 days ago - Pushed: almost 3 years ago
openhoangnc/MailHog
Web and API based SMTP testing- v0.0.1 go.mod
- v0.0.1 go.sum
Last synced: over 1 year ago
anton-johansson/kertificate ๐ฆ
Kertificate is a PKI management system that allows you to administrate your common authorities and server and client certificates.- v0.0.1 go.mod
- v0.0.1 go.sum
Size: 17.3 MB - Last synced: about 1 year ago - Pushed: over 2 years ago
owncloud/ocis-migration ๐ฆ
:atom_symbol: Migration Service for oCIS- v0.0.1 go.sum
Size: 199 KB - Last synced: 24 days ago - Pushed: almost 3 years ago
heroku/hsup ๐ฆ
Supervises processes that are configured in a Heroku-esque way.- e4f7d00f344b0954fa3791a8527d10ba7334eceb Godeps/Godeps.json
Size: 3.47 MB - Last synced: about 1 month ago - Pushed: over 2 years ago