Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 435 Bytes

README.md

File metadata and controls

14 lines (9 loc) · 435 Bytes

cobrautil

A collection of utility functions when using Cobra.

Features include:

  • Synchronizing Viper environment variables
  • "Must" functions to fetch flags and panic if they do not exist
  • Middleware chaining of cobra.Command RunFuncs

See some examples in the documentation.