Flagpoles should be passed in rather than used directly. Would like to avoid having an extra config object since the flags are in their own package anyhow. Is this an anti-pattern?
Support passing nil to the pkg funcs and filling in as necessary? How to handle defaults? Viper handles this via the bind that happens in the CLI, maybe modify hofmod-cli to create a DefaultFlagpole var?
Flagpoles should be passed in rather than used directly. Would like to avoid having an extra config object since the flags are in their own package anyhow. Is this an anti-pattern?
Support passing nil to the
pkg
funcs and filling in as necessary? How to handle defaults? Viper handles this via the bind that happens in the CLI, maybe modifyhofmod-cli
to create a DefaultFlagpole var?