mirror of
https://github.com/therootcompany/golib.git
synced 2026-11-04 15:05:00 +00:00
- Use flag.FlagSet with config struct instead of global flag - Add version vars (name, version, commit, date, licenseYear, licenseOwner, licenseType) - Add printVersion() with copyright and license - Handle -V/--version/version/help/-help/--help before fs.Parse - Handle flag.ErrHelp and fs.NArg() > 1 checks