feat(poly sync): non-interactive mode when running in quite mode#390
Merged
DavidVujic merged 3 commits intomainfrom Nov 1, 2025
Merged
feat(poly sync): non-interactive mode when running in quite mode#390DavidVujic merged 3 commits intomainfrom
DavidVujic merged 3 commits intomainfrom
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The
poly synccommand shouldn't run in interactive mode (i.e. ask about adding bricks to empty projects) when running in the--quietmode.The quiet mode will perform the sync action without any output. For scenarios where you want a notification about any unstaged changes, you can use the
git diffcommand in a script (and use the script in your pre-commit hook or similar):Motivation and Context
Fixes #389
When running the
poly synccommand in an automated flowHow Has This Been Tested?
✅ CI
✅ Unit test
✅ local run of command with empty project and unused brick, with and without the --quiet option
Types of changes
Checklist: