Skip to content

feat(cli): merge help output across builtin and project commands - #666

Open
ElijahAhianyo wants to merge 1 commit into
elijah/cot-cli-proxy/stack-3-proxyfrom
elijah/cot-cli-proxy/stack-4-help
Open

feat(cli): merge help output across builtin and project commands#666
ElijahAhianyo wants to merge 1 commit into
elijah/cot-cli-proxy/stack-3-proxyfrom
elijah/cot-cli-proxy/stack-4-help

Conversation

@ElijahAhianyo

@ElijahAhianyo ElijahAhianyo commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Description

This PR merges the help text from the project's binary commands into cot-cli's help text. This is more of a best effort. When we can't locate the binary or extract metadata information, we fall back to the generic help text generated by Clap, which will not contain commands present in the project binary.

When there's a command present in both cot-cli and the project binary, we merge them

Type of change

  • Bug fix
  • New feature
  • Documentation
  • Refactor / cleanup
  • Performance improvement
  • Other (describe above)

@github-actions github-actions Bot added A-deps Area: Dependencies C-cli Crate: cot-cli (issues and Pull Requests related to Cot CLI) labels Sep 3, 2026
@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

🐰 Bencher Report

Projectcot
Branchelijah/cot-cli-proxy/stack-4-help
Testbedgithub-ubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
milliseconds (ms)
(Result Δ%)
Upper Boundary
milliseconds (ms)
(Limit %)
empty_router/empty_router📈 view plot
🚷 view threshold
15.28 ms
(+61.55%)Baseline: 9.46 ms
17.95 ms
(85.12%)
json_api/json_api📈 view plot
🚷 view threshold
1.14 ms
(+10.51%)Baseline: 1.03 ms
1.36 ms
(83.55%)
nested_routers/nested_routers📈 view plot
🚷 view threshold
1.05 ms
(+9.20%)Baseline: 0.96 ms
1.25 ms
(83.99%)
single_root_route/single_root_route📈 view plot
🚷 view threshold
1.03 ms
(+10.58%)Baseline: 0.93 ms
1.22 ms
(84.34%)
single_root_route_burst/single_root_route_burst📈 view plot
🚷 view threshold
16.77 ms
(-0.31%)Baseline: 16.82 ms
21.43 ms
(78.23%)
🐰 View full continuous benchmarking report in Bencher

@ElijahAhianyo ElijahAhianyo changed the title elijah/cot cli proxy/stack 4 help feat(cli): merge help output across builtin and project commands Sep 3, 2026
@ElijahAhianyo
ElijahAhianyo force-pushed the elijah/cot-cli-proxy/stack-4-help branch from 67ea649 to 34b4732 Compare September 3, 2026 05:24
@ElijahAhianyo
ElijahAhianyo marked this pull request as ready for review September 3, 2026 05:25
@ElijahAhianyo
ElijahAhianyo force-pushed the elijah/cot-cli-proxy/stack-4-help branch from 34b4732 to 972e7b3 Compare September 3, 2026 05:53
@ElijahAhianyo
ElijahAhianyo force-pushed the elijah/cot-cli-proxy/stack-4-help branch from 972e7b3 to 93d3b1e Compare September 3, 2026 18:05
@ElijahAhianyo
ElijahAhianyo requested review from a team and removed request for a team September 3, 2026 18:31
@codecov

codecov Bot commented Sep 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 98.24561% with 6 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
cot-cli/src/main.rs 94.66% 2 Missing and 2 partials ⚠️
cot-cli/src/handlers.rs 99.25% 0 Missing and 2 partials ⚠️
Flag Coverage Δ
rust 90.02% <98.24%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
cot-cli/src/args.rs 100.00% <ø> (ø)
cot-cli/src/handlers.rs 98.79% <99.25%> (ø)
cot-cli/src/main.rs 88.95% <94.66%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-deps Area: Dependencies C-cli Crate: cot-cli (issues and Pull Requests related to Cot CLI)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant