Skip to content

Commit be06c90

Browse files
committed
More doc updates
1 parent 31176de commit be06c90

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Creates an http server listening for commands.
44

55
## Features
66

7-
On startup, spawns an http server listening for commands. The port of the server for the active editor is written to a file named `vscode-port` in the operating system's default directory for temporary files.
7+
On startup, spawns an http server listening for commands to execute. The port
8+
of the server for the active editor is written to a file named `vscode-port` in
9+
the operating system's default directory for temporary files.
810

911
Accepts requests of the form:
1012

@@ -19,6 +21,10 @@ POST /execute-command HTTP/1.1
1921
}
2022
```
2123

22-
Upon receiving the above, this extension would run the command `some-command-id` with argument `"some-argument"`.
24+
Upon receiving the above, this extension would run the command
25+
`some-command-id` with argument `"some-argument"`.
26+
27+
Note that the server is bound to `localhost`, so it will only accept commands
28+
from processes running on the same host as VSCode.
2329

2430
## Release Notes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"type": "git",
99
"url": "https://github.com/pokey/command-server"
1010
},
11-
"version": "0.1.2",
11+
"version": "0.1.3",
1212
"engines": {
1313
"vscode": "^1.53.0"
1414
},

0 commit comments

Comments
 (0)