Jmelosegui.DevOpsCLI

devops is a command line tool designed to interact with the Azure DevOps and Azure DevOps Server APIs


Keywords
Azure, CD, CI, DevOps, TFS
License
MIT
Install
Install-Package Jmelosegui.DevOpsCLI -Version 1.2.4

Documentation

DevOps Client

Build Status NuGet Badge NuGet Badge

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.

Installing the devops .NET Standard Client package

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>

Using the devops .NET Core CLI tool

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