AustinScola / seligimus

A mono-library.
MIT License
1 stars 0 forks source link

working directory context manager #209

Open AustinScola opened 3 years ago

AustinScola commented 3 years ago

Add a context manager for operating in a specified working directory. (Also add an async version).

Examples:

with working_directory(Path('/foo/bar')):
    ...
async with working_directory(Path('/foo/bar')):
    ...