Azure DevOps Extension for Azure CLI
Перейти к файлу
Will 保哥 00dc66918e Update samples.md (#654)
`az pipelines build show --build-id 1 --open` should change to `az pipelines build show --id 1 --open`
2019-06-03 11:04:24 +05:30
.azure-pipelines Version bump to 0.10.0 (#645) 2019-05-30 10:09:18 +05:30
.github Upgrade version to 0.8.0 (#575) 2019-05-06 14:00:14 +05:30
.vscode Version bump to 0.10.0 (#645) 2019-05-30 10:09:18 +05:30
azure-devops Fix pylint for help text (#649) 2019-05-31 08:59:51 +05:30
doc Update samples.md (#654) 2019-06-03 11:04:24 +05:30
examples Including Scaffolding readme updates (#636) 2019-05-29 11:48:19 +05:30
scripts Fix param names in extension commands (#598) 2019-05-17 13:52:31 +05:30
tests Git alias fix for windows and tests (#626) 2019-05-27 10:37:12 +05:30
.flake8 [Major Change] Moving API version to 5.x (#492) 2019-03-27 18:41:24 +05:30
.gitattributes Update git attributes to allow install scripts to be in LF 2017-11-09 10:25:19 -05:00
.gitignore [Major Change] Moving API version to 5.x (#492) 2019-03-27 18:41:24 +05:30
.mdlrc Fix markdownlint issues (#383) 2019-01-29 11:00:38 +05:30
CONTRIBUTING.md Fix markdownlint issues (#383) 2019-01-29 11:00:38 +05:30
LICENSE Initial commit 2017-10-20 10:39:14 -07:00
README.md Update output of devops -h in readme.md (this was outdates) (#637) 2019-05-27 15:27:34 +05:30
pylintrc [Major Change] Moving API version to 5.x (#492) 2019-03-27 18:41:24 +05:30

README.md

Build Status

Azure DevOps Extension for Azure CLI

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

The Azure DevOps Extension is currently in preview but we encourage you to give it a try and provide feedback (or contribute).

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.49, 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