| 1 | Source: golang-github-svent-go-flags |
| 2 | Standards-Version: 4.7.2 |
| 3 | Maintainer: Debian Go Packaging Team <[email protected]> |
| 4 | Uploaders: |
| 5 | ChangZhuo Chen (陳昌倬) <[email protected]>, |
| 6 | Section: golang |
| 7 | Testsuite: autopkgtest-pkg-go |
| 8 | Priority: optional |
| 9 | Build-Depends: |
| 10 | debhelper-compat (= 13), |
| 11 | dh-golang, |
| 12 | golang-any, |
| 13 | Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-svent-go-flags |
| 14 | Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-svent-go-flags.git |
| 15 | Homepage: https://github.com/svent/go-flags |
| 16 | XS-Go-Import-Path: github.com/svent/go-flags |
| 17 | |
| 18 | Package: golang-github-svent-go-flags-dev |
| 19 | Architecture: all |
| 20 | Multi-Arch: foreign |
| 21 | Depends: |
| 22 | ${misc:Depends}, |
| 23 | ${shlibs:Depends}, |
| 24 | Description: go library for parsing command line arguments |
| 25 | This library provides similar functionality to the builtin flag library |
| 26 | of go, but provides much more functionality and nicer formatting. |
| 27 | Supported features are: |
| 28 | . |
| 29 | * Options with short names (-v) |
| 30 | * Options with long names (--verbose) |
| 31 | * Options with and without arguments (bool v.s. other type) |
| 32 | * Options with optional arguments and default values |
| 33 | * Multiple option groups each containing a set of options |
| 34 | * Generate and print well-formatted help message |
| 35 | * Passing remaining command line arguments after -- (optional) |
| 36 | * Ignoring unknown command line options (optional) |
| 37 | * Supports -I/usr/include -I=/usr/include -I /usr/include option |
| 38 | argument specification |
| 39 | * Supports multiple short options -aux |
| 40 | * Supports all primitive go types (string, int{8..64}, uint{8..64}, |
| 41 | float) |
| 42 | * Supports same option multiple times (can store in slice or last option |
| 43 | counts) |
| 44 | * Supports maps |
| 45 | * Supports function callbacks |
| 46 | * Supports namespaces for (nested) option groups |