GraphMine

graphmine-core / io.github.sof3.graphmine.command / CommandMap / addCommand

addCommand

fun <C : Scope> addCommand(command: Command<C>, scope: C): CommandMap

Adds a command to the map.

Parameters

command - the command to be added

scope - the scope that owns the command