This repository has been archived by the owner on Jul 1, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
target_list
Marcel Kloubert edited this page May 28, 2017
·
3 revisions
Lets the user select an entry that contains settings for one or more other target.
The following example opens a list of entries (Directory 1
to Directory 3
) and will use the settings
of the selected one for Template for My FTP server
target:
{
"deploy": {
"targets": [
{
"name": "My FTP server",
"type": "list",
"description": "Deploys to 'Template for My FTP server' for the selected entry of this target.",
"entries": [
{
"name": "Directory 1",
"settings": {
"dir": "/home/myApp/dev_envs/dev1"
}
},
{
"name": "Directory 2",
"settings": {
"dir": "/home/myApp/dev_envs/dev2"
}
},
{
"name": "Directory 3",
"settings": {
"dir": "/home/myApp/dev_envs/dev3"
}
}
],
"targets": [ "Template for My FTP server" ]
},
{
"name": "Template for My FTP server",
"type": "ftp",
"dir": "You do not need to set this, because it is done by 'My FTP server'",
"isHidden": true
}
]
}
}
Name | Description |
---|---|
entries |
One or more entry. |
placeholder |
The custom placefolder for the GUI. |
targets |
One or more target (name) to deploy. |
Name | Description |
---|---|
description |
A description for the GUI. |
detail *
|
Detail information for the GUI. |
name |
A (display) name for the GUI. |
settings |
An object with settings for the target(s), defined by properties. |
* supports placeholders