Commit Graph

6 Commits

Author SHA1 Message Date
Martin Frost 3bb589e12c Extract clap args definitions to common cli module
Keeping these definitions separate from the implementations will help
generating man pages for the executables without putting _all_ of the
dependencies into the build-dependencies.
2023-04-07 23:21:33 +02:00
Martin Frost 2009e9335a Use clap for git-add-coauthor 2021-12-11 00:41:09 +01:00
Martin Frost 2b2cdd54e5 Add more docs to structopt definitions
This makes the generated documentation a tad more explanatory.
2021-12-10 23:49:22 +01:00
Martin Frost 9be6f97a5e Stop printing on stderr when adding first coauthor
Before this change, when running `git add-coauthor` without an existing
`~/.git-coauthors` file, the program would print an error message on
stderr that the file did not exist.

It would then create the file with the newly added co-author in it.

That message seemed unnecessary and so it has now been removed.

Co-authored-by: Maria Hansson <mariahansson92@hotmail.com>
2021-08-20 22:43:05 +02:00
Martin Frost 20997a0605 Rustfmt everything 2020-09-05 16:07:58 +02:00
Martin Frost 8e46759b0a git-add-coauthor 2020-05-23 20:56:53 +02:00