Continue refactor:

  - [x] refactor CheckConfigs by passing CommandOptions instead