avr-cli 0.1.0__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.0 → avr_cli-0.1.2}/PKG-INFO +17 -12
  2. {avr_cli-0.1.0 → avr_cli-0.1.2}/README.md +16 -11
  3. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/PKG-INFO +17 -12
  4. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/_build_info.py +1 -1
  5. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/main.py +4 -1
  6. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/version.py +2 -0
  7. {avr_cli-0.1.0 → avr_cli-0.1.2}/pyproject.toml +1 -1
  8. {avr_cli-0.1.0 → avr_cli-0.1.2}/LICENSE +0 -0
  9. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/SOURCES.txt +0 -0
  10. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/dependency_links.txt +0 -0
  11. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/entry_points.txt +0 -0
  12. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/requires.txt +0 -0
  13. {avr_cli-0.1.0 → avr_cli-0.1.2}/avr_cli.egg-info/top_level.txt +0 -0
  14. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/__init__.py +0 -0
  15. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/api_client.py +0 -0
  16. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/assets/logo_mark.svg +0 -0
  17. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/audit.py +0 -0
  18. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/auth.py +0 -0
  19. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/billing.py +0 -0
  20. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/click_ext.py +0 -0
  21. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/__init__.py +0 -0
  22. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/auth_cmd.py +0 -0
  23. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/cache.py +0 -0
  24. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/config_cmd.py +0 -0
  25. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/health.py +0 -0
  26. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/internal.py +0 -0
  27. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/job.py +0 -0
  28. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/log.py +0 -0
  29. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/org.py +0 -0
  30. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/repo.py +0 -0
  31. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/run.py +0 -0
  32. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/settings.py +0 -0
  33. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/status.py +0 -0
  34. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/commands/workflow.py +0 -0
  35. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/config.py +0 -0
  36. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/display.py +0 -0
  37. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/docs_gen.py +0 -0
  38. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/firewall.py +0 -0
  39. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/helpers.py +0 -0
  40. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/json_output.py +0 -0
  41. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/log_display.py +0 -0
  42. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/metrics_display.py +0 -0
  43. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/output.py +0 -0
  44. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/paths.py +0 -0
  45. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/repo_context.py +0 -0
  46. {avr_cli-0.1.0 → avr_cli-0.1.2}/avrea_cli/transport.py +0 -0
  47. {avr_cli-0.1.0 → avr_cli-0.1.2}/setup.cfg +0 -0
  48. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_api_client.py +0 -0
  49. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_auth.py +0 -0
  50. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_auth_login.py +0 -0
  51. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_cache.py +0 -0
  52. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_display.py +0 -0
  53. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_env_conventions.py +0 -0
  54. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_global_flags.py +0 -0
  55. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_helpers.py +0 -0
  56. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_job_list.py +0 -0
  57. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_job_metrics_cmd.py +0 -0
  58. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_job_view_logs.py +0 -0
  59. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_json_output.py +0 -0
  60. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_lazy_registry.py +0 -0
  61. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_log_display.py +0 -0
  62. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_metrics_display.py +0 -0
  63. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_output.py +0 -0
  64. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_piped_output.py +0 -0
  65. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_repo_context.py +0 -0
  66. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_run_attempts.py +0 -0
  67. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_run_list_flags.py +0 -0
  68. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_run_logs.py +0 -0
  69. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_run_view.py +0 -0
  70. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_settings.py +0 -0
  71. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_transport.py +0 -0
  72. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_web_flag.py +0 -0
  73. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_workflow_actions.py +0 -0
  74. {avr_cli-0.1.0 → avr_cli-0.1.2}/tests/test_workflow_run.py +0 -0
  75. {avr_cli-0.1.0 → 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.0
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,31 +31,36 @@ 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:
38
+ ### Homebrew
40
39
 
41
40
  ```sh
42
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
43
- uv run avr --version
41
+ brew install avrea-com/tap/avr
44
42
  ```
45
43
 
46
- ### Homebrew
44
+ ### PyPI
47
45
 
48
46
  ```sh
49
- brew install avrea-com/tap/avr
47
+ uv tool install avr-cli
50
48
  ```
51
49
 
52
- ### PyPI
50
+ `uv tool install` puts `avr` on your `PATH` in an isolated environment
51
+ and fetches Python 3.14 automatically if you don't have it. Or, with an
52
+ existing Python 3.14:
53
53
 
54
54
  ```sh
55
55
  pip install avr-cli
56
56
  ```
57
57
 
58
- Requires Python 3.14 or later.
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
+ ```
59
64
 
60
65
  ## Authenticate
61
66
 
@@ -78,7 +83,7 @@ Log out (revokes the active API key on the server):
78
83
  avr auth logout
79
84
  ```
80
85
 
81
- 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).
82
87
 
83
88
  ## Your first command
84
89
 
@@ -252,7 +257,7 @@ avr cache list --repo <repo> --web
252
257
 
253
258
  **Click-to-open in your terminal**
254
259
 
255
- 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.
256
261
 
257
262
  **Tab completion**
258
263
 
@@ -1,30 +1,35 @@
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:
7
+ ### Homebrew
9
8
 
10
9
  ```sh
11
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
12
- uv run avr --version
10
+ brew install avrea-com/tap/avr
13
11
  ```
14
12
 
15
- ### Homebrew
13
+ ### PyPI
16
14
 
17
15
  ```sh
18
- brew install avrea-com/tap/avr
16
+ uv tool install avr-cli
19
17
  ```
20
18
 
21
- ### PyPI
19
+ `uv tool install` puts `avr` on your `PATH` in an isolated environment
20
+ and fetches Python 3.14 automatically if you don't have it. Or, with an
21
+ existing Python 3.14:
22
22
 
23
23
  ```sh
24
24
  pip install avr-cli
25
25
  ```
26
26
 
27
- Requires Python 3.14 or later.
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
+ ```
28
33
 
29
34
  ## Authenticate
30
35
 
@@ -47,7 +52,7 @@ Log out (revokes the active API key on the server):
47
52
  avr auth logout
48
53
  ```
49
54
 
50
- 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).
51
56
 
52
57
  ## Your first command
53
58
 
@@ -221,7 +226,7 @@ avr cache list --repo <repo> --web
221
226
 
222
227
  **Click-to-open in your terminal**
223
228
 
224
- 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.
225
230
 
226
231
  **Tab completion**
227
232
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: avr-cli
3
- Version: 0.1.0
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,31 +31,36 @@ 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:
38
+ ### Homebrew
40
39
 
41
40
  ```sh
42
- git clone https://github.com/avrea-com/cli && cd cli && uv sync
43
- uv run avr --version
41
+ brew install avrea-com/tap/avr
44
42
  ```
45
43
 
46
- ### Homebrew
44
+ ### PyPI
47
45
 
48
46
  ```sh
49
- brew install avrea-com/tap/avr
47
+ uv tool install avr-cli
50
48
  ```
51
49
 
52
- ### PyPI
50
+ `uv tool install` puts `avr` on your `PATH` in an isolated environment
51
+ and fetches Python 3.14 automatically if you don't have it. Or, with an
52
+ existing Python 3.14:
53
53
 
54
54
  ```sh
55
55
  pip install avr-cli
56
56
  ```
57
57
 
58
- Requires Python 3.14 or later.
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
+ ```
59
64
 
60
65
  ## Authenticate
61
66
 
@@ -78,7 +83,7 @@ Log out (revokes the active API key on the server):
78
83
  avr auth logout
79
84
  ```
80
85
 
81
- 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).
82
87
 
83
88
  ## Your first command
84
89
 
@@ -252,7 +257,7 @@ avr cache list --repo <repo> --web
252
257
 
253
258
  **Click-to-open in your terminal**
254
259
 
255
- 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.
256
261
 
257
262
  **Tab completion**
258
263
 
@@ -1,2 +1,2 @@
1
1
  # Auto-generated by .github/workflows/release.yml; do not edit.
2
- GIT_COMMIT = "12aa6ec8e806b441a2c279f0310452bdde183ad3"
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.0"
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