This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 42
target_list
Marcel Kloubert edited this page Jan 6, 2018
·
6 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.reloaded": {
"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. This can also be a string, which contains a path or URI from where to load the entries from (s. external sources). Relative and local paths will be mapped to the current user's home directory (.vscode-deploy-reloaded sub folder) or settings (.vscode) folder. |
targets |
One or more target (names) to deploy. |
| Name | Description |
|---|---|
description*
|
A description for the GUI. |
name*
|
A (display) name for the GUI. |
settings |
An object with settings for the target(s), defined by properties. This can also be a string, which contains a path or URI from where to load the settings from. |
* supports placeholders