dotnet / dotnet/command-line-api

Feature Request: Allow for hiding individual aliases

Open
#1,859 5 comments 2 reactions 0 assignees View on GitHub
Area-API enhancement
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

My current process for renaming aliases looks like the following:
1. Create a new symbol (lets take an Option for example) with the new aliases I want
2. Mark the previous symbol `IsHidden=true`
3. When executing a command, I am not forced to pull both values and determine which gets precedence despite this really only being a single thing. This also makes doing things like validation more difficult.

Alternatively, I could always modify the help build to hide to aliases that I don't want displayed. However, at present, this would require more code, than the above solution.

What I would like is the ability to mark individual aliases as hidden so that I only have a single symbol to manage.

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.