Function addCommand

addCommand(descriptor: ICommandDescriptor): IDisposable

Add a command.