-
-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New CLI commands #244
New CLI commands #244
Conversation
Please note that this PR is on top of #206 |
4286579
to
85f3803
Compare
85f3803
to
cdca75b
Compare
Codecov Report
@@ Coverage Diff @@
## master #244 +/- ##
==========================================
+ Coverage 84.76% 87.14% +2.37%
==========================================
Files 30 30
Lines 906 1011 +105
==========================================
+ Hits 768 881 +113
+ Misses 138 130 -8
Continue to review full report at Codecov.
|
cdca75b
to
c769177
Compare
840220d
to
d67be72
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would still love to see the execute
command. It would still help me a lot.
b965f5f
to
bb88b48
Compare
Code rebased, contributions are welcome, dev is stalled on this ;-) |
@neomilium do you still consider this a draft? can you please take a look at the rubocop issues? |
5e33100
to
7ab93dc
Compare
@bastelfreak Yes, its still a draft, it requires to be used and feedbacks are needed. Rubocop issues should be fixed. |
One command is missing to the set to be really usable: |
44570d2
to
b1223c9
Compare
f0327cc
to
8e47644
Compare
24a72ac
to
f73192f
Compare
This new command allow user to reset its workspace to the default remote branch (e.g. origin/master) or a specified one.
f73192f
to
0c9838c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this addresses all my concerns. It's still a large patch and I could have missed things, but I'm going to trust all the tests you added. Let's try this out since I'm excited to replace my bash for loops with msync exec
, see how that feels. Fun fact: I actually prefer doing msync exec git pull
over trusting msync. Feels like I get more control. Certainly something I had desired for a long time.
Now that it's been released I'm really enjoying |
So I opened #251 for further discussion. |
Main goal is to be able to execute arbitrary commands on each repositories.
This PR contains a draft for new commands :
reset
,execute
andpush
clone
: clone repo if not already doneexecute
: run arbitrary commandreset
: hard-reset repositoriespush
: push commitsAny help to define expected behaviors is welcome.