aj-bagwell / clio

A rust library for parsing command line file name arguements
12 stars 7 forks source link

remove Deref<Path> from ClioPath #16

Open aj-bagwell opened 1 year ago

aj-bagwell commented 1 year ago

The current impl will sometimes return a path of "-" for stdin/stdout which will give wrong answers for any of the methods on path that may be used.

All the interesting methods of Path need to be implemented on ClioPath with sensible values for stdin/stdout.