securesauce / precli

Precaution CLI
https://precli.readthedocs.io/
Other
7 stars 2 forks source link

Delay reading of file contents until parser decided #489

Closed ericwb closed 1 month ago

ericwb commented 1 month ago

The code should not load a file's contents unless it has already determined there is a parser available to parse the given file extension. Otherwise, the performance is degraded loading files in which nothing is parsed.