Skip to content

Conversation

@bergzand
Copy link
Contributor

@bergzand bergzand commented Sep 18, 2025

This prints the common help output from clap when no argument subcommand is supplied. This does remove the single print statement showing the project root, relpath and project file.

Is there an actual use case for running laze without any subcommand?

@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2025

🐰 Bencher Report

Branchpr/arg_required_else_help
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
8.93 x 1e3
(-3.70%)Baseline: 9.27 x 1e3
9.77 x 1e3
(91.39%)
🐰 View full continuous benchmarking report in Bencher

@bergzand bergzand force-pushed the pr/arg_required_else_help branch from b856086 to 2f2f72d Compare September 18, 2025 18:54
@bergzand bergzand changed the title feat: print help when no command is supplied feat: print help when no subcommand is supplied Sep 18, 2025
@kaspar030
Copy link
Owner

Is there an actual use case for running laze without any subcommand?

Printing the help is certainly better than the current state. I'd rather have some descriptive message, maybe even per-project. Let me think about this.

@bergzand
Copy link
Contributor Author

Printing the help is certainly better than the current state. I'd rather have some descriptive message, maybe even per-project. Let me think about this.

Any suggestions on how to progress here?

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