0.9.1 • Published 16 days ago

ovsx v0.9.1

Weekly downloads
3,229
License
EPL-2.0
Repository
github
Last release
16 days ago

ovsx

Command line interface for Eclipse Open VSX. Run it via npx or install it with

npm install --global ovsx

ovsx uses open-vsx.org as default instance for publishing and downloading extensions. If you are using a different instance, specify it via the --registryUrl (or -r) argument or an environment variable named OVSX_REGISTRY_URL.

Publish Extensions

You can use ovsx for publishing VS Code extensions to an Open VSX instance. This is very similar to vsce, the publishing tool for the Visual Studio Code Marketplace.

You must create a personal access token before you can use osvx to publish. You can either pass the token via the --pat (or -p) argument, or put it into an environment variable named OVSX_PAT.

Variants:

  • ovsx publish packages the extension in the current working directory using vsce and then publishes it.
  • ovsx publish --packagePath <path> packages the extension in the given path using vsce and then publishes it.
  • ovsx publish <file> publishes an already packaged file.

Create a Namespace

The publisher field of your extension's package.json defines the namespace into which the extension will be published. Before you publish the first extension in a namespace, you must create it. This requires an access token as described above.

  • ovsx create-namespace <name> creates the specifed namespace. The name must correspond to the publisher of your extension.

Creating a namespace does not automatically give you the exclusive publishing rights. Initially, everyone will be able to publish an extension with the new namespace. If you want exclusive publishing rights, you can claim ownership of a namespace.

Download Extensions

You can use ovsx for downloading extensions from an Open VSX instance. Extensions are identified with the format namespace.extension, and an exact version or version range can be specified with the --version (or -v) argument. The namespace corresponds to the publisher entry of the package.json file.

Variants:

  • ovsx get <extension> downloads an extension and saves it in a file as specified in its download URL (usually in the format namespace.extension-version.vsix) in the current working directory.
  • ovsx get <extension> -o <path> downloads an extension and saves it in the specified file or directory.
  • ovsx get <extension> --metadata downloads the JSON metadata of an extension and prints it to the standard output.
  • ovsx get <extension> --metadata -o <path> downloads the JSON metadata of an extension and saves it in the specified file or directory.
0.9.1

16 days ago

0.9.0

1 month ago

0.8.4

1 month ago

0.8.3

9 months ago

0.8.2

10 months ago

0.8.1

12 months ago

0.8.0

1 year ago

0.7.1

1 year ago

0.7.0

1 year ago

0.5.2

2 years ago

0.6.0

1 year ago

0.5.0

2 years ago

0.4.0

2 years ago

0.5.1

2 years ago

0.3.0

2 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago