fix: add --summary and --matrix as standalone flags to analyze command#300
Closed
fix: add --summary and --matrix as standalone flags to analyze command#300
Conversation
Co-authored-by: Alex793x <113964069+Alex793x@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] [ISSUE-42] Fix --summary and --matrix flags in sync-ctl analyze
fix: add --summary and --matrix as standalone flags to analyze command
Mar 13, 2026
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.
sync-ctl analyze --summary .andsync-ctl analyze --matrix .were failing because only--detailedexisted as a standalone flag —--summaryand--matrixrequired the indirect--display <format>syntax.Changes
src/cli.rs— Added--summary(-s) and--matrix(-M) boolean flags to theAnalyzecommand withconflicts_with_allguards against--display,--detailed, and each other. Updated--detailedto also conflict with the two new flags.src/handlers/analyze.rs— Extendedhandle_analyzesignature withsummary: boolandmatrix: bool; updated mode resolution to check standalone flags before falling back to--display.src/main.rs— UpdatedCommands::Analyzedestructuring (telemetry + dispatch) and thehandle_analyzewrapper to thread the new flags through.src/lib.rs— Updatedrun_command'sCommands::Analyzearm to match.Usage
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
eu.i.posthog.com./target/debug/sync-ctl ./target/debug/sync-ctl analyze --summary . /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1ib2terw9kdktccr0lv88dhiz.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1mprg5ppqf1scri0avtxdl3tt.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1op72gmkoz9kqg1w461cyyvq0.1s0cilt.rcgu.o c/lib.rs /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1ysnxg5reels0q44zkmibh731.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90ced�� /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90cede8101d.async_trait.5bec850b8ca3244c-cgu.13.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90cede8101d.async_trait.5bec850b8ca3244c-cgu.14.rcgu.o lib/�� lake3-488ca39814ad3356/out/flag_check lib/rustlib/x86_64-REDACTED-linux-gnu/lib/libminiz_oxide-ec844042f1e20091.rlib lake3-488ca39814ad3356/out/flag_check.c et/debug/deps/crcc et/debug/deps/cr-Wl,--version-script=/tmp/rustcC44Q1Z/list et/debug/deps/cr-Wl,--no-undefined-version 0.rcgu.o(dns block)./target/debug/sync-ctl ./target/debug/sync-ctl analyze --matrix . opt-level=2 -C embed-bitcode=no src/lib.rs codegen-units=256 -C debuginfo=2 -C et/d�� et/debug/build/o-g et/debug/build/o-gdwarf-4 bin/rustc et/debug/build/o/home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/bin/rustc -incompat et/debug/build/oencode_unicode bin/rustc(dns block)/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/syncable_cli-836e341553921ab4 /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/syncable_cli-836e341553921ab4 --hash-style=gnu --as-needed -dynamic-linker /lib64/ld-linux-x86-64.so.2 -pie rk_detection-c4bc392450324547.1euzbko1kfi3zlf75ny465uop.09qur4a.rcgu.o rk_detection-c4bc392450324547.1m4e3kxa02rs4mhf5dvt34nnv.09qur4a.rcgu.o rk_detection-c4bc392450324547.2h161878vmqe1suwsr7tffpre.09qur4a.rcgu.o rk_detection-c4bc392450324547.33vui6xlhkmszpt6ri5khdep6.09qur4a.rcgu.o rk_detection-c4bc392450324547.3ax2eo0fei9v7uh9dej0uz7n2.09qur4a.rcgu.o rk_detection-c4bc392450324547.5n41880dmlqecg8sl68rfyk9x.09qur4a.rcgu.o rk_detection-c4bc392450324547.7jes940ucpocg3byqnqzl7h5i.09qur4a.rcgu.o rk_detection-c4bc392450324547.7k8pko0hd0lmsqjsxqskvsipa.09qur4a.rcgu.o rk_detection-c4bc392450324547.7l7gbmvcprzjh08rn6l3jkcgy.09qur4a.rcgu.o rk_detection-c4bc392450324547.8d2jr6p0wu1ln5u0zs873csf9.09qur4a.rcgu.o rk_detection-c4bc392450324547.8ylg33rvvbu0104mk82453coq.09qur4a.rcgu.o rk_detection-c4bc392450324547.904kgdae1w8sjjyf128ohnmj8.09qur4a.rcgu.o rk_detection-c4bc392450324547.aiu28d9wqb5jsf2seb92m45f9.09qur4a.rcgu.o rk_detection-c4bc392450324547.bzw3b9ojdjko9g7vb1e3ab3ga.09qur4a.rcgu.o(dns block)https://api.github.com/repos/syncable-dev/syncable-cli/releases/latest./target/debug/sync-ctl ./target/debug/sync-ctl analyze --summary . /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1ib2terw9kdktccr0lv88dhiz.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1mprg5ppqf1scri0avtxdl3tt.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1op72gmkoz9kqg1w461cyyvq0.1s0cilt.rcgu.o c/lib.rs /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a9/home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/sync_ctl-085c79826d587148.1ysnxg5reels0q44zkmibh731.1s0cilt.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90ced�� /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90cede8101d.async_trait.5bec850b8ca3244c-cgu.13.rcgu.o /home/REDACTED/work/syncable-cli/syncable-cli/target/debug/deps/async_trait-65c0a90cede8101d.async_trait.5bec850b8ca3244c-cgu.14.rcgu.o lib/�� lake3-488ca39814ad3356/out/flag_check lib/rustlib/x86_64-REDACTED-linux-gnu/lib/libminiz_oxide-ec844042f1e20091.rlib lake3-488ca39814ad3356/out/flag_check.c et/debug/deps/crcc et/debug/deps/cr-Wl,--version-script=/tmp/rustcC44Q1Z/list et/debug/deps/cr-Wl,--no-undefined-version 0.rcgu.o(http block)./target/debug/sync-ctl ./target/debug/sync-ctl analyze --matrix . opt-level=2 -C embed-bitcode=no src/lib.rs codegen-units=256 -C debuginfo=2 -C et/d�� et/debug/build/o-g et/debug/build/o-gdwarf-4 bin/rustc et/debug/build/o/home/REDACTED/.rustup/toolchains/stable-x86_64-REDACTED-linux-gnu/bin/rustc -incompat et/debug/build/oencode_unicode bin/rustc(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
📱 Kick off Copilot coding agent tasks wherever you are with GitHub Mobile, available on iOS and Android.