The `azdo-cli` package provides a command-line interface for interacting with Azure DevOps services. It allows users to manage various Azure DevOps resources, such as work items, pull requests, and comments, directly from their terminal. The current stable version, as indicated by the latest release, is v0.9.0. The project exhibits an active development cadence, with frequent minor feature releases and dependency updates, suggesting ongoing maintenance and expansion of its capabilities. It serves as a lightweight alternative for automating Azure DevOps tasks and integrating them into scripts, potentially offering a more streamlined experience for specific use cases compared to the broader `az devops` extension for the Azure CLI, focusing on developer-centric operations.
npm install azdo-cliNo compatibility data collected yet for this library.
This quickstart demonstrates how to install `azdo-cli`, configure it with your Azure DevOps organization and a Personal Access Token (PAT), and then provides examples for listing work items, creating a new bug, and adding a comment to a pull request using the command-line interface.
After upgrading to v0.4.0 or newer, explicitly re-run `azdo-cli config set` for any sensitive configurations like `AZDO_PAT` or ensure they are correctly set via environment variables.
Verify and update the scopes of your Personal Access Token in Azure DevOps under 'User settings' -> 'Personal access tokens' to match the permissions required by the commands you intend to use.
Ensure that `azdo-cli config set organization "your-org"` and `azdo-cli config set project "your-project"` have been executed, or include `--organization "your-org" --project "your-project"` with relevant commands.
Set `export AZDO_PAT="YOUR_PAT_HERE"` in your shell profile or use a secret management system, then `azdo-cli` will automatically pick it up without needing `config set` for the PAT.
Run `npm install -g azdo-cli` to install it globally, or use `npx azdo-cli [command]` to execute it without a global installation.
Verify your `AZDO_PAT` environment variable or the PAT configured via `azdo-cli config set`, ensure it's not expired and has the necessary scopes. Double-check the spelling of your organization and project names.
Consult the command's help (`azdo-cli work-item create --help`) and provide all mandatory arguments, such as `--title` for creating a work item.
Verify the ID and name of the resource you are trying to access. Ensure you are operating within the correct Azure DevOps organization and project context.
No dependency data recorded yet.