GitWrap
GitWrap is a simple wrapper around git
command.
The purpose of this library is to provide a controlled and reliable method of accessing the git commands in the simplest possible way.
Credits
This project is inspired and based on Go Git Cmd Wrapper
License
The code is licensed under the permissive Apache v2.0 licence. This means you can do what you like with the software, as long as you include the required notices. Read this for a summary.
Install
cargo install gitwrap
Running the above command will globally install the gitwrap binary. Install as library
Run the following Cargo command in your project directory:
cargo add gitwrap
Or add the following line to your Cargo.toml:
gitwrap = "0.3.5"
Usage
Here are some examples of use (work in progress)
1. cloning a remote repo
use ;
use clone;