assetnote / kiterunner

Contextual Content Discovery Tool
GNU Affero General Public License v3.0
2.57k stars 285 forks source link

Bind kiterunner command line flags to config.yaml values #19

Open minight opened 3 years ago

minight commented 3 years ago

The kiterunner CLI flags currently use PersistentFlags() on the cobra commands. We need to bind these to viper flags to be able to have them load from the config file.

This will let us specify the scanner settings from the kiterunner.yaml file instead of having to use command line options