[Feature request] Apply diff-routes between git branches
Opened this issue · 1 comments
fidalgo commented
Hi!
First of all thanks for this nifty gem! I would like to propose a new feature:
The ability to use diff-routes between branches, ex:
diff-routes main develop
and it would output the diff based on the routes present on each branch.
I understand this will probably change how the gem works and will probably imply a big change in the inner implementation of the gem.
styd commented
Hi, @fidalgo !
Thanks for using this gem.
Technically it's possible to implement the feature, but I think that requires quite a lot of work. I'm open to anyone who're willing and has free time to do it.
But I guess currently you can achieve the same goal with a few more steps:
- Open terminal.
- Navigate to Rails root.
- On bash,
git checkout main
. - On bash,
rails console
. - On Rails console,
.git branch develop
- On Rails console,
diff-routes
, you should see the diffs.