Skip to content

Propagate global flags to query subcommands#86

Merged
longlho merged 1 commit into
mainfrom
codex/query-global-flags
May 29, 2026
Merged

Propagate global flags to query subcommands#86
longlho merged 1 commit into
mainfrom
codex/query-global-flags

Conversation

@longlho
Copy link
Copy Markdown
Contributor

@longlho longlho commented May 29, 2026

Summary

  • propagate top-level -C/--directory and -c/--config into doctor/query subcommands when they do not provide local overrides
  • add a query e2e regression that uses an ignored broken symlink to prove the global config is applied before link-following discovery

Tests

  • rustup run 1.93.0 cargo fmt --check
  • bazel test //crates/codescythe_cli:codescythe_cli_e2e_test --test_filter=cli_quer --test_output=errors
  • bazel test //crates/codescythe_cli:codescythe_cli_test //crates/codescythe_cli:codescythe_cli_e2e_test --test_output=errors

@longlho longlho merged commit dc15253 into main May 29, 2026
1 check passed
@longlho longlho deleted the codex/query-global-flags branch May 29, 2026 17:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant