Closed epage closed 1 year ago
I have finally got round to releasing v0.3 which adds a ClioPath for representing more generic paths.
As per this great suggestion I added extra validation options to OsStrParser for exists
, is_file
and is_dir
.
I also added checking for read/write access to InputPath
and OutputPath
.
In mapping click concepts to this library,
CachedInput
,Input
andOutput
line up with FileInputPath
andOutputPath
sort of line up with File withlazy = true
InputPath
andOutputPath
lines up with Path but none ofPath
s config options.It seems like Path config options would belong as settings on
OsStrParser
so a user can pass in a custom value parser when the defaults expressed through the types don't quite work