What's the difference between aliases and abstract commands? #201
-
It seems like they just do the same thing, but an alias defintion is more readable since it's in the form of What's the actual use case for asbstract commands? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
We had a lenghtly discussion on this on issue #148, but I think you can better grasp the difference from how they are used in the example config: Abtract commands are context aware, which makes it possible to define a global mapping like |
Beta Was this translation helpful? Give feedback.
Yeah, one may get by with aliases alone.
Beside the validation that everything is properly mapped, these features come into my mind:
With abstract commands one only has to worry about the mapping order when the input side is defined:
They also allow to map multiple inputs to the same output: