Typedef
Static Public Summary | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
Static Public
public InitOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be initialized |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
lintstyle | string |
|
The lintstyle to pass through to the template creator |
template | string |
|
The custom template to use. If left empty, the default template is used |
public InstallOptions: Object source
Properties:
Name | Type | Attribute | Description |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
prerelease | boolean |
|
Whether to install prerelease versions |
repo | string | The GitHub repository to install from, in the format owner/name |
|
chooseAsset | function | A function that must return the asset to use/install from a provided array of compatible GitHub assets |
public MakeOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app from which distributables are generated |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
skipPackage | boolean |
|
Whether to skip the pre-make packaging step |
overrideTargets | Array<string> |
|
An array of make targets to override your forge config |
arch | string |
|
The target architecture |
platform | string |
|
The target platform. NOTE: This is limited to be the current platform at the moment |
public PackageOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to package |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
arch | string |
|
The target arch |
platform | string |
|
The target platform. NOTE: This is limited to be the current platform at the moment |
public PublishOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be published |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
authToken | string |
|
An authentication token to use when publishing |
tag | string |
|
The string to tag this release with |
target | string |
|
The publish target |
makeOptions | MakeOptions |
|
Options object to passed through to make() |
public StartOptions: Object source
Properties:
Name | Type | Attribute | Description |
dir | string |
|
The path to the app to be run |
interactive | boolean |
|
Whether to use sensible defaults or prompt the user visually |
enableLogging | boolean |
|
Enables advanced internal Electron debug calls |
args | Array<string> |
|
Arguments to pass through to the launched Electron application |