Add a local-global command.
Add a local-global command.This somewhat surreal function is mostly used internally. You can use it to add your own handlers, but they will only be valid while the user is in your module. This is still useful to implement commands that work anywhere within one module only.