Update core_plugin.py

Update docstring for invoke_command.