azdo-cli
A command-line interface client for Azure DevOps
Requirements
- Python 3.x
Installation
pip install azdo-cli
Usage
Initialize your settings.ini file by typing in your terminal:
> azdocli init
When running the CLI application, make sure that you have this file in the working directory.
To list the available commands:
> azdocli --help
Sample:
> azdocli projects getall
{
'count': 2,
'values': [
{
'id': '1234-5678-9101',
'name': 'sample_project_01'
},
{
'id': '2468-1012-1416',
'name': 'sample_project_02'
}
]
}
Available Commands
projects getall
// lists all projects in the organization
projects get --projectname project_name
// gets the specific project
teams getall
// lists all teams in the organization
teams get --projectname project_name
// lists all teams in the project
teams get --projectname project_name --teamid team_id
// gets the specific team
Roadmap
list_runs(project_id, pipeline_id) -> pipelineruns get
// lists the runs of the project
get_service_endpoints(project_id) -> svc get
// list the service endpoints of the project
get_service_endpoint_details(project_id, endpoint_id) -> svc getone
// gets the specific endpoint
list_pipelines(project_id) -> pipelines get
// list the pipelines of the project
get_pipeline(project_id, pipeline_id) -> pipelines getone
// gets the specific pipeline
get_run(project_id, pipeline_id, run_id) -> pipelineruns getone
// gets the specific run
get_accounts(owner_id=None, member_id=None)
get_build(project_id, build_id) -> builds getone
get_builds(project_id) -> builds get
Metadata
Release files for azdo-cli 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| azdo-cli-1.0.1.tar.gz | 8.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| azdo_cli-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.2 kB
Release files / azdo-cli-1.0.1.tar.gz
| Download URL | azdo-cli-1.0.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc31e9b052f45466f89d75e2c18e0b4d5ba5170d1739f6e47aa849378a3188c8
|
|
BLAKE2b-256 checksum How to use checksums |
ee919b7a18fe7ae4a35916809fc48e08bcdf5d3da7cad5ee09a8839a153c6349
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Release files / azdo_cli-1.0.1-py3-none-any.whl
| Download URL | azdo_cli-1.0.1-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
824d53aa4846c0afef02cbeb2911cb4d7df361502b09e6bc000424e5baa54551
|
|
BLAKE2b-256 checksum How to use checksums |
948078b1eb18dae59d8dda71ca1f289e6af4acd0bcf533acebb899276987696e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|