pegleg/pegleg/cli
Alexander Hughes cb3046ee53 Fail early on invalid save locations
Currently the Render command expects either no save option or a file
path. No save option defaults to stdout, a file path writes to the
specified file.

If a directory is specified no error is thrown until rendering is
complete, by performing save location validation early Pegleg will now
fail early.

Change-Id: If75655e240c0ecbda00ea591e948e71010b4521d
Signed-off-by: Alexander Hughes <Alexander.Hughes@pm.me>
2020-05-04 12:35:53 -04:00
..
__init__.py Refactors pegleg CLI to use single commands 2019-12-17 19:32:28 +00:00
commands.py Fail early on invalid save locations 2020-05-04 12:35:53 -04:00
utils.py Fail early on invalid save locations 2020-05-04 12:35:53 -04:00