1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
|
.. _str: https://docs.python.org/2/library/stdtypes.html
.. _vim.Task: ../vim/Task.rst
.. _VI API 2.5: ../vim/version.rst#vimversionversion2
.. _vim.SimpleCommand.Encoding: ../vim/SimpleCommand/Encoding.rst
.. _vim.ServiceManager.ServiceInfo: ../vim/ServiceManager/ServiceInfo.rst
vim.SimpleCommand
=================
A managed object that wraps the execution of a single arbitrary command. The specific command executed is assumed to be known from the service name by the client invoking this command. This object presents a generic interface for such services.
:since: `VI API 2.5`_
Attributes
----------
encodingType (`vim.SimpleCommand.Encoding`_):
The encoding type used in the result.
entity (`vim.ServiceManager.ServiceInfo`_):
A description of the service.
Methods
-------
ExecuteSimpleCommand(arguments):
The single function execution point for this simple command. The actual effects of this command depend upon the service handler registered for this instance.
Privilege:
Global.ServiceManagers
Args:
arguments (`str`_, optional):
An arbitrary collection of arguments.
Returns:
`str`_:
|