Skip to content

Conversation

@bergzand
Copy link
Contributor

This reduces the complexity and cognitive burden of try_main() by splitting the subcommands into individual functions, significantly reducing the length of the try_main() function.

This is purely a refactor and output should not be affected.

Comment on lines +279 to +281
project_root: Utf8PathBuf,
project_file: Utf8PathBuf,
start_relpath: Utf8PathBuf,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This should probably be merged into a ProjectInfo struct in the future.

@github-actions
Copy link
Contributor

github-actions bot commented Oct 21, 2025

🐰 Bencher Report

Branchpr/refactor/split_commands
Testbedgithub-actions
Click to view all benchmark results
Benchmarkperf:task-clockBenchmark Result
msec x 1e3
(Result Δ%)
Upper Boundary
msec x 1e3
(Limit %)
laze -C RIOT build --global --generate-only📈 view plot
🚷 view threshold
9.06 x 1e3
(-3.39%)Baseline: 9.38 x 1e3
10.21 x 1e3
(88.70%)
🐰 View full continuous benchmarking report in Bencher

@coveralls
Copy link

coveralls commented Oct 21, 2025

Coverage Status

coverage: 80.168% (-0.09%) from 80.256%
when pulling 7db2a37 on bergzand:pr/refactor/split_commands
into 44264c8 on kaspar030:main.

@kaspar030 kaspar030 force-pushed the pr/refactor/split_commands branch from 05de713 to 7db2a37 Compare November 22, 2025 17:45
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.

2 participants