crawford / tailor

GitHub bot that validates patches before they can be merged
Apache License 2.0
18 stars 10 forks source link

Run locally on a branch - cli #45

Open stepanstipl opened 6 years ago

stepanstipl commented 6 years ago

Hi, for a start I would like to say thanks, this is an awesome tool!

I would like to be able to run the checks on a local branch. I'm thinking simple cli for start, allowing smth like tailor-cli $branch, where $branch would reference the base branch and tailor would check all the commits that are present in current branch but missing in base branch.

I realise that some entities in the root context are specific to the PR, bus basically anything under .commits[] could stay.

I think this would be super useful, allowing developers to run tests locally, before even commiting anything to GH or opening PR.