co-author 0.1.1

Co-Author your git commits from the command line
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use std::error::Error;

#[derive(Debug)]
pub struct AuthorError(String);

impl std::fmt::Display for AuthorError {
	fn fmt(&self, f: &mut std::fmt::Formatter) -> std::fmt::Result {
		write!(f, "AUTHORS: {}", self.0)
	}
}

impl Error for AuthorError {}
impl AuthorError {
	pub fn with(msg: String) -> Box<dyn Error> {
		Box::new(AuthorError(msg))
	}
}