Constructor
# abstract new Command(varStore, sourceopt, canRunIterativelyopt)
Base class for the Commands.
Base class for the Commands.
Provides the basic functionality for all commands
Arguments cannot have spaces (other than in stringyfied JSONS)
Every Command must be registered under the index.js file in the commands folder
- Source object:
- any;
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
varStore |
VarStore
|
||
source |
Archive
|
fs
|
<optional> |
|
canRunIteratively |
boolean
|
<optional> |
defines if the command can expect multiple arguments and run multiple times. defaults to false |