diff options
| author | Jordan Wiens <jordan@psifertex.com> | 2020-11-08 14:18:37 -0500 |
|---|---|---|
| committer | Jordan Wiens <jordan@psifertex.com> | 2020-11-08 14:18:37 -0500 |
| commit | a1cecfa5245ecec8ae1530a979825827296f612f (patch) | |
| tree | 8ab57fb91b211bfdbba3abacf0b36a96ce37dbf9 /python/plugin.py | |
| parent | 4916ad08adec80d697280ebb9d4ed92949551470 (diff) | |
small documentation improvements to demonstrate plugin loading and caveat open_view behavior around bndb loading
Diffstat (limited to 'python/plugin.py')
| -rw-r--r-- | python/plugin.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/python/plugin.py b/python/plugin.py index 3dc5ae7f..326e3c35 100644 --- a/python/plugin.py +++ b/python/plugin.py @@ -540,6 +540,16 @@ class PluginCommand(with_metaclass(_PluginCommandMetaClass, object)): return False def execute(self, context): + r""" + ``execute`` Execute a Plugin + + :param str context: PluginCommandContext to pass the PluginCommamnd + :rtype: None + + >>> ctx = PluginCommandContext(bv); + >>> PluginCommand.get_valid_list(ctx)[r'PDB\Load'].execute(ctx) + + """ if not self.is_valid(context): return if self._command.type == PluginCommandType.DefaultPluginCommand: |
