extract-pr-titles v1.1.0
A cli command for extracting PR Titles between the given 2 git refs.
Usage
The command takes the options like the below:
npx extract-pr-titles --from <ref> --to <ref> [-r|--reverse] [--format <format>]
See the below for more details of options.
Example
In some repository at some time:
$ npx extract-pr-titles --from HEAD~10 --to HEADnpx: installed 8 in 1.763sfeat: add --check for deno fmt #3369feat: Add std/encoding/yaml module #3361fix deno_core_http_bench #3364refactor: fixes for futures #3363Use async to replace FutureExt in lib.rs #3359Use futures 0.3 API #3358fmt: respect prettierrc and prettierignore #3346fix: std/datetime toIMF bug #3357run std test with cargo test #3344Add wasm example to manual #3353
This lists the merged PR titles and numbers among recent 10 commits.
Options
--from <commit>
- Shows the list from this commit
--to <commit>
- Shows the list until this commit
[-r | --reverse]
- Shows the list in reversed order. Default is false.
[--format <format>]
- Specify the format of title and number (PR number).
- Default is
{title} #{number}
. - The format is rendered as pupa templating language. Please see the document for details.
Note
This command supports Merged PRs
and Squashed PRs
. This command doesn't support Rebased PRs
.
License
MIT