ado-cli 0.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- ado_cli-0.0.1/.github/workflows/publish.yml +17 -0
- ado_cli-0.0.1/.gitignore +10 -0
- ado_cli-0.0.1/.pre-commit-config.yaml +16 -0
- ado_cli-0.0.1/PKG-INFO +20 -0
- ado_cli-0.0.1/README.md +0 -0
- ado_cli-0.0.1/pyproject.toml +44 -0
- ado_cli-0.0.1/src/ado/__main__.py +4 -0
- ado_cli-0.0.1/src/ado/cli.py +794 -0
- ado_cli-0.0.1/src/ado/client.py +139 -0
- ado_cli-0.0.1/src/ado/config.py +44 -0
- ado_cli-0.0.1/src/ado/git_utils.py +60 -0
- ado_cli-0.0.1/src/ado/ui.py +233 -0
- ado_cli-0.0.1/tests/mock_server.py +361 -0
- ado_cli-0.0.1/tests/test_client.py +48 -0
- ado_cli-0.0.1/tests/test_config.py +42 -0
- ado_cli-0.0.1/tests/test_integration.py +122 -0
- ado_cli-0.0.1/uv.lock +462 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
name: Publish to pypi
|
|
2
|
+
|
|
3
|
+
on: push
|
|
4
|
+
|
|
5
|
+
jobs:
|
|
6
|
+
publish-pypi:
|
|
7
|
+
permissions:
|
|
8
|
+
id-token: write
|
|
9
|
+
runs-on: ubuntu-latest
|
|
10
|
+
steps:
|
|
11
|
+
- uses: actions/checkout@v4
|
|
12
|
+
- name: Install uv
|
|
13
|
+
uses: astral-sh/setup-uv@v5
|
|
14
|
+
- name: build
|
|
15
|
+
run: uv build
|
|
16
|
+
- name: publish
|
|
17
|
+
run: uv publish
|
ado_cli-0.0.1/.gitignore
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
repos:
|
|
2
|
+
- repo: local
|
|
3
|
+
hooks:
|
|
4
|
+
- id: ruff-format
|
|
5
|
+
name: ruff format
|
|
6
|
+
entry: uv run ruff format
|
|
7
|
+
language: system
|
|
8
|
+
types: [python]
|
|
9
|
+
pass_filenames: true
|
|
10
|
+
|
|
11
|
+
- id: ruff-check
|
|
12
|
+
name: ruff check
|
|
13
|
+
entry: uv run ruff check
|
|
14
|
+
language: system
|
|
15
|
+
types: [python]
|
|
16
|
+
pass_filenames: true
|
ado_cli-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ado-cli
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: A GitHub CLI (gh) style interface for Azure DevOps Server (ado)
|
|
5
|
+
Author-email: Aaron Glover <aglove2189@gmail.com>
|
|
6
|
+
License: MIT
|
|
7
|
+
Keywords: ado,azure-devops,cli,devops,git
|
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
11
|
+
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Requires-Python: >=3.10
|
|
18
|
+
Requires-Dist: click>=8.3.1
|
|
19
|
+
Requires-Dist: httpx>=0.28.1
|
|
20
|
+
Requires-Dist: rich>=14.2.0
|
ado_cli-0.0.1/README.md
ADDED
|
File without changes
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "ado-cli"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "A GitHub CLI (gh) style interface for Azure DevOps Server (ado)"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.10"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [
|
|
13
|
+
{ name = "Aaron Glover", email = "aglove2189@gmail.com" }
|
|
14
|
+
]
|
|
15
|
+
keywords = ["ado", "azure-devops", "cli", "devops", "git"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 4 - Beta",
|
|
18
|
+
"Intended Audience :: Developers",
|
|
19
|
+
"License :: OSI Approved :: MIT License",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3.8",
|
|
22
|
+
"Programming Language :: Python :: 3.9",
|
|
23
|
+
"Programming Language :: Python :: 3.10",
|
|
24
|
+
"Programming Language :: Python :: 3.11",
|
|
25
|
+
"Programming Language :: Python :: 3.12",
|
|
26
|
+
]
|
|
27
|
+
dependencies = [
|
|
28
|
+
"click>=8.3.1",
|
|
29
|
+
"httpx>=0.28.1",
|
|
30
|
+
"rich>=14.2.0",
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
[project.scripts]
|
|
34
|
+
ado = "ado.cli:main"
|
|
35
|
+
|
|
36
|
+
[dependency-groups]
|
|
37
|
+
dev = [
|
|
38
|
+
"pre-commit>=4.5.1",
|
|
39
|
+
"pytest>=9.0.2",
|
|
40
|
+
"ruff>=0.14.13",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
[tool.hatch.build.targets.wheel]
|
|
44
|
+
packages = ["src/ado"]
|