colacloud-cli 0.3.0__tar.gz → 0.3.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.
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/PKG-INFO +1 -1
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/pyproject.toml +1 -1
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/formatters.py +16 -14
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/.gitignore +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/.mcp.json +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/LICENSE +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/README.md +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/scripts/smoke_test.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/__init__.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/api.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/__init__.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/avas.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/barcode.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/colas.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/config.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/permittees.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/processing_times.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/production_reports.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/usage.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/utils.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/config.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/main.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/tests/__init__.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/tests/test_api.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/tests/test_cli.py +0 -0
- {colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/tests/test_config.py +0 -0
|
@@ -383,23 +383,25 @@ def format_permittee_detail(permittee: dict[str, Any], console: Console) -> None
|
|
|
383
383
|
console.print("[bold]Company Information[/]")
|
|
384
384
|
console.print(info_table)
|
|
385
385
|
|
|
386
|
-
# COLA stats
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
"Approved COLAs", format_number(permittee.get("colas_approved"))
|
|
394
|
-
)
|
|
395
|
-
if permittee.get("last_cola_application_date"):
|
|
386
|
+
# COLA stats (paid plans only)
|
|
387
|
+
if permittee.get("colas") is not None:
|
|
388
|
+
stats_table = Table(show_header=False, box=None, padding=(0, 2))
|
|
389
|
+
stats_table.add_column("Field", style="dim")
|
|
390
|
+
stats_table.add_column("Value")
|
|
391
|
+
|
|
392
|
+
stats_table.add_row("Total COLAs", format_number(permittee.get("colas")))
|
|
396
393
|
stats_table.add_row(
|
|
397
|
-
"
|
|
394
|
+
"Approved COLAs", format_number(permittee.get("colas_approved"))
|
|
398
395
|
)
|
|
396
|
+
if permittee.get("last_cola_application_date"):
|
|
397
|
+
stats_table.add_row(
|
|
398
|
+
"Last Application",
|
|
399
|
+
format_date(permittee.get("last_cola_application_date")),
|
|
400
|
+
)
|
|
399
401
|
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
402
|
+
console.print()
|
|
403
|
+
console.print("[bold]COLA Statistics[/]")
|
|
404
|
+
console.print(stats_table)
|
|
403
405
|
|
|
404
406
|
# Recent COLAs
|
|
405
407
|
recent_colas = permittee.get("recent_colas", [])
|
|
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
|
{colacloud_cli-0.3.0 → colacloud_cli-0.3.1}/src/colacloud_cli/commands/production_reports.py
RENAMED
|
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
|