update readme

This commit is contained in:
Petr Korolev 2015-05-26 16:04:30 +03:00
parent 783d8f306e
commit 28c81fa487

View File

@ -82,30 +82,35 @@ As output you will get `CHANGELOG.md` file with pretty *Markdown-formatted* chan
### Params ### Params
Type `github_changelog_generator --help` for detailed usage. Type `github_changelog_generator --help` for detailed usage.
Usage: changelog_generator [options] Usage: github_changelog_generator [options]
-u, --user [USER] Username of the owner of target GitHub repo -u, --user [USER] Username of the owner of target GitHub repo
-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 per hour your GitHub token required. You can generate it here: https://github.com/settings/tokens/new -t, --token [TOKEN] To make more than 50 requests per hour your GitHub token is required. You can generate it at: https://github.com/settings/tokens/new
-f, --date-format [FORMAT] Date format. Default is %d/%m/%y -f, --date-format [FORMAT] Date format. Default is %Y-%m-%d
-o, --output [NAME] Output file. Default is CHANGELOG.md -o, --output [NAME] Output file. Default is CHANGELOG.md
--[no-]verbose Run verbosely. Default is true --[no-]issues Include closed issues in changelog. Default is true
--[no-]issues Include closed issues to changelog. Default is true --[no-]issues-wo-labels Include closed issues without labels in changelog. Default is true
--[no-]issues-wo-labels Include closed issues without labels to changelog. Default is true --[no-]pr-wo-labels Include pull requests without labels in changelog. Default is true
--[no-]pr-wo-labels Include pull requests without labels to changelog. Default is true --[no-]pull-requests Include pull-requests in changelog. Default is true
--[no-]pull-requests Include pull-requests to changelog. Default is true --[no-]filter-by-milestone Use milestone to detect when issue was resolved. Default is true
--[no-]filter-by-milestone Use milestone to detect when issue was resolved. Default is true --[no-]author Add author of pull-request in the end. Default is true
--[no-]author Add author of pull-request in the end. Default is true --unreleased-only Generate log from unreleased closed issues only.
--unreleased-only Generate log from unreleased closed issues only. --[no-]unreleased Add to log unreleased closed issues. Default is true
--[no-]unreleased Add to log unreleased closed issues. Default is true --unreleased-label [label] Add to log unreleased closed issues. Default is true
--[no-]compare-link Include compare link between older version and newer version. Default is true --[no-]compare-link Include compare link (Full Changelog) between older version and newer version. Default is true
--include-labels x,y,z Issues only with that labels will be included to changelog. Default is 'bug,enhancement' --include-labels x,y,z Only issues with the specified labels will be included in the changelog. Default is 'bug,enhancement'
--exclude-labels x,y,z Issues with that labels will be always excluded from changelog. Default is 'duplicate,question,invalid,wontfix' --exclude-labels x,y,z Issues with the specified labels will be always excluded from changelog. Default is 'duplicate,question,invalid,wontfix'
--max-issues [NUMBER] Max number of issues to fetch from GitHub. Default is unlimited. --between-tags x,y,z Change log will be filled only between specified tags
--github-site [URL] The Enterprise Github site on which your project is hosted. --exclude-tags x,y,z Change log will be exclude specified tags
--github-api [URL] The enterprise endpoint to use for your Github API. --max-issues [NUMBER] Max number of issues to fetch from GitHub. Default is unlimited
--future-release [RELEASE-VERSION] Put the unreleased changes in the specified release number. --github-site [URL] The Enterprise Github site on which your project is hosted.
-v, --version Print version number --github-api [URL] The enterprise endpoint to use for your Github API.
-h, --help Displays Help --simple-list Create simple list from issues and pull requests. Default is false.
--future-release [RELEASE-VERSION]
Put the unreleased changes in the specified release number.
--[no-]verbose Run verbosely. Default is true
-v, --version Print version number
-h, --help Displays Help
### GitHub token ### GitHub token