

function MyTestCompletion {
param($wordToComplete, $commandAst)
$commandTree = & {
New-CommandTree build "Compile the current package" {
New-CommandTree "--quiet" "output printed to stdout"
New-CommandTree "--package" "Package to build (see `cargo help pkgid`)"
New-CommandTree "--all" "for --workspace (deprecated)"
New-CommandTree "-workspace" "all packages in the workspace"
New-CommandTree "-exclude" "Exclude packages from the build"
}
}
Get-CommandTreeCompletion $wordToComplete $commandAst $commandTree
}
Register-ArgumentCompleter -CommandName mytest -Native -ScriptBlock $function:MyTestCompletion
@dfinke thanks for opening this issue, and providing the screenshots...it would be really helpful if you could also attach the logs so that we can see where the message is getting lost--instructions for how to do that are here
Here's the log, let me know if I need to provide other info.
I've got a fix out for this. ^
What version of the ext is this expected in? Tried in the latest, doesn't seem to work.
The next version.
Most helpful comment
I've got a fix out for this. ^