jp (ad-hoc): new "list" and "run" commands:

- list just display commands available at ad-hoc entry point. --verbose allows to display values names, which is useful for automation.

- run can either run interactively a command, or execute a workflow to automate them.
This commit is contained in:
Goffi 2017-10-31 23:20:04 +01:00
commit 3927da13c3

View file

@ -859,7 +859,7 @@ class CommandAnswering(CommandBase):
to manage action_types answer,
"""
action_callbacks = {} # XXX: set managed action types in an dict here:
action_callbacks = {} # XXX: set managed action types in a dict here:
# key is the action_type, value is the callable
# which will manage the answer. profile filtering is
# already managed when callback is called