30 lines
887 B
JSON
30 lines
887 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "telnet_server: Start TELNET Docker",
|
|
"type": "shell",
|
|
"command": "./telnet/run_telnet.sh",
|
|
"args": [
|
|
"${input:host}",
|
|
"${input:port}"
|
|
],
|
|
"detail": "Starts a Docker container (in interactive mode) that runs TELNET and connects to given host and port",
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "host",
|
|
"type": "promptString",
|
|
"default": "host.docker.internal",
|
|
"description": "Which host should the TELNET client connect to?"
|
|
},
|
|
{
|
|
"id": "port",
|
|
"type": "promptString",
|
|
"default": "9000",
|
|
"description": "Which port should the TELNET client connect to?"
|
|
},
|
|
]
|
|
} |