dotnet / dotnet/command-line-api
[Feature or Documentation Request] How to get the list of completions at runtime?
Open
needs documentation
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
I'm making a REPL with `System.CommandLine` and so far it's going great. One thing missing is tab completion. Ideally I could do something like `parser.GetCompletions("tic")`. Is this currently possible?
It seems most of the things related to completions are internal. If it isn't currently possible, how easy would it be to work around it?
Contributor guide
Assessment
This issue has not been assessed yet.