https://github.com/arlac77/mkpr
create pull request by streaming content through a filter
https://github.com/arlac77/mkpr
pull-requests
Last synced: 7 months ago
JSON representation
create pull request by streaming content through a filter
- Host: GitHub
- URL: https://github.com/arlac77/mkpr
- Owner: arlac77
- License: 0bsd
- Created: 2018-09-25T14:00:59.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2025-05-08T23:33:31.000Z (about 1 year ago)
- Last Synced: 2025-05-08T23:33:37.002Z (about 1 year ago)
- Topics: pull-requests
- Language: JavaScript
- Size: 3.31 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://www.npmjs.com/package/mkpr)
[](https://spdx.org/licenses/0BSD.html)
[](https://bundlejs.com/?q=mkpr)
[](https://npmjs.org/package/mkpr)
[](https://github.com/arlac77/mkpr/issues)
[](https://actions-badge.atrox.dev/arlac77/mkpr/goto)
[](https://github.com/prettier/prettier)
[](http://commitizen.github.io/cz-cli/)
[](https://snyk.io/test/github/arlac77/mkpr)
[](https://coveralls.io/github/arlac77/mkpr)
## mkpr
create pull request by streaming content through a filter
Currently supports github and bitbucket hosted repositories.
% separates executable args from branch list
```shell
export AGGREGATION_FACTORY="github-repository-provider" # for github repos
export GITHUB_TOKEN='token providing repositroy write access' # for github repos
mkpr --entries '**/*.json' sed s/a/b/ % myGithubUser/myRepo
```
Create pull request for all package.json entries in the myuser/\_ config \_ repos of github
with the devDependency/config-expander set to ^10.3.2
```shell
export AGGREGATION_FACTORY="github-repository-provider" # for github repos
export GITHUB_TOKEN='token providing repositroy write access' # for github repos
mkpr --entries package.json --jsonpatch '[{"op":"replace","path":"/devDependencies/config-expander","value":"^10.3.2"}]' 'myuser/*config*'
```
# API
## Table of Contents
# install
```shell
npm install -g mkpr
```
# license
BSD-2-Clause