src/vs/editor/standalone/browser/standaloneEditor.ts/registerCommand
export function registerCommand(id: string, handler: (accessor: any, ...args: any[]) => void): IDisposable {
	return CommandsRegistry.registerCommand({ id, handler });
}