Top 0.3% dependent packages on proxy.golang.org
Top 0.2% dependent repos on proxy.golang.org
Top 5.2% forks on proxy.golang.org
Top 0.4% docker downloads on proxy.golang.org
proxy.golang.org : github.com/pborman/getopt
Package getopt (v1) provides traditional getopt processing for implementing commands that use traditional command lines. The standard Go flag package cannot be used to write a program that parses flags the way ls or ssh does, for example. A new version of this package (v2) (whose package name is also getopt) is available as: Getopt supports functionality found in both the standard BSD getopt as well as (one of the many versions of) the GNU getopt_long. Being a Go package, this package makes common usage easy, but still enables more controlled usage if needed. Typical usage: If you don't want the program to exit on error, use getopt.Getopt: Support is provided for both short (-f) and long (--flag) options. A single option may have both a short and a long name. Each option may be a flag or a value. A value takes an argument. Declaring no long names causes this package to process arguments like the traditional BSD getopt. Short flags may be combined into a single parameter. For example, "-a -b -c" may also be expressed "-abc". Long flags must stand on their own "--alpha --beta" Values require an argument. For short options the argument may either be immediately following the short name or as the next argument. Only one short value may be combined with short flags in a single argument; the short value must be after all short flags. For example, if f is a flag and v is a value, then: For the long value option val: Values with an optional value only set the value if the value is part of the same argument. In any event, the option count is increased and the option is marked as seen. There is no convience function defined for making the value optional. The SetOptional method must be called on the actual Option. Parsing continues until the first non-option or "--" is encountered. The short name "-" can be used, but it either is specified as "-" or as part of a group of options, for example "-f-". If there are no long options specified then "--f" could also be used. If "-" is not declared as an option then the single "-" will also terminate the option processing but unlike "--", the "-" will be part of the remaining arguments. Normally the parsing is performed by calling the Parse function. If it is important to see the order of the options then the Getopt function should be used. The standard Parse function does the equivalent of: When calling Getopt it is the responsibility of the caller to print any errors. Normally the default option set, CommandLine, is used. Other option sets may be created with New. After parsing, the sets Args will contain the non-option arguments. If an error is encountered then Args will begin with argument that caused the error. It is valid to call a set's Parse a second time to amend the current set of flags or values. As an example: If called with set to { "prog", "-a", "cmd", "-b", "arg" } then both and and b would be set, cmd would be set to "cmd", and opts.Args() would return { "arg" }. Unless an option type explicitly prohibits it, an option may appear more than once in the arguments. The last value provided to the option is the value. For each option type there are an unfortunately large number of ways, 8, to initialize the option. This number is derived from three attributes: The first two variations provide 4 signature: Foo can actually be expressed in terms of FooLong: Normally Foo is used, unless long options are needed. Setting short to 0 creates only a long option. The difference bentween Foo and FooVar is that you pass a pointer, p, to the location of the value to FooVar. The default value is simply *p. The initial value of *p is the defaut value of the option. Foo is actually a wrapper around FooVar: The third variation provides a top-level function and a method on a Set: The top-level function is simply: To simplfy documentation, typically only the main top-level function is fully documented. The others will have documentation when there is something special about them. All non-flag options are created with a "valuehelp" as the last parameter. Valuehelp should be 0, 1, or 2 strings. The first string, if provided, is the usage message for the option. If the second string, if provided, is the name to use for the value when displaying the usage. If not provided the term "value" is assumed. The usage message for the option created with is is
Registry
-
Source
- Documentation
- JSON
- codemeta.json
purl: pkg:golang/github.com/pborman/getopt
Keywords:
getopt
, go
License: BSD-3-Clause
Latest release: about 5 years ago
First release: over 5 years ago
Namespace: github.com/pborman
Dependent packages: 261
Dependent repositories: 2,649
Stars: 113 on GitHub
Forks: 17 on GitHub
Docker dependents: 25
Docker downloads: 18,513,040
See more repository details: repos.ecosyste.ms
Last synced: 22 days ago
github.com/common-fate/smimesign v0.2.0
An S/MIME signing utility for use with Git7 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/sf-troot/smimesign v0.2.0
An S/MIME signing utility for use with Git7 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/florentchauveau/smimesign v0.2.0
7 versions - Latest release: about 4 years agogithub.com/inloco/smimesign v0.2.0
An S/MIME signing utility for use with Git7 versions - Latest release: about 4 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/brexhq/smimesign v0.2.0
An S/MIME signing utility for use with Git7 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/wlynch/smimesign v0.2.0
7 versions - Latest release: about 4 years agogithub.com/ElMostafaIdrassi/smimesign v0.2.0
7 versions - Latest release: about 4 years agogithub.com/elmostafaidrassi/smimesign v0.2.0
7 versions - Latest release: about 4 years agogithub.com/deref/pier v0.0.0-20211004204221-0b2adc6e4f6c
A "clientless" implementation of HTTPie embedded in Go.1 version - Latest release: about 4 years ago - 1 dependent package - 3 stars on GitHub
github.com/pbenner/kmerLr v0.0.0-20210923195029-534bb3c926d3
1 version - Latest release: about 4 years ago - 1 stars on GitHubgithub.com/redislabs-solution-architects/dnstracer v0.1.1
Automated checker of delegates subdomains9 versions - Latest release: about 4 years ago - 7 stars on GitHub
github.com/babbagesoft/colinmarc-hdfs v1.0.0
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...6 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/avakand/tailscale v1.14.0
The easiest, most secure way to use WireGuard and 2FA.51 versions - Latest release: about 4 years ago - 0 stars on GitHub
github.com/hu177/hdfs/v2 v2.3.0 removed
5 versions - Latest release: over 4 years agogitee.com/guapian/goyang v0.2.8
Program yang parses YANG files, displays errors, and possibly writes something related to the inp...10 versions - Latest release: over 4 years ago
github.com/tokiwong/helm-switcher v0.0.6
CLI tool to help install and switch between versions of Helm for Kubernetes6 versions - Latest release: over 4 years ago - 43 stars on GitHub
github.com/lucasdc6/internet-topology v0.0.0-20210701205624-4af14484ca58
Generate the internet's topology starting from a specific AS. Examples: For full documentation,...2 versions - Latest release: over 4 years ago - 4 stars on GitHub
github.com/opensentry/idp v0.0.0-20210624080456-976a764909a8
Identity Provider Backend1 version - Latest release: over 4 years ago - 2 dependent packages - 3 dependent repositories - 2 stars on GitHub
github.com/opensentry/aapui v0.0.0-20210622120459-3cd25b98dfa6
Access and Authorization Provider Frontend1 version - Latest release: over 4 years ago - 0 stars on GitHub
github.com/roflcopter4/x4c-go v0.0.0-20210618030741-b029ae567c3d
1 version - Latest release: over 4 years ago - 1 stars on GitHubgithub.com/nojima/httpie-go v0.7.0
httpie-like HTTP client written in Go6 versions - Latest release: over 4 years ago - 5 dependent packages - 3 dependent repositories - 270 stars on GitHub
github.com/deref/httpie-go v0.7.0
httpie-like HTTP client written in Go6 versions - Latest release: over 4 years ago - 0 stars on GitHub
github.com/opensentry/aap v0.0.0-20210527063513-53608c784837
Access and Authorization Provider Backend1 version - Latest release: over 4 years ago - 3 dependent packages - 4 dependent repositories - 2 stars on GitHub
github.com/nonoo/kappanhang v0.0.0-20210526200210-66f2369efcdd
Remotely open audio channels and a serial port to an Icom RS-BA1 server (for ex. Icom IC-705 tran...1 version - Latest release: over 4 years ago - 116 stars on GitHub
github.com/opensentry/meui v0.0.0-20210524194930-cf5a29663129
Application Frontend using IDP and AAP backends1 version - Latest release: over 4 years ago - 0 stars on GitHub
github.com/opensentry/idpui v0.0.0-20210524194624-93a261a0a80c
Identity Provider Frontend1 version - Latest release: over 4 years ago - 1 dependent package - 1 dependent repositories - 1 stars on GitHub
github.com/kpherox/masto-emoji-pack v1.0.1
2 versions - Latest release: over 4 years agogithub.com/kphrx/masto-emoji-pack v1.0.1 💰
Emoji downloader for Mastodon/Pleroma, And generate Pleroma's emoji packs2 versions - Latest release: over 4 years ago - 11 stars on GitHub
github.com/aristanetworks/hdfs/v2 v2.0.0
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...2 versions - Latest release: over 4 years ago - 1 stars on GitHub
github.com/chronosphereio/high-cardinality-analyzer v0.0.0-20210407201708-ae5373c9a827
1 version - Latest release: over 4 years ago - 36 stars on GitHubgithub.com/jenarlion/tailscale v1.6.0
The easiest, most secure way to use WireGuard and 2FA.33 versions - Latest release: over 4 years ago - 0 stars on GitHub
github.com/layer-devops/wrap.sh/src/wrap v0.0.0-20210203012548-85ff7777f3be
Powerful tools for running your CI tests1 version - Latest release: almost 5 years ago - 5 stars on GitHub
github.com/nikhil-salgaonkar/hdfs/v2 v2.2.0
A native go client for HDFS4 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/mrtvfuencxozd/hdfs/v2 v2.2.0
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...6 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/lingsamuel/hdfs/v2 v2.2.0
A native go client for HDFS5 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/dotzero/hdfs/v2 v2.2.0
4 versions - Latest release: almost 5 years agogithub.com/sconover/m3 v1.1.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...82 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/tithomas1/goyang v0.2.4
Program yang parses YANG files, displays errors, and possibly writes something related to the inp...6 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/nights99/goyang v0.2.4
YANG parser and compiler to produce Go language objects6 versions - Latest release: almost 5 years ago - 0 stars on GitHub
github.com/li9270/config-models v0.6.21 removed
22 versions - Latest release: almost 5 years agogithub.com/crunchydata/pg_featureserv v1.2.0 removed
4 versions - Latest release: almost 5 years agogithub.com/pbenner/autodiff v1.0.3
-*- mode: go; -*- * * Copyright (C) 2015-2020 Philipp Benner * * This program is free software: y...5 versions - Latest release: about 5 years ago - 5 dependent packages - 4 dependent repositories - 55 stars on GitHub
github.com/liguozhong/m3 v1.0.0
M3 monorepo - Distributed TSDB, Aggregator and Query Engine, Prometheus Sidecar, Graphite Compati...78 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/charmixer/idp v0.0.0-20201102183755-752b6b7e9e6f
Identity Provider Backend1 version - Latest release: about 5 years ago - 2 stars on GitHub
github.com/codacy/helm-poll v0.0.0-20201028170359-bc0dda24a764
An Helm plugin to poll for a release status.1 version - Latest release: about 5 years ago - 2 stars on GitHub
github.com/highkay/libstix2 v0.6.8
Package libstix2 implements an API for generating STIX 2 JSON based messages with the Go (Golang)...9 versions - Latest release: about 5 years ago - 0 stars on GitHub
github.com/wxj95/libstix2 v0.6.4
Package libstix2 implements an API for generating STIX 2 JSON based messages with the Go (Golang)...5 versions - Latest release: about 5 years ago
github.com/ibraimgm/bfi v0.0.0-20201023002017-eb484467df62
BFI - Brainf*ck interpreter in Go1 version - Latest release: about 5 years ago - 0 stars on GitHub
github.com/idefixcert/goyang v0.2.1
3 versions - Latest release: about 5 years agogithub.com/adithyabhatkajake/libsynchs v0.0.0-20201002020609-f6cbd7c4b425
1 version - Latest release: about 5 years ago - 0 stars on GitHubgithub.com/apenwarr/git-subtrac v0.0.0-20200907023842-6f55d3a89654
Keep the content for your git submodules all in one place: the parent repo.1 version - Latest release: about 5 years ago - 370 stars on GitHub
github.com/yoavamit/smimesign v0.1.0
An S/MIME signing utility for use with Git3 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/omakoto/raspberry-switch-control/nscontroller v0.0.0-20200807195733-0ae44e5c715d
Emulate Nintendo Switch USB Controller with Raspberry Pi1 version - Latest release: over 5 years ago - 10 stars on GitHub
github.com/pedrogameiro/gomock v0.0.0-20200806153745-16700a016752
gomock generates method stubs for implementing an interface.1 version - Latest release: over 5 years ago - 3 stars on GitHub
github.com/valpackett/tailscale v1.1.0
8 versions - Latest release: over 5 years agogithub.com/pbenner/classifierPerformance v0.0.0-20200729220529-e12cd93a21e7
Program to compute performance measures from predictions of a classifier1 version - Latest release: over 5 years ago - 0 stars on GitHub
github.com/pbenner/ngstat v0.0.0-20200729220257-6817af980279
1 version - Latest release: over 5 years ago - 1 dependent package - 1 dependent repositories - 0 stars on GitHubgithub.com/wildberries-ru/go-curl-formatter v0.0.0-20200722004346-a047f6c7b56a
simple service for formatting JSON from curl's response1 version - Latest release: over 5 years ago - 2 stars on GitHub
github.com/frankegoesdown/gcrequest v0.0.2
a simple service for formatting JSON from curl's response2 versions - Latest release: over 5 years ago - 1 stars on GitHub
github.com/zxexz/hdfs/v2 v2.1.4
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...6 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/dacut/kinesis-log-streamer v0.1.0 💰
Stream logs from stdin to Kinesis1 version - Latest release: over 5 years ago - 0 stars on GitHub
github.com/flyx/tbc v0.0.0-20200603134517-d4ef9c17c29b
1 version - Latest release: over 5 years agogithub.com/keepv1/hdfs v0.0.0-20200511121742-10dc23001ded
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...1 version - Latest release: over 5 years ago
github.com/nixys/nxs-build-tools v1.1.0
Tools to create deb and rpm packages for your projects5 versions - Latest release: over 5 years ago - 14 stars on GitHub
github.com/ipfs-shipyard/DAGger v0.0.0-20200505154151-1e43bc650cf7
🗡️ - an elegant slicer for a more civilized age1 version - Latest release: over 5 years ago - 8 stars on GitHub
github.com/questscreen/questscreen v0.1.0
dynamic screen for pen & paper sessions2 versions - Latest release: over 5 years ago - 2 stars on GitHub
github.com/QuestScreen/Questscreen v0.1.0
dynamic screen for pen & paper sessions2 versions - Latest release: over 5 years ago - 2 stars on GitHub
github.com/QuestScreen/QuestScreen v0.1.0
dynamic screen for pen & paper sessions2 versions - Latest release: over 5 years ago - 2 stars on GitHub
github.com/ttd2089/pocket v0.1.59
8 versions - Latest release: over 5 years ago - 0 stars on GitHubgithub.com/martinweise/probe-engine v0.10.0
Go engine for probe-cli, probe-android, probe-ios11 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/j4ns8i/hdfs/v2 v2.2.0
A native go client for HDFS4 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/saltsa/tailscale v0.96.1
1 version - Latest release: over 5 years agogithub.com/eliasnaur/tailscale v0.96.1 removed
1 version - Latest release: over 5 years agogithub.com/andrewdrummond/libstix2 v0.6.2
Package libstix2 implements an API for generating STIX 2 JSON based messages with the Go (Golang)...3 versions - Latest release: over 5 years ago - 0 stars on GitHub
github.com/bitcynth/pkcs11smimesign v0.0.0-20200115233144-f05c0378a561
1 version - Latest release: almost 6 years ago - 1 stars on GitHubgithub.com/Dumbeldor/gorest v0.0.1 removed
1 version - Latest release: almost 6 years ago - 1 dependent repositoriesgithub.com/dumbeldor/gorest v0.0.1
Small framework to create micro services for Tilted Phoques1 version - Latest release: almost 6 years ago - 1 stars on GitHub
github.com/stubey/hdfs/v2 v2.1.2
A native go client for HDFS5 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/luohao/hdfs/v2 v2.1.1
A native go client for HDFS5 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/jlisickigog/hdfs/v2 v2.1.1
A native go client for HDFS5 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/zeroshade/hdfs/v2 v2.1.1 removed
3 versions - Latest release: almost 6 years agogithub.com/y-tag/hdfs/v2 v2.1.1
A native go client for HDFS3 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/reborn-go/hdfs/v2 v2.1.1
A native go client for HDFS3 versions - Latest release: almost 6 years ago - 1 stars on GitHub
github.com/Xuanwo/hdfs/v2 v2.1.1 💰
A native go client for HDFS3 versions - Latest release: almost 6 years ago - 1 dependent repositories - 0 stars on GitHub
github.com/urykhy/hdfs/v2 v2.1.1
A native go client for HDFS3 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/ivandeex/hdfs/v2 v2.1.1
3 versions - Latest release: almost 6 years agogithub.com/xuanwo/hdfs/v2 v2.1.1 💰
A native go client for HDFS3 versions - Latest release: almost 6 years ago - 0 stars on GitHub
github.com/styczynski/octosql.py v0.3.0 💰
Octosql bindings for Python3 versions - Latest release: about 6 years ago - 3 stars on GitHub
github.com/coquebg/hdfs/v2 v2.1.0
2 versions - Latest release: about 6 years agogithub.com/yanchong/gohdfs v0.0.0-20190828030534-42f5cde96f80
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...1 version - Latest release: about 6 years ago - 5 stars on GitHub
github.com/tetratom/cftool v1.2.0
cftool is an utility for working with CloudFormation on the command line7 versions - Latest release: over 6 years ago - 3 stars on GitHub
github.com/minio/hdfs/v3 v3.0.1
Package hdfs provides a native, idiomatic interface to HDFS. Where possible, it mimics the functi...2 versions - Latest release: over 6 years ago - 17 dependent packages - 53 dependent repositories
github.com/FrankieFinancial/go-unique v1.0.0
1 version - Latest release: over 6 years agogithub.com/frankiefinancial/go-unique v1.0.0
1 version - Latest release: over 6 years agogithub.com/T-J-L/ulid/v2 v2.0.2
2 versions - Latest release: over 6 years agogithub.com/mrgleeco/ulid/v2 v2.0.2
Universally Unique Lexicographically Sortable Identifier (ULID) in Go3 versions - Latest release: over 6 years ago - 0 stars on GitHub
github.com/pragmaticivan/ulid/v2 v2.0.2
Universally Unique Lexicographically Sortable Identifier (ULID) in Go3 versions - Latest release: over 6 years ago - 0 stars on GitHub
github.com/t-j-l/ulid/v2 v2.0.2
2 versions - Latest release: over 6 years agogithub.com/bitcynth/smimesign v0.0.13 removed
1 version - Latest release: over 6 years agogithub.phpd.cn/dkorunic/mediascore v0.1.1
1 version - Latest release: over 6 years agoCheck this option to include packages that no longer depend on this package in their latest version but previously did.