gitwrap 0.11.0

GitWrap is a simple wrapper around `git` command
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use crate::wrap_command::WrapCommand;
use crate::git;

mod options;
pub use options::*;

mod custom;
pub use custom::*;

pub const GIT_COMMAND: &str = "config";

/// Get and set repository or global options.
/// You can query/set/replace/unset options with this command.
/// The name is actually the section and the key separated by a dot, and the value will be escaped.
/// [Git doc](https://git-scm.com/docs/git-config)
pub fn config() -> WrapCommand {
    git(GIT_COMMAND)
}