dotnet / dotnet/command-line-api

Feature request: Match commands by prefix

Open
#735 1 comment 1 reaction 0 assignees View on GitHub
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

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.