avr-cli 0.1.1__tar.gz → 0.1.2__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.
Files changed (75) hide show
  1. {avr_cli-0.1.1 → avr_cli-0.1.2}/PKG-INFO +11 -12
  2. {avr_cli-0.1.1 → avr_cli-0.1.2}/README.md +10 -11
  3. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/PKG-INFO +11 -12
  4. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/_build_info.py +1 -1
  5. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/main.py +4 -1
  6. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/version.py +2 -0
  7. {avr_cli-0.1.1 → avr_cli-0.1.2}/pyproject.toml +1 -1
  8. {avr_cli-0.1.1 → avr_cli-0.1.2}/LICENSE +0 -0
  9. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/SOURCES.txt +0 -0
  10. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/dependency_links.txt +0 -0
  11. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/entry_points.txt +0 -0
  12. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/requires.txt +0 -0
  13. {avr_cli-0.1.1 → avr_cli-0.1.2}/avr_cli.egg-info/top_level.txt +0 -0
  14. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/__init__.py +0 -0
  15. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/api_client.py +0 -0
  16. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/assets/logo_mark.svg +0 -0
  17. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/audit.py +0 -0
  18. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/auth.py +0 -0
  19. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/billing.py +0 -0
  20. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/click_ext.py +0 -0
  21. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/__init__.py +0 -0
  22. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/auth_cmd.py +0 -0
  23. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/cache.py +0 -0
  24. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/config_cmd.py +0 -0
  25. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/health.py +0 -0
  26. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/internal.py +0 -0
  27. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/job.py +0 -0
  28. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/log.py +0 -0
  29. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/org.py +0 -0
  30. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/repo.py +0 -0
  31. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/run.py +0 -0
  32. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/settings.py +0 -0
  33. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/status.py +0 -0
  34. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/commands/workflow.py +0 -0
  35. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/config.py +0 -0
  36. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/display.py +0 -0
  37. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/docs_gen.py +0 -0
  38. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/firewall.py +0 -0
  39. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/helpers.py +0 -0
  40. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/json_output.py +0 -0
  41. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/log_display.py +0 -0
  42. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/metrics_display.py +0 -0
  43. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/output.py +0 -0
  44. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/paths.py +0 -0
  45. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/repo_context.py +0 -0
  46. {avr_cli-0.1.1 → avr_cli-0.1.2}/avrea_cli/transport.py +0 -0
  47. {avr_cli-0.1.1 → avr_cli-0.1.2}/setup.cfg +0 -0
  48. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_api_client.py +0 -0
  49. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_auth.py +0 -0
  50. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_auth_login.py +0 -0
  51. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_cache.py +0 -0
  52. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_display.py +0 -0
  53. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_env_conventions.py +0 -0
  54. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_global_flags.py +0 -0
  55. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_helpers.py +0 -0
  56. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_job_list.py +0 -0
  57. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_job_metrics_cmd.py +0 -0
  58. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_job_view_logs.py +0 -0
  59. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_json_output.py +0 -0
  60. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_lazy_registry.py +0 -0
  61. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_log_display.py +0 -0
  62. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_metrics_display.py +0 -0
  63. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_output.py +0 -0
  64. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_piped_output.py +0 -0
  65. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_repo_context.py +0 -0
  66. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_run_attempts.py +0 -0
  67. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_run_list_flags.py +0 -0
  68. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_run_logs.py +0 -0
  69. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_run_view.py +0 -0
  70. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_settings.py +0 -0
  71. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_transport.py +0 -0
  72. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_web_flag.py +0 -0
  73. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_workflow_actions.py +0 -0
  74. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_workflow_run.py +0 -0
  75. {avr_cli-0.1.1 → avr_cli-0.1.2}/tests/test_workflow_view.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: avr-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Avrea command-line client
5
5
  Author-email: Avrea <support@avrea.com>
6
6
  License-Expression: Apache-2.0
@@ -31,18 +31,10 @@ Dynamic: license-file
31
31
 
32
32
  # Avrea CLI
33
33
 
34
- Official command-line client for [Avrea](https://avrea.com/) — `avr` brings runs, jobs, logs, and workflow control into your terminal so you don't have to bounce between tabs.
34
+ Official command-line client for [Avrea](https://avrea.com/). `avr` brings runs, jobs, logs, and workflow control into your terminal.
35
35
 
36
36
  ## Install
37
37
 
38
- The Homebrew tap and PyPI package are expected to release soon.
39
- Until the first release is available, install from source:
40
-
41
- ```sh
42
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
43
- uv run avr --version
44
- ```
45
-
46
38
  ### Homebrew
47
39
 
48
40
  ```sh
@@ -63,6 +55,13 @@ existing Python 3.14:
63
55
  pip install avr-cli
64
56
  ```
65
57
 
58
+ ### From source
59
+
60
+ ```sh
61
+ git clone https://github.com/avrea-com/cli && cd cli && uv sync
62
+ uv run avr --version
63
+ ```
64
+
66
65
  ## Authenticate
67
66
 
68
67
  Browser-based login (recommended):
@@ -84,7 +83,7 @@ Log out (revokes the active API key on the server):
84
83
  avr auth logout
85
84
  ```
86
85
 
87
- For non-interactive environments (CI, scripts), set a token via env var instead — see [Configuration](#configuration).
86
+ For non-interactive environments (CI, scripts), set a token via env var instead. See [Configuration](#configuration).
88
87
 
89
88
  ## Your first command
90
89
 
@@ -258,7 +257,7 @@ avr cache list --repo <repo> --web
258
257
 
259
258
  **Click-to-open in your terminal**
260
259
 
261
- IDs in tables are wrapped in OSC 8 hyperlinks — clicking opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
260
+ IDs in tables are wrapped in OSC 8 hyperlinks. Clicking one opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
262
261
 
263
262
  **Tab completion**
264
263
 
@@ -1,17 +1,9 @@
1
1
  # Avrea CLI
2
2
 
3
- Official command-line client for [Avrea](https://avrea.com/) — `avr` brings runs, jobs, logs, and workflow control into your terminal so you don't have to bounce between tabs.
3
+ Official command-line client for [Avrea](https://avrea.com/). `avr` brings runs, jobs, logs, and workflow control into your terminal.
4
4
 
5
5
  ## Install
6
6
 
7
- The Homebrew tap and PyPI package are expected to release soon.
8
- Until the first release is available, install from source:
9
-
10
- ```sh
11
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
12
- uv run avr --version
13
- ```
14
-
15
7
  ### Homebrew
16
8
 
17
9
  ```sh
@@ -32,6 +24,13 @@ existing Python 3.14:
32
24
  pip install avr-cli
33
25
  ```
34
26
 
27
+ ### From source
28
+
29
+ ```sh
30
+ git clone https://github.com/avrea-com/cli && cd cli && uv sync
31
+ uv run avr --version
32
+ ```
33
+
35
34
  ## Authenticate
36
35
 
37
36
  Browser-based login (recommended):
@@ -53,7 +52,7 @@ Log out (revokes the active API key on the server):
53
52
  avr auth logout
54
53
  ```
55
54
 
56
- For non-interactive environments (CI, scripts), set a token via env var instead — see [Configuration](#configuration).
55
+ For non-interactive environments (CI, scripts), set a token via env var instead. See [Configuration](#configuration).
57
56
 
58
57
  ## Your first command
59
58
 
@@ -227,7 +226,7 @@ avr cache list --repo <repo> --web
227
226
 
228
227
  **Click-to-open in your terminal**
229
228
 
230
- IDs in tables are wrapped in OSC 8 hyperlinks — clicking opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
229
+ IDs in tables are wrapped in OSC 8 hyperlinks. Clicking one opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
231
230
 
232
231
  **Tab completion**
233
232
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: avr-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Avrea command-line client
5
5
  Author-email: Avrea <support@avrea.com>
6
6
  License-Expression: Apache-2.0
@@ -31,18 +31,10 @@ Dynamic: license-file
31
31
 
32
32
  # Avrea CLI
33
33
 
34
- Official command-line client for [Avrea](https://avrea.com/) — `avr` brings runs, jobs, logs, and workflow control into your terminal so you don't have to bounce between tabs.
34
+ Official command-line client for [Avrea](https://avrea.com/). `avr` brings runs, jobs, logs, and workflow control into your terminal.
35
35
 
36
36
  ## Install
37
37
 
38
- The Homebrew tap and PyPI package are expected to release soon.
39
- Until the first release is available, install from source:
40
-
41
- ```sh
42
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
43
- uv run avr --version
44
- ```
45
-
46
38
  ### Homebrew
47
39
 
48
40
  ```sh
@@ -63,6 +55,13 @@ existing Python 3.14:
63
55
  pip install avr-cli
64
56
  ```
65
57
 
58
+ ### From source
59
+
60
+ ```sh
61
+ git clone https://github.com/avrea-com/cli && cd cli && uv sync
62
+ uv run avr --version
63
+ ```
64
+
66
65
  ## Authenticate
67
66
 
68
67
  Browser-based login (recommended):
@@ -84,7 +83,7 @@ Log out (revokes the active API key on the server):
84
83
  avr auth logout
85
84
  ```
86
85
 
87
- For non-interactive environments (CI, scripts), set a token via env var instead — see [Configuration](#configuration).
86
+ For non-interactive environments (CI, scripts), set a token via env var instead. See [Configuration](#configuration).
88
87
 
89
88
  ## Your first command
90
89
 
@@ -258,7 +257,7 @@ avr cache list --repo <repo> --web
258
257
 
259
258
  **Click-to-open in your terminal**
260
259
 
261
- IDs in tables are wrapped in OSC 8 hyperlinks — clicking opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
260
+ IDs in tables are wrapped in OSC 8 hyperlinks. Clicking one opens the matching console page in your browser (supported by iTerm2, Kitty, WezTerm, Ghostty, GNOME Terminal, Konsole, Windows Terminal, and most modern terminals). Disable with `--no-links` or `AVR_LINKS=0` if your terminal renders them as visible garbage.
262
261
 
263
262
  **Tab completion**
264
263
 
@@ -1,2 +1,2 @@
1
1
  # Auto-generated by .github/workflows/release.yml; do not edit.
2
- GIT_COMMIT = "a57532d65ecaae4a0be7ef8130a71aef4d6c6b6a"
2
+ GIT_COMMIT = "16e12ee4a59b6e39e22d29cb882d290478b3840a"
@@ -12,10 +12,13 @@ implementation modules import only when the user invokes the command.
12
12
 
13
13
  from avrea_cli import __version__
14
14
  from avrea_cli.click_ext import AliasGroup
15
+ from avrea_cli.version import IS_RELEASE_BUILD
15
16
  import click
16
17
  import os
17
18
  import sys
18
19
 
20
+ _VERSION_MESSAGE = "%(prog)s version %(version)s" if IS_RELEASE_BUILD else "%(prog)s version %(version)s (development)"
21
+
19
22
  # Each tuple: (name, import_path, attr, short_help_or_None, section_or_None).
20
23
  # section=None marks hidden commands (no help row) — they remain invokable.
21
24
  LazyCommandSpec = tuple[str, str, str, str | None, str | None]
@@ -127,7 +130,7 @@ def main() -> None:
127
130
  "--version",
128
131
  "-V",
129
132
  prog_name="avr",
130
- message="%(prog)s version %(version)s (development)",
133
+ message=_VERSION_MESSAGE,
131
134
  )
132
135
  @click.option(
133
136
  "--no-color",
@@ -21,6 +21,8 @@ try:
21
21
  except ImportError:
22
22
  _INJECTED_COMMIT = None
23
23
 
24
+ IS_RELEASE_BUILD = _INJECTED_COMMIT is not None
25
+
24
26
 
25
27
  def _get_version() -> str:
26
28
  try:
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "avr-cli"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Avrea command-line client"
9
9
  authors = [{ name = "Avrea", email = "support@avrea.com" }]
10
10
  readme = "README.md"
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