vsts-cli

Microsoft Visual Studio Team Services (VSTS) CLI.

Github星跟蹤圖

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.

License

MIT License

主要指標

概覽
名稱與所有者Azure/azure-devops-cli-extension
主編程語言Python
編程語言Python (語言數: 2)
平台Linux, Mac, Windows
許可證MIT License
所有者活动
創建於2017-10-20 17:39:11
推送於2025-02-25 06:31:12
最后一次提交2025-02-25 12:01:12
發布數43
最新版本名稱20240514.1 (發布於 )
第一版名稱0.1.0.b0 (發布於 2017-11-14 23:31:00)
用户参与
星數651
關注者數41
派生數257
提交數1k
已啟用問題?
問題數711
打開的問題數283
拉請求數594
打開的拉請求數32
關閉的拉請求數107
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?