//
pkg.gl
Category
github.com/TechPay-io/go-photon
flags
package
1.0.4
Repository:
https://github.com/techpay-io/go-photon.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
4
Dependents
1
Files
91 SLOC
#
Functions
FlagCategory
No description provided by the author
NewApp
NewApp creates an app with sane defaults.
#
Variables
AppHelpTemplate
AppHelpTemplate is the test template for the default, global app help topic.
CommandHelpTemplate
No description provided by the author
#
Structs
FlagGroup
FlagGroup is a collection of flags belonging to a single topic.
HelpData
HelpData is a one shot struct to pass to the usage template.
#
Type aliases
ByCategory
byCategory sorts an array of FlagGroup by Name in the order defined in AppHelpFlagGroups.