Describe the bug
One can't only specify --sink= option in the config upgrade command to upgrade the sink db only (the case where you are using yaml files for metrics and sources)
To Reproduce
Steps to reproduce the behavior:
- Run
./pgwatch --sink=[your-sink-db-conn-str] config upgrade
- Observe the help message stating missing
--sources and --metrics flags
Expected behavior
The pgwatch config upgrade command should tolerate passing the --sink alone.