Lightweight library to build command-line application (single-command app yet).
-
Supported flag value types:
string
int
,int[8,16,32,64]
uint
,uint[8,16,32,64]
float[32,64]
time.Duration
bool
counter
(which has value of typeint
under the hood)- slices of all types in above, except
counter
-
Allows to create custom-typed (generic) flags with user-defined input parser (see example).
-
Allows to override default parser for built-in flag types.
- Add help/usage rendering for flag set
- Add
Command
type to allow multi-command applications