Versions in this module Expand all Collapse all v1 v1.3.1 Dec 21, 2023 Changes in this version + type CLI struct + func New(version string) *CLI + func (c *CLI) AddBoolVar(name string, usage string) *bool + func (c *CLI) AddDurationVar(name, defValue string, usage string, opts *FlagOptions) *time.Duration + func (c *CLI) AddIntVar(name string, defValue int, usage string, opts *FlagOptions) *int + func (c *CLI) AddStringVar(name, defValue string, usage string, opts *FlagOptions) *string + func (c *CLI) AddUintVar(name string, defValue uint, usage string, opts *FlagOptions) *uint + func (c *CLI) Parse() + type FlagOptions struct + PreHook func(string) (string, error) + Required bool