DevOps Client is library designed to interact with the TFS apis.
This project is split into two packages:
- Jmelosegui.DevOps.Client - A netstandard library that contains a Rest client for the different endpoints in the Azure DevOps Api collection.
- Jmelosegui.DevOpsCLI - A CLI tool CLI that allows you to interact with Azure DevOps from the command line.
If you need to use a CI build add the following nuget feed.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<clear />
<add key="Jmelosegui.OSS" value="https://f.feedz.io/jmelosegui/oss/nuget/index.json" />
<add key="NuGet.org" value="https://api.nuget.org/v3/index.json" />
</packageSources>
</configuration>
Perform a one-time install of the Jmelosegui.DevOpsCLI
tool using the following dotnet CLI command:
dotnet tool install -g Jmelosegui.DevOpsCLI
If you need to install a pre-release version please specify the --version
argument
dotnet tool install -g Jmelosegui.DevOpsCLI --version 1.0.2-beta
If you need to use a CI build please specify the --add-source
argument
dotnet tool install -g Jmelosegui.DevOpsCLI --add-source https://f.feedz.io/jmelosegui/oss/nuget/index.json
To know all the available commands run
devops --help