vsts

Commands

vsts admin Administration commands.
vsts build Commands to work with and manage builds.
vsts code Commands to work with and manage code repositories.
vsts configure Configure the VSTS CLI or view your configuration.
vsts feedback Displays information on how to provide feedback to the VSTS CLI team.
vsts login Set the credential (PAT) to use for a particular account.
vsts logout Clear the credential for a particular account.
vsts package Commands to work with and manage packages.
vsts project Commands to work with and manage team projects.
vsts release Commands to work with and manage releases.
vsts work Commands to work with and manage work items.

vsts configure

Configure the VSTS CLI or view your configuration.

vsts configure [--collect-telemetry {no, yes}]
[--default-output {json, jsonc, table, tsv}]
[--defaults]
[--disable-version-check]
[--enable-log-file {no, yes}]
[--list]
[--use-git-aliases {no, yes}]

Optional Parameters

--collect-telemetry

Microsoft would like to collect anonymous VSTS CLI usage data to improve our CLI. Participation is voluntary and when you choose to participate, your device automatically sends information to Microsoft about how you use the VSTS CLI. The data is anonymous and does not include commandline argument values. Set to 'yes' to enable telemetry collection or 'no' to disable it.

accepted values: no, yes
--default-output

Specifies the default output format for commands.

accepted values: json, jsonc, table, tsv
--defaults -d

Space separated 'name=value' pairs for common arguments defaults, e.g. '--defaults output=table arg=value' Use '' to clear the defaults, e.g. --defaults instance='' project='' output=''. Allowed values for arg are - output, instance and project.

--disable-version-check

Set to 'yes' to disable checking for updated versions of the CLI.

--enable-log-file

Set to 'yes' to enable logging to file, or 'no' to disable.

accepted values: no, yes
--list -l

Lists the contents of the config file.

--use-git-aliases

Set to 'yes' to configure Git aliases global git config file (to enable commands like "git pr list"). Set to 'no' to remove any aliases set by the tool.

accepted values: no, yes

vsts feedback

Displays information on how to provide feedback to the VSTS CLI team.

vsts feedback

vsts login

Set the credential (PAT) to use for a particular account.

vsts login [--instance]
[--token]

Optional Parameters

--instance -i

The URI for the VSTS account (https://<account>.visualstudio.com) or your TFS project collection.

--token

PAT token for the VSTS account or your TFS project collection. If not supplied, you will be prompted for your token.

vsts logout

Clear the credential for a particular account.

vsts logout [--instance]

Optional Parameters

--instance -i

The URI for the VSTS account (https://<account>.visualstudio.com) or your TFS project collection.