vsts

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 project Commands to work with and manage team projects.
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 output=''.

--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 --token
[--instance]

Required Parameters

--token

PAT token for the VSTS account or your TFS project collection.

Optional Parameters

--instance -i

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

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.