docs » plugins.core.commands.actions
An action which will execute a command with matching group/id values.
Registers itself with the core.action.manager.
| Signature | plugins.core.commands.actions.execute(action) -> boolean |
|---|---|
| Type | Function |
| Description | Executes the action with the provided parameters. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.commands.actions.getId(action) -> string |
|---|---|
| Type | Function |
| Description | Gets an ID from an action table |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.commands.actions.init(actionmanager, cmds) -> none |
|---|---|
| Type | Function |
| Description | Initialises the module. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.commands.actions.onChoices(choices) -> none |
|---|---|
| Type | Function |
| Description | Adds available choices to the selection. |
| Parameters |
|
| Returns |
|
| Signature | plugins.core.commands.actions.reset() -> nothing |
|---|---|
| Type | Function |
| Description | Resets the set of choices. |
| Parameters |
|
| Returns |
|