chwd
Rust library to temporarily change your cwd, then switch it back when you're done.
Usage
Call ChangeWorkingDirectory's change function to change the current working directory, assigning the result to a local temporary variable. Once this variable goes out of scope, the current working directory will change back to the directory that was in use at the time of object creation.
Contributions
Although this is a fairly simple library, if you can think of anything that could be done to improve it, please open an issue or submit a PR!
License
This project is licensed under
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)