-
Jamie Tanna authored
As mentioned in #16, the required flag checks don't actually seem to be working. There's [an issue upstream] that describes something similar being problematic. To solve this, we can add a separate `addRequiredDbFlag` helper to set it required as a persistent flag at a per-subcommand level, rather than top-level, as that then leads to `help` breaking. Closes #16. [an issue upstream]: https://github.com/spf13/cobra/issues/921#issuecomment-1420262823
28c35482