dotnet / dotnet/command-line-api
Feature request: Match commands by prefix
Open
enhancement
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
Many interactive programs will match commands by prefix. In GDB for example, `dis`, `disas`, `disassem`, etc are all equivalent to `disassemble`. Having an out-of-the-box option that could enable this command matching behavior would make the experience of using `System.CommandLine` for such scenarios much smoother. I imagine it could be implemented as a middleware function.
Contributor guide
Assessment
This issue has not been assessed yet.