Azure DevOps Extension for Azure CLI
Перейти к файлу
v-soujanya c5a344c399
Added install Setup tools Task (#1385)
* Added install Setup tools Task

* Removed Unnecessary parens after 'if' keyword

* Fixed issue with Too many statements (61/50) (too-many-statements)

* diabled pylint on conditions

* Added install setuptools task

* fixing pipeline failures on Run test mac job

* Downgraded python version to 3.10 as some modules were deprecated
2023-12-05 17:05:22 +05:30
.azure-pipelines Added install Setup tools Task (#1385) 2023-12-05 17:05:22 +05:30
.github versionIncompatabilitychanges (#1335) 2023-01-16 16:19:55 +05:30
.vscode PostRelease25 (#1269) 2022-03-31 12:11:50 +05:30
BuildTasks Bump semver from 5.7.1 to 5.7.2 in /BuildTasks/markWorkItemAsStale (#1360) 2023-07-13 14:57:07 +05:30
azure-devops Added install Setup tools Task (#1385) 2023-12-05 17:05:22 +05:30
doc pipelinefailedissuefixes (#1334) 2023-01-16 15:10:12 +05:30
examples Update PRReportGeneration.ps1 (#773) 2019-09-05 15:39:45 +05:30
scripts Zhentan exitcode (#1049) 2020-09-11 09:09:13 -07:00
tests pipelinefailedissuefixes (#1334) 2023-01-16 15:10:12 +05:30
.flake8 pipelinefailedissuefixes (#1334) 2023-01-16 15:10:12 +05:30
.gitattributes Update git attributes to allow install scripts to be in LF 2017-11-09 10:25:19 -05:00
.gitignore Added continuous-token as response (#1243) 2022-02-17 17:59:34 +05:30
.mdlrc Fix markdownlint issues (#383) 2019-01-29 11:00:38 +05:30
CONTRIBUTING.md Update on how this repo will track bugs and questions going forward (#1140) 2021-07-12 21:59:40 +05:30
LICENSE Initial commit 2017-10-20 10:39:14 -07:00
NOTICE.txt Adding TPN just for the reference 2020-03-04 15:42:03 +05:30
README.md Reference url chagned (#1159) 2021-07-19 11:46:31 +05:30
SECURITY.md Update to fix build errors (#1288) 2022-08-01 15:34:45 +05:30
pylintrc Minor fixes from bug bash (#799) 2019-09-25 10:27:09 +05:30

README.md

Azure DevOps Extension for Azure CLI

Build Status

The Azure DevOps Extension for Azure CLI adds Pipelines, Boards, Repos, Artifacts and DevOps commands to the Azure CLI 2.0.

The Azure CLI with the Azure DevOps Extension has replaced the VSTS CLI. The VSTS CLI has been deprecated and will no longer be receiving new features. We recommend that users of the VSTS CLI switch to the Azure CLI and add the Azure DevOps extension. See the Command Mapping section to view the mapping between VSTS CLI and Azure DevOps Extension commands.

Quick start

  1. Install the Azure CLI. You must have at least v2.0.69, which you can verify with az --version command.

  2. Add the Azure DevOps Extension az extension add --name azure-devops

  3. Run the az login command.

    If the CLI can open your default browser, it will do so and load a sign-in page. Otherwise, you need to open a browser page and follow the instructions on the command line to enter an authorization code after navigating to https://aka.ms/devicelogin in your browser. For more information, see the Azure CLI login page.

See the Get started guide for detailed setup instructions.

Usage

$az [group] [subgroup] [command] {parameters}

Adding the Azure DevOps Extension adds devops, pipelines, artifacts, boards and repos groups. For usage and help content for any command, pass in the -h parameter, for example:

$ az devops -h

Group
    az devops : Manage Azure DevOps organization level operations.
        Related Groups
        az pipelines: Manage Azure Pipelines
        az boards: Manage Azure Boards
        az repos: Manage Azure Repos
        az artifacts: Manage Azure Artifacts.

Subgroups:
    admin            : Manage administration operations.
    extension        : Manage extensions.
    project          : Manage team projects.
    security         : Manage security related operations.
    service-endpoint : Manage service endpoints/service connections.
    team             : Manage teams.
    user             : Manage users.
    wiki             : Manage wikis.

Commands:
    configure        : Configure the Azure DevOps CLI or view your configuration.
    feedback         : Displays information on how to provide feedback to the Azure DevOps CLI team.
    invoke           : This command will invoke request for any DevOps area and resource. Please use
                       only json output as the response of this command is not fixed. Helpful docs -
                       https://docs.microsoft.com/en-us/rest/api/azure/devops/.
    login            : Set the credential (PAT) to use for a particular organization.
    logout           : Clear the credential for all or a particular organization.

Contribute

See our contribution guidelines to learn how you can contribute to this project.

TLDR of contribution guidelines

Questions : Stack Overflow
Bug reports : Developer Community
New Feature request : Azure DevOps repo

License

MIT License