Skip to content

fix: issue with set_options_processor#42

Merged
Andarius merged 3 commits intomasterfrom
fix/set-processor
Feb 23, 2026
Merged

fix: issue with set_options_processor#42
Andarius merged 3 commits intomasterfrom
fix/set-processor

Conversation

@Andarius
Copy link
Copy Markdown
Owner

Move extract_function_info from @processor() into set_options_processor() so both paths auto-register Option() definitions as group-level options

…ands

- Move `extract_function_info` from `@processor()` into `set_options_processor()` so both paths auto-register `Option()` definitions as group-level options
- Add async commands section to README
- Add processor example to `examples/simple.py`
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import Performance

Details
Benchmark suite Current: a9bcaa7 Previous: c078983 Ratio
piou (core) 98.08 ms (2.13) 88.92 ms (1.27) 1.10
piou (rich) 174.73 ms (2.8) 166.33 ms (4.34) 1.05
piou.tui 322.47 ms (3.58) 303.13 ms (4.61) 1.06

This comment was automatically generated by workflow using github-action-benchmark.

@Andarius Andarius marked this pull request as ready for review February 23, 2026 14:23
- Fix `parse_input_args` early return bypassing global option separation for main-only CLIs
- Parametrize `test_run_command` to cover both `set_options_processor` and `@processor()` paths
- Add `test_main_only_with_global_options` for main-only CLI with global options
@Andarius Andarius merged commit 1b7d96c into master Feb 23, 2026
6 checks passed
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