-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
As I've used this library to build applications, I've recognized a need for experimental commands, beta commands, and even hidden commands (hidden from help).
It would be nice to have a "tag" or some other identifier to identify which commands are experimental, which should be hidden, etc.
One possible implementation is:
new Command({
name: 'cmd',
tags: ['beta'],
async handler () {...}
})Special tags may have special documentation/help features:
hidden: available, but does not show upignore: completely ignore the command (won't run)experimental: prefixes description withEXPERIMENTAL.deprecated: prefixes description withDEPRECATED.
Tags should be exposed to command handlers and directly through the shell, making it possible for developers to create custom functionality for tagged commands.
| Please use the reactions to cast a vote in favor of or against this feature suggestion » | ![]() |
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
