An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 3.6% on proxy.golang.org
Top 0.7% dependent packages on proxy.golang.org
Top 1.0% dependent repos on proxy.golang.org
Top 6.5% forks on proxy.golang.org

proxy.golang.org : github.com/DavidGamba/go-getoptions

Package getoptions - Go option parser inspired on the flexibility of Perl’s GetOpt::Long. It will operate on any given slice of strings and return the remaining (non used) command line arguments. This allows to easily subcommand. See https://github.com/DavidGamba/go-getoptions for extra documentation details. • Allow passing options and non-options in any order. • Support for `--long` options. • Support for short (`-s`) options with flexible behaviour (see https://github.com/DavidGamba/go-getoptions#operation_modes for details): • `Called()` method indicates if the option was passed on the command line. • Multiple aliases for the same option. e.g. `help`, `man`. • `CalledAs()` method indicates what alias was used to call the option on the command line. • Simple synopsis and option list automated help. • Boolean, String, Int and Float64 type options. • Options with Array arguments. The same option can be used multiple times with different arguments. The list of arguments will be saved into an Array like structure inside the program. • Options with array arguments and multiple entries. For example: `color --rgb 10 20 30 --next-option` • When using integer array options with multiple arguments, positive integer ranges are allowed. For example: `1..3` to indicate `1 2 3`. • Options with key value arguments and multiple entries. • Options with Key Value arguments. This allows the same option to be used multiple times with arguments of key value type. For example: `rpmbuild --define name=myrpm --define version=123`. • Supports passing `--` to stop parsing arguments (everything after will be left in the `remaining []string`). • Supports command line options with '='. For example: You can use `--string=mystring` and `--string mystring`. • Allows passing arguments to options that start with dash `-` when passed after equal. For example: `--string=--hello` and `--int=-123`. • Options with optional arguments. If the default argument is not passed the default is set. For example: You can call `--int 123` which yields `123` or `--int` which yields the given default. • Allows abbreviations when the provided option is not ambiguous. For example: An option called `build` can be called with `--b`, `--bu`, `--bui`, `--buil` and `--build` as long as there is no ambiguity. In the case of ambiguity, the shortest non ambiguous combination is required. • Support for the lonesome dash "-". To indicate, for example, when to read input from STDIO. • Incremental options. Allows the same option to be called multiple times to increment a counter. • Supports case sensitive options. For example, you can use `v` to define `verbose` and `V` to define `Version`. • Support indicating if an option is required and allows overriding default error message. • Errors exposed as public variables to allow overriding them for internationalization. • Supports subcommands (stop parsing arguments when non option is passed). • Multiple ways of managing unknown options: • Require order: Allows for subcommands. Stop parsing arguments when the first non-option is found. When mixed with Pass through, it also stops parsing arguments when the first unmatched option is found. The library will panic if it finds that the programmer (not end user): • Defined the same alias twice. • Defined wrong min and max values for SliceMulti methods.

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/%21david%21gamba/go-getoptions
Keywords: argument-parser , autocomplete , cli , command-line , flag , getopt , golang , hacktoberfest , option-parser
License: MPL-2.0
Latest release: 3 months ago
First release: over 8 years ago
Namespace: github.com/DavidGamba
Dependent packages: 50
Dependent repositories: 28
Stars: 47 on GitHub
Forks: 10 on GitHub
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/DavidGamba
Last synced: 19 days ago

Top 9.0% on proxy.golang.org
github.com/fluciotto/pamixermidicontrol v0.0.4
Control your PulseAudio mixer with MIDI controller(s)
4 versions - Latest release: about 1 year ago - 0 stars on GitHub
Top 6.8% on proxy.golang.org
github.com/picosh/pico v1.13.1
pico services - prose.sh, lists.sh, pastes.sh, imgs.sh, feeds.sh
39 versions - Latest release: over 1 year ago - 68 stars on GitHub
Top 9.3% on proxy.golang.org
github.com/davidgamba/dgtools/mermaid v0.1.0
David Gamba's Toolbox
1 version - Latest release: over 1 year ago - 15 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/ygidtu/NBIA_data_retriever_CLI v1.1.0
command line version of NBIA data retriever
8 versions - Latest release: over 1 year ago - 23 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/ygidtu/nbia_data_retriever_cli v1.1.0
command line version of NBIA data retriever
8 versions - Latest release: over 1 year ago - 23 stars on GitHub
Top 9.7% on proxy.golang.org
github.com/kooroshh/spotifyadblocker v0.0.0-20231206093628-8b1ed262c81a
Simple Proxy Server for Blocking Spotify ads
1 version - Latest release: over 1 year ago - 12 stars on GitHub
Top 7.4% on proxy.golang.org
github.com/DavidGamba/dgtools/clitable v0.4.0 💰
Package clitable provides a tool to view data as a table on the cmdline.
5 versions - Latest release: over 1 year ago - 7 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/davidgamba/dgtools/clitable v0.4.0
David Gamba's Toolbox
5 versions - Latest release: over 1 year ago - 7 stars on GitHub
Top 6.4% on proxy.golang.org
github.com/picosh/send v0.0.0-20231126170453-41432db245e0
ssh wish middleware for sending and receiving files from familiar tools (rsync, scp, sftp)
3 versions - Latest release: over 1 year ago - 2 dependent packages - 2 stars on GitHub
github.com/antoniomika/go-rsync-receiver v0.0.0-20231110145728-c94949e1ab7d
3 versions - Latest release: over 1 year ago - 2 dependent packages - 1 dependent repositories - 0 stars on GitHub
Top 9.6% on proxy.golang.org
github.com/tlhunter/mig v0.4.2
The Universal Database Migration Runner. Distributed as precompiled binaries.
11 versions - Latest release: almost 2 years ago - 15 stars on GitHub
Top 8.6% on proxy.golang.org
github.com/cyverse-de/event-recorder v0.0.0-20230616214344-2d6d355090fd
3 versions - Latest release: about 2 years ago - 0 stars on GitHub
Top 8.6% on proxy.golang.org
github.com/cyverse-de/notifications v0.0.0-20230616204921-72fdf63f67e4
This service provides the RESTful API for the revised notification system.
3 versions - Latest release: about 2 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/DavidGamba/go-wardley v0.3.0
Go Wardley maps generator
2 versions - Latest release: over 2 years ago - 29 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/davidgamba/go-wardley v0.3.0
Go Wardley maps generator
2 versions - Latest release: over 2 years ago - 29 stars on GitHub
Top 7.3% on proxy.golang.org
github.com/DavidGamba/dgtools/yaml-parse v0.3.1 💰
This file is part of dgtools. This Source Code Form is subject to the terms of the Mozilla Publi...
4 versions - Latest release: over 2 years ago - 7 stars on GitHub
Top 7.3% on proxy.golang.org
github.com/davidgamba/dgtools/yaml-parse v0.3.1 💰
David Gamba's Toolbox
4 versions - Latest release: over 2 years ago - 7 stars on GitHub
Top 9.0% on proxy.golang.org
github.com/benedict-pureweb/go-utils v0.4.2
Generic utilities for Golang that don't deserve a repo of their own
7 versions - Latest release: almost 3 years ago - 0 stars on GitHub
Top 4.1% on proxy.golang.org
github.com/davidgamba/dgtools/password-cache v0.1.6 removed
3 versions - Latest release: about 3 years ago
Top 8.2% on proxy.golang.org
github.com/DavidGamba/dgtools/csvtable v0.0.0-20220319053313-2bfe148c30e5
Package csv-table provides a tool to view csv files on the cmdline.
2 versions - Latest release: over 3 years ago - 7 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/stevemeier/geoip-rest v0.0.0-20211226154723-2ecaf91f8a82
A simple REST-API for Maxmind GeoIP database
3 versions - Latest release: over 3 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/taincoin/taincoin v0.0.0-20211201113741-e49ae39c9132
Taincoin is a decentralized blockchain-based security IoT and storage platform, it is to create s...
2 versions - Latest release: over 3 years ago - 0 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/kooroshh/ss-health-check v0.0.0-20211026223845-36dd546d6c29
1 version - Latest release: over 3 years ago - 1 stars on GitHub
Top 9.5% on proxy.golang.org
github.com/fosslinux/vxb v0.0.0-20210928013914-9bf323b269b8
Void Xbps Builder
1 version - Latest release: almost 4 years ago - 2 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/bruli/awssecretexport v0.0.0-20210913065737-27704b5e9f07
1 version - Latest release: almost 4 years ago
Top 5.8% on proxy.golang.org
github.com/raspi/heksa v1.14.0
CLI hex dumper with colors
19 versions - Latest release: about 4 years ago - 142 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/stevemeier/mirrorlist v0.0.0-20210125210934-4702d67b0d0f
Mirrorlist implemented in Go
1 version - Latest release: over 4 years ago - 7 stars on GitHub
github.com/jamestunnell/go-dsp v0.3.0
DSP in Go
3 versions - Latest release: over 4 years ago - 1 dependent repositories - 0 stars on GitHub
Top 9.8% on proxy.golang.org
github.com/davidgamba/dgtools/joinlines v0.2.0
David Gamba's Toolbox
1 version - Latest release: almost 5 years ago - 15 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/DavidGamba/go-antlr-calc v0.0.0-20200629032926-78834a456791
1 version - Latest release: about 5 years ago - 8 stars on GitHub
github.com/davidgamba/dgtools/cli-bookmarks v0.3.1
David Gamba's Toolbox
1 version - Latest release: about 5 years ago - 11 stars on GitHub
github.com/DavidGamba/dgtools/cli-bookmarks v0.3.1
Package main provides a utility to quickly navigate to bookmarked directories on the command line.
1 version - Latest release: about 5 years ago - 11 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/DavidGamba/cssh v0.0.0-20200318043857-1f0a58a37496
cssh & cscp: ssh and scp wrappers to connect to dev servers
1 version - Latest release: over 5 years ago - 1 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/notapipeline/go-wardley v0.2.0
1 version - Latest release: over 5 years ago
Top 5.1% on proxy.golang.org
go.aporeto.io/trireme-lib/v11 v11.0.0-rc9
Package trireme needs to be documented here for godoc.
39 versions - Latest release: over 5 years ago - 300 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/DavidGamba/cli-bookmarks v0.3.0
Package main provides a utility to quickly navigate to bookmarked directories on the command line.
3 versions - Latest release: almost 6 years ago - 11 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/davidgamba/cli-bookmarks v0.3.0
Bookmark filesystem locations and access them in a fast and easy way
3 versions - Latest release: almost 6 years ago - 11 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/davidgamba/ffind v0.6.1
Fast Regex Find, faster common Find searches using the power of Golang's Regex engine
4 versions - Latest release: almost 6 years ago - 4 stars on GitHub
Top 8.4% on proxy.golang.org
github.com/DavidGamba/ffind v0.6.1
Package main provides a utility to find files on the command line. Goals: • Return a file list ...
4 versions - Latest release: almost 6 years ago - 2 dependent packages - 3 dependent repositories - 4 stars on GitHub
Top 8.2% on proxy.golang.org
github.com/DavidGamba/csv-analysis v0.0.0-20180818223229-000f34f73245
Package main provides ways to analyse csv data from one or more files and generate basic statisti...
1 version - Latest release: almost 7 years ago - 0 stars on GitHub
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.