Module: chiefCommander

Contains all of the top-level functions to manage the commands for the plugin.

Author:
  • Seth Hollingsead
Source:

Requires

Methods

(inner) initCommands() → {object}

Initializes all of the commands for the plugin, so they can be loaded by the Haystacks platform and used by the application.

Author:
  • Seth Hollingsead
Source:
Returns:

A JSON object that contains an array of function objects that map function name to function call for all of the commands.

Type
object

(inner) setupCommandAliases(pluginCommandAliasesPath) → {object}

Sets up all the plugin command aliases data.

Parameters:
Name Type Description
pluginCommandAliasesPath string

The path of the command aliases files for the plugin layer.

Author:
  • Seth Hollingsead
Source:
Returns:

A JSON object that contains all of the command aliases data loaded and parsed from the specified path.

Type
object