Skip to content
/ mkpr Public

create pull request by streaming content through a filter

License

Notifications You must be signed in to change notification settings

arlac77/mkpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm License bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status

mkpr

create pull request by streaming content through a filter

Currently supports github and bitbucket hosted repositories.

% separates executable args from branch list

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

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

npm install -g mkpr

license

BSD-2-Clause