Extends
Methods
# protected _parseCommand(command, next, callbackopt) → {string|object}
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
command |
Array.<string>
|
string
|
the command split into words |
|
next |
Array.<string>
|
the following Commands |
|
callback |
function
|
<optional> |
for async versatility |
the command argument
string
|
object
# protected _runCommand(arg, bar, options, callback)
Parameters:
| Name | Type | Description |
|---|---|---|
arg |
Array.<string>
|
the command argument |
bar |
Archive
|
|
options |
object
|
|
callback |
function
|
# execute(args, baropt, nextopt, optionsopt, callback)
Parses the command text and executes the command onto the provided DSU
.Parses the command text and executes the command onto the provided DSU
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
args |
Array.<string>
|
string
|
the arguments of the command split into words |
|
bar |
Archive
|
KeySSI
|
<optional> |
the destinationDSU or the keySSI |
next |
Array.<string>
|
<optional> |
the remaining commands |
options |
object
|
<optional> |
|
callback |
function
|