src/Core/Loaders/CommandLoader.js
/**
     * Register a Command. Register its subcommands if it has any.
     *
     * @param {Command} command - Command object
     * @param {CommandRegistry} registry - The registry to register the command into
     * @memberof CommandLoader
     */
Register a Command. Register its subcommands if it has any.
@param {Command} command - Command object
@param {CommandRegistry} registry - The registry to register the command into
@memberof CommandLoader
Register a Command . Register its subcommands if it has any . @param { Command } command - Command object @param { CommandRegistry } registry - The registry to register the command into @memberof CommandLoader
registerCommand(command, registry) {
        command._init();
        registry.register(command.label, command); 
    }
registerCommand ( command , registry ) { command . _init ( ) ; registry . register ( command . label , command ) ; }
Register a Command.
Register a Command .
// add the command to the Map of commands.