An Azure DevOps CLI client.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
azdo-cli-0.0.10.tar.gz
(7.3 kB
view hashes)
Built Distribution
azdo_cli-0.0.10-py3-none-any.whl
(12.9 kB
view hashes)
Close
Hashes for azdo_cli-0.0.10-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 273ba569e39ee53d42d9596bbe059465736cb41915a57ca15ce7c0adf5ee8b9b |
|
MD5 | d117c33b87a58a43f4e9d35e57117568 |
|
BLAKE2b-256 | 875176a7fe55a0fc8a65f73c4f5fb28e804702dea58c16a46d4efa02207b976b |