In napari/napari#8661 (comment) we discussed the possibility of having some form of command/action aliases (or keywords?) to assign to an action to be used for searching purposes. While we could do that simply with a dictionary, I wonder if this is something useful to have in general? Something like:
class CommandRule:
...
aliases: set[str]
So we'd have something like:
Action(..., title='Color Bar', aliases={'Calibration Bar', 'Color Legend'})
Altenratively, is there a simpler way to do something like this so that this info lives on the action rather that in some other third mapping?
In napari/napari#8661 (comment) we discussed the possibility of having some form of command/action aliases (or keywords?) to assign to an action to be used for searching purposes. While we could do that simply with a dictionary, I wonder if this is something useful to have in general? Something like:
So we'd have something like:
Altenratively, is there a simpler way to do something like this so that this info lives on the action rather that in some other third mapping?