2015-10-07 10:51:59 +02:00
|
|
|
# VSCode Extension Manager
|
2015-09-28 19:34:49 +02:00
|
|
|
|
2015-10-09 10:19:23 +02:00
|
|
|
This tool assists in publishing Visual Studio Code extensions.
|
|
|
|
|
2015-10-13 11:15:27 +02:00
|
|
|
[**Documentation**](https://github.com/Microsoft/vscode-extensionbuilders/blob/master/docs/tools/vscecli.md)
|
2015-10-08 14:17:55 +02:00
|
|
|
|
|
|
|
## Usage
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
First, install using npm:
|
2015-10-07 11:59:27 +02:00
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
```
|
|
|
|
npm install -g vsce
|
2015-10-07 11:59:27 +02:00
|
|
|
```
|
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
Then, `cd` to your extension's directory.
|
|
|
|
It is good practice to list the files that will be included in your extension's
|
|
|
|
package, before you actually publish:
|
2015-10-07 11:59:27 +02:00
|
|
|
|
|
|
|
```
|
|
|
|
$ vsce ls
|
|
|
|
hello.js
|
|
|
|
package.json
|
|
|
|
```
|
|
|
|
|
2015-10-07 16:10:57 +02:00
|
|
|
Publish away:
|
2015-09-28 19:34:49 +02:00
|
|
|
|
|
|
|
```
|
2015-10-07 11:59:27 +02:00
|
|
|
$ vsce publish
|
|
|
|
Publishing uuid@0.0.1...
|
|
|
|
Successfully published uuid@0.0.1!
|
2015-09-28 19:34:49 +02:00
|
|
|
```
|