Skip to content
Sections
>> Trisquel >> Пакети >> nabia >> devel >> golang-github-svent-go-flags-dev
etiona  ] [  nabia  ] [  aramo  ]
[ Източник: golang-github-svent-go-flags  ]

Пакет: golang-github-svent-go-flags-dev (1-2)

go library for parsing command line arguments

This library provides similar functionality to the builtin flag library of go, but provides much more functionality and nicer formatting. Supported features are:

 * Options with short names (-v)
 * Options with long names (--verbose)
 * Options with and without arguments (bool v.s. other type)
 * Options with optional arguments and default values
 * Multiple option groups each containing a set of options
 * Generate and print well-formatted help message
 * Passing remaining command line arguments after -- (optional)
 * Ignoring unknown command line options (optional)
 * Supports -I/usr/include -I=/usr/include -I /usr/include option
   argument specification
 * Supports multiple short options -aux
 * Supports all primitive go types (string, int{8..64}, uint{8..64},
   float)
 * Supports same option multiple times (can store in slice or last option
   counts)
 * Supports maps
 * Supports function callbacks
 * Supports namespaces for (nested) option groups

Изтегляне на golang-github-svent-go-flags-dev

Изтегляне за всички налични архитектури
Архитектура Големина на пакета Големина след инсталиране Файлове
all 21,0 кБ98 кБ [списък на файловете]