-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cmdline file and directory validation
This commit adds a basic validator to check that input arguments pointing to files and directories actually exist before executing any sub-command. Additionally, for directory arguments, it checks that they are actually valid directories (not just valid paths). This should yield a much more informative and useful error message if the user accidentally passes an incorrect path.
- Loading branch information
Rob Patro
committed
May 31, 2022
1 parent
221830b
commit 5e2a089
Showing
1 changed file
with
45 additions
and
9 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