update readme

This commit is contained in:
Petr Korolev 2014-11-06 19:45:56 +02:00
parent daf391dd1a
commit cf4386a3a3

View File

@ -9,7 +9,14 @@ This script automatically generate change-log from your tags and merged pull-req
`gem install github_changelog_generator` `gem install github_changelog_generator`
## Usage: ## Usage:
Usage: github_changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]
### Example usage:
`github_changelog_generator -u your-username -p your-project [-t 16-digit-GitHub-token-for-more-than-50-requests]`
In output you will get `[your_project]_changelog.md` file with *pretty Markdown-formatted* changelogs in your current directory.
### Params:
github_changelog_generator -u user_name -p project_name [-t 16-digit-GitHubToken] [options]
-u, --user [USER] your username on GitHub -u, --user [USER] your username on GitHub
-p, --project [PROJECT] name of project on GitHub -p, --project [PROJECT] name of project on GitHub
-t, --token [TOKEN] To make more than 50 requests this app required your OAuth token for GitHub. You can generate it on https://github.com/settings/applications -t, --token [TOKEN] To make more than 50 requests this app required your OAuth token for GitHub. You can generate it on https://github.com/settings/applications
@ -18,16 +25,10 @@ This script automatically generate change-log from your tags and merged pull-req
-l, --last-changes generate log between last 2 tags -l, --last-changes generate log between last 2 tags
-f, --date-format [FORMAT] date format. default is %d/%m/%y -f, --date-format [FORMAT] date format. default is %d/%m/%y
### Example usage:
`github_changelog_generator -u your-username -p your-project [-t 16-digit-GitHub-token-for-more-than-50-requests]`
In output you will get `[your_project]_changelog.md` file with *pretty Markdown-formatted* changelogs in your current directory.
## Real examples: ## Real examples:
### These changelog was generated by ### [This changelog](https://github.com/skywinder/ActionSheetPicker-3.0/blob/master/CHANGELOG.md) was generated by
`github_changelog_generator -u skywinder -p ActionSheetPicker-3.0`: `github_changelog_generator -u skywinder -p ActionSheetPicker-3.0`: [ActionSheetPicker-3.0/CHANGELOG.md](https://github.com/skywinder/ActionSheetPicker-3.0/blob/master/CHANGELOG.md)
[ActionSheetPicker-3.0/CHANGELOG.md](https://github.com/skywinder/ActionSheetPicker-3.0/blob/master/CHANGELOG.md)
## FAQ ## FAQ
Since GitHub allow to make only 50 requests without authentication it's recommended to run this scrip with key `-t [your 16 digit token]` that you can easily **[generate here](https://github.com/settings/applications)**. Since GitHub allow to make only 50 requests without authentication it's recommended to run this scrip with key `-t [your 16 digit token]` that you can easily **[generate here](https://github.com/settings/applications)**.