youtrack-cli 0.3.4__tar.gz → 0.3.5__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.
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/PKG-INFO +1 -1
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/pyproject.toml +1 -1
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/uv.lock +1 -1
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/admin.py +2 -2
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/main.py +9 -5
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.claude/settings.local.json +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.github/dependabot.yml +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.github/workflows/ci.yml +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.github/workflows/release.yml +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.gitignore +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.pre-commit-config.yaml +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/.readthedocs.yaml +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/CLAUDE.md +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/PUBLISHING.md +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/README.md +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/Makefile +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/api/index.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/changelog.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/command-aliases.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/admin.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/articles.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/auth.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/boards.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/config.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/index.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/issues.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/projects.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/reports.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/time.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/commands/users.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/conf.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/configuration.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/development.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/index.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/installation.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/learning-path.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/logging.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/performance.md +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/progress-indicators.md +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/quickstart.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/requirements.txt +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/security.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/troubleshooting.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/workflows.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/docs/youtrack-concepts.rst +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/justfile +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/package-lock.json +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/package.json +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/__init__.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/conftest.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_admin.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_articles.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_auth.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_boards.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_config.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_issues.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_logging.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_main.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_projects.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_reports.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_security.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_time.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tests/test_users.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/tox.ini +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/__init__.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/articles.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/auth.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/boards.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/cache.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/cli_utils/__init__.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/cli_utils/aliases.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/client.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/__init__.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/articles.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/boards.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/common.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/issues.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/projects.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/time_tracking.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/commands/users.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/common.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/config.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/exceptions.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/issues.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/logging.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/performance.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/progress.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/projects.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/py.typed +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/reports.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/security.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/time.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/users.py +0 -0
- {youtrack_cli-0.3.4 → youtrack_cli-0.3.5}/youtrack_cli/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: youtrack-cli
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.5
|
|
4
4
|
Summary: YouTrack CLI - Command line interface for JetBrains YouTrack issue tracking system
|
|
5
5
|
Project-URL: Homepage, https://github.com/ryan-murphy/yt-cli
|
|
6
6
|
Project-URL: Documentation, https://yt-cli.readthedocs.io/
|
|
@@ -201,7 +201,7 @@ class AdminManager:
|
|
|
201
201
|
async with httpx.AsyncClient() as client:
|
|
202
202
|
try:
|
|
203
203
|
response = await client.get(
|
|
204
|
-
f"{credentials.base_url.rstrip('/')}/api/admin/globalSettings/license
|
|
204
|
+
f"{credentials.base_url.rstrip('/')}/api/admin/globalSettings/license?fields=id,username,license,error",
|
|
205
205
|
headers=headers,
|
|
206
206
|
timeout=10.0,
|
|
207
207
|
)
|
|
@@ -370,7 +370,7 @@ class AdminManager:
|
|
|
370
370
|
async with httpx.AsyncClient() as client:
|
|
371
371
|
try:
|
|
372
372
|
response = await client.get(
|
|
373
|
-
f"{credentials.base_url.rstrip('/')}/api/rest/usergroups",
|
|
373
|
+
f"{credentials.base_url.rstrip('/')}/hub/api/rest/usergroups",
|
|
374
374
|
headers=headers,
|
|
375
375
|
params=params,
|
|
376
376
|
timeout=10.0,
|
|
@@ -1044,11 +1044,15 @@ def usage(ctx: click.Context) -> None:
|
|
|
1044
1044
|
console.print(f"[red]Error:[/red] {result['message']}")
|
|
1045
1045
|
return
|
|
1046
1046
|
|
|
1047
|
-
|
|
1048
|
-
console.print("[bold]License
|
|
1049
|
-
console.print(f"
|
|
1050
|
-
console.print(f"
|
|
1051
|
-
console.print(f"
|
|
1047
|
+
license_data = result["data"]
|
|
1048
|
+
console.print("[bold]License Information:[/bold]")
|
|
1049
|
+
console.print(f"License ID: {license_data.get('id', 'N/A')}")
|
|
1050
|
+
console.print(f"Username: {license_data.get('username', 'N/A')}")
|
|
1051
|
+
console.print(f"License Key: {license_data.get('license', 'N/A')}")
|
|
1052
|
+
if license_data.get("error"):
|
|
1053
|
+
console.print(f"[red]Error:[/red] {license_data['error']}")
|
|
1054
|
+
else:
|
|
1055
|
+
console.print("[green]Status: Valid[/green]")
|
|
1052
1056
|
|
|
1053
1057
|
asyncio.run(run_license_usage())
|
|
1054
1058
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|