| 1 |
Source: golang-github-peterbourgon-ff |
| 2 |
Section: golang |
| 3 |
Priority: optional |
| 4 |
Maintainer: Debian Go Packaging Team <[email protected]> |
| 5 |
Uploaders: Félix Sipma <[email protected]> |
| 6 |
Rules-Requires-Root: no |
| 7 |
Build-Depends: |
| 8 |
debhelper-compat (= 13), |
| 9 |
dh-sequence-golang, |
| 10 |
golang-any, |
| 11 |
golang-github-pelletier-go-toml-dev, |
| 12 |
golang-gopkg-yaml.v2-dev, |
| 13 |
Testsuite: autopkgtest-pkg-go |
| 14 |
Standards-Version: 4.7.0 |
| 15 |
Vcs-Browser: https://salsa.debian.org/go-team/packages/golang-github-peterbourgon-ff |
| 16 |
Vcs-Git: https://salsa.debian.org/go-team/packages/golang-github-peterbourgon-ff.git |
| 17 |
Homepage: https://github.com/peterbourgon/ff |
| 18 |
XS-Go-Import-Path: github.com/peterbourgon/ff |
| 19 |
|
| 20 |
Package: golang-github-peterbourgon-ff-dev |
| 21 |
Architecture: all |
| 22 |
Multi-Arch: foreign |
| 23 |
Depends: |
| 24 |
golang-github-pelletier-go-toml-dev, |
| 25 |
golang-gopkg-yaml.v2-dev, |
| 26 |
${misc:Depends}, |
| 27 |
Description: Flags-first package for configuration (library) |
| 28 |
The basic idea is that myprogram -h should always show the complete |
| 29 |
configuration "surface area" of a program. Therefore, every config parameter |
| 30 |
should be defined as a flag. This module provides a simple and robust way to |
| 31 |
define those flags, and to parse them from command-line arguments, environment |
| 32 |
variables, and/or config files. |
| 33 |
. |
| 34 |
Building a command-line application in the style of kubectl or docker? |
| 35 |
ff.Command offers a declarative approach that may be simpler to write, and |
| 36 |
easier to maintain, than many common alternatives. |