new Connections(app, config)
Create the service
Parameters:
| Name | Type | Description |
|---|---|---|
app |
App | The application |
config |
object | Configuration |
Members
-
<static> provides :string
-
Service name is 'commands.connections'
Type:
- string
-
<static> requires :Array.<string>
-
Dependencies as constructor arguments
Type:
- Array.<string>
Methods
-
<async> run(argv)
-
Run the command
Parameters:
Name Type Description argvArray.<string> Arguments Returns:
- Type
- Promise
-
<async> printTable(activeList, importedList, printHeader [, search])
-
Print the table
Parameters:
Name Type Argument Description activeListobject importedListobject printHeaderboolean searchstring <optional>
Returns:
- Type
- Promise