poly sync non-interactive
#388
-
|
I am using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Oh, I wasn't expecting that usage of the I should probably add something that will skip the interactivity in the sync command. |
Beta Was this translation helpful? Give feedback.
-
|
@gregunz I have released a new version, that will skip the interactive flow when using the already existing This changes the behaviour of the command, but I don't think it is a breaking change. When running in If you want an automated pre-commit check for unstaged changes, there's the Thank you for this feedback, and I hope the new version will improve the usage of the Implementation details in #390 |
Beta Was this translation helpful? Give feedback.
@gregunz I have released a new version, that will skip the interactive flow when using the already existing
--quietoption.This changes the behaviour of the command, but I don't think it is a breaking change. When running in
--quietmode, no output will be printed out in the shell (as before), and the command won't enter any interactive flow (new feature).If you want an automated pre-commit check for unstaged changes, there's the
git diff --quietcommand that will exit with a fail code if there are any unstaged changes. I think that can be used in a pre-commit hook.Thank you for this feedback, and I hope the new version will improve the usage of the
poly synccommand!Implementation de…