-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(git-authors): add unit test for option
--output
* doc(git-authors): update option `--output` usage
- Loading branch information
Showing
5 changed files
with
164 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,9 @@ git-authors(1) -- Generate authors report | |
|
||
## SYNOPSIS | ||
|
||
`git-authors` | ||
`git-authors` [-l, --list] [--no-email] | ||
`git-authors` [--output] <filename> [--no-email] | ||
|
||
## DESCRIPTION | ||
|
||
|
@@ -21,6 +23,14 @@ git-authors(1) -- Generate authors report | |
|
||
Don't show authors' email. | ||
|
||
--output | ||
|
||
output the authors | ||
|
||
<filename> | ||
|
||
the filename which is letter prefix to save the authors | ||
|
||
## EXAMPLES | ||
|
||
Updating AUTHORS file: | ||
|
@@ -45,6 +55,22 @@ git-authors(1) -- Generate authors report | |
nickl- | ||
Leila Muhtasib | ||
|
||
Output authors | ||
|
||
$ git authors --output authors-history || cat authors-history | ||
TJ Holowaychuk <[email protected]> | ||
hemanth.hm <[email protected]> | ||
Jonhnny Weslley <[email protected]> | ||
nickl- <[email protected]> | ||
Leila Muhtasib <[email protected]> | ||
|
||
$ git authors --output authors-history --no-email || cat authors-history | ||
TJ Holowaychuk | ||
hemanth.hm | ||
Jonhnny Weslley | ||
nickl- | ||
Leila Muhtasib | ||
|
||
## AUTHOR | ||
|
||
Written by Titus Wormer <<[email protected]>> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters