-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor the CLI checking of config arguments (#667)
This change moves the validation of the config file earlier in the setup of the arg parser. The argparse library itself is validating whether the file exists, so seems appropriate to also validate whether the file is a proper toml config file early as well. Signed-off-by: Eric Brown <eric.brown@securesauce.dev>
- Loading branch information
Showing
1 changed file
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters