Package, publish, and manage Team Services and Team Foundation Server extensions. To learn more, see an introduction to extensions.
To learn more about TFX, its pre-reqs and how to install, see the readme
tfx extension create
--root
: Root directory.--manifests
: List of individual manifest files (space separated).--manifest-globs
: List of globs to find manifests (space separated).--override
: JSON string which is merged into the manifests, overriding any values.--overrides-file
: Path to a JSON file with overrides. This partial manifest will always take precedence over any values in the manifests.--rev-version
: Rev the latest version number of the extension and save the result.--bypass-validation
: Bypass local validation.--publisher
: Use this as the publisher ID instead of what is specified in the manifest.--extension-id
: Use this as the extension ID instead of what is specified in the manifest.--output-path
: Path to write the VSIX.--loc-root
: Root of localization hierarchy (see README for more info).
tfx extension create --publisher mypublisher --manifest-globs myextension.json
For example, assume the extension's version is currently 0.4.0
tfx extension create --rev-version
The version included in the packaged .VSIX and in the source manifest file is now 0.4.1
.
- This tool will merge any number of manifest files (all in JSON format), which will then specify how to package your Extension. See the Manifest Reference documentation
tfx extension publish
In addition to all of the extension create
options, the following options are available for extension publish
:
--vsix
: Path to an existing VSIX (to publish or query for).--share-with
: List of accounts (VSTS) with which to share the extension.
tfx extension publish --publisher mypublisher --manifest-globs myextension.json --share-with myaccount
- By default,
publish
first packages the extension using the same mechanism astfx extension create
. All options available forcreate
are available forpublish
. - If an Extension with the same ID already exists publisher, the command will attempt to update the extension.
- When you run the
publish
command, you will be prompted for a Personal Access Token to authenticate to the Marketplace. For more information about obtaining a Personal Access Token, see Publish from the command line.
tfx extension publisher
: Commands for creating and managing publishers.tfx extension install
: Install a Visual Studio Services Extension to a list of VSTS Accounts.tfx extension show
: Show information about a published extension.tfx extension share
: Share an extension with an account.tfx extension unshare
: Unshare an extension with an account.
For more details on a specific command, run:
tfx extension {command} --help