dotnet / dotnet/command-line-api

Suggestions don't work when tool is invoked as a dotnet subcommand

Open
#2,129 2 comments 0 reactions 0 assignees View on GitHub
Area-Completions bug duplicate
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

I have a tool named `dotnet-shift`.

The tool can either be invoked as `dotnet-shift`, or it can be invoked as `dotnet shift`.

When the former syntax is used to invoke the tool, the command completions work.
And when the latter is used, they don't.

My understanding is that for this to work, the .NET SDK should pass on the request for suggestions to the tool that gets invoked.

cc @jonsequitur @adamsitnik

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.