Skip to content

Conversation

@stephanos
Copy link
Contributor

@stephanos stephanos commented Dec 19, 2025

What was changed

Implemented "Discovery and Help Text" from the CLI extension proposal.

Checklist

  1. Closes

  2. How was this tested:

  1. Any docs updates needed?

@stephanos stephanos force-pushed the help-ext branch 8 times, most recently from 9527c5b to a5ab27d Compare December 19, 2025 23:48
@stephanos stephanos marked this pull request as ready for review December 19, 2025 23:55
@stephanos stephanos requested review from a team as code owners December 19, 2025 23:55
// Try most-specific to least-specific.
parts := append(cmdPrefix, posArgs...)
for n := len(parts); n > len(cmdPrefix); n-- {
path, err := exec.LookPath(extensionPrefix + strings.Join(parts[:n], extensionSeparator))
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 was finding files on Windows that weren't actually executables; the new isExecutable addresses that.

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