graphmine-core / io.github.sof3.graphmine.command / CommandMap / addCommand
fun <C : Scope> addCommand(command: Command<C>, scope: C): CommandMap
Adds a command to the map.
command - the command to be added
scope - the scope that owns the command