avr-cli 0.7.0__py3-none-win_amd64.whl

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 (168) hide show
  1. avr_cli-0.7.0.data/data/share/avr/LICENSE +201 -0
  2. avr_cli-0.7.0.data/data/share/avr/README.md +461 -0
  3. avr_cli-0.7.0.data/data/share/avr/SECURITY.md +58 -0
  4. avr_cli-0.7.0.data/data/share/avr/THIRD-PARTY-NOTICES.txt +1541 -0
  5. avr_cli-0.7.0.data/data/share/avr/completions/_avr +25 -0
  6. avr_cli-0.7.0.data/data/share/avr/completions/avr.bash +38 -0
  7. avr_cli-0.7.0.data/data/share/avr/completions/avr.fish +17 -0
  8. avr_cli-0.7.0.data/data/share/avr/docs/INSTALL.md +115 -0
  9. avr_cli-0.7.0.data/data/share/avr/docs/REFERENCE.md +3632 -0
  10. avr_cli-0.7.0.data/data/share/avr/docs/reference.json +14874 -0
  11. avr_cli-0.7.0.data/data/share/avr/install-method +1 -0
  12. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-delete.1 +35 -0
  13. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-download.1 +35 -0
  14. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-get.1 +32 -0
  15. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-list.1 +38 -0
  16. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact.1 +48 -0
  17. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-audit-events-list.1 +50 -0
  18. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-audit-events.1 +36 -0
  19. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-device-login.1 +21 -0
  20. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-login.1 +23 -0
  21. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-logout.1 +16 -0
  22. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-status.1 +26 -0
  23. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-switch.1 +27 -0
  24. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth.1 +52 -0
  25. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-download.1 +25 -0
  26. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-list.1 +37 -0
  27. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-show.1 +35 -0
  28. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices.1 +29 -0
  29. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-add.1 +32 -0
  30. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-list.1 +32 -0
  31. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-remove.1 +26 -0
  32. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-set-default.1 +23 -0
  33. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods.1 +33 -0
  34. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-settings.1 +33 -0
  35. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-summary.1 +32 -0
  36. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-update-settings.1 +48 -0
  37. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing.1 +52 -0
  38. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-delete.1 +45 -0
  39. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-list.1 +69 -0
  40. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-usage.1 +41 -0
  41. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache.1 +44 -0
  42. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-get.1 +25 -0
  43. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-list.1 +15 -0
  44. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-set.1 +36 -0
  45. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-unset.1 +32 -0
  46. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config.1 +48 -0
  47. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-add.1 +47 -0
  48. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-delete.1 +29 -0
  49. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-flow-summaries.1 +47 -0
  50. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-list.1 +28 -0
  51. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-move.1 +32 -0
  52. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-set-default.1 +28 -0
  53. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-show.1 +28 -0
  54. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall.1 +60 -0
  55. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-health.1 +46 -0
  56. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-list.1 +77 -0
  57. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-logs.1 +52 -0
  58. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-metrics.1 +48 -0
  59. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-ssh.1 +28 -0
  60. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-view.1 +61 -0
  61. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-watch.1 +33 -0
  62. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job.1 +56 -0
  63. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-log-search.1 +59 -0
  64. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-log.1 +36 -0
  65. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-create.1 +34 -0
  66. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-claim.1 +46 -0
  67. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-list.1 +32 -0
  68. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-set.1 +35 -0
  69. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-verify.1 +46 -0
  70. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain.1 +34 -0
  71. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-add.1 +85 -0
  72. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-list.1 +32 -0
  73. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-remove.1 +41 -0
  74. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-rotate.1 +48 -0
  75. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-create.1 +45 -0
  76. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-delete.1 +43 -0
  77. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-list.1 +34 -0
  78. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-set.1 +45 -0
  79. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner.1 +34 -0
  80. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-set-selection.1 +49 -0
  81. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install.1 +42 -0
  82. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-list.1 +39 -0
  83. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-members.1 +42 -0
  84. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-configure.1 +73 -0
  85. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-enforcement.1 +40 -0
  86. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-remove.1 +25 -0
  87. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-show.1 +36 -0
  88. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-sp-metadata.1 +30 -0
  89. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-test.1 +33 -0
  90. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml.1 +42 -0
  91. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org.1 +56 -0
  92. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-pr-list.1 +57 -0
  93. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-pr.1 +36 -0
  94. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-clone.1 +44 -0
  95. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-list.1 +43 -0
  96. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-create.1 +57 -0
  97. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-disable.1 +53 -0
  98. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-enable.1 +50 -0
  99. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-locations.1 +44 -0
  100. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-place.1 +54 -0
  101. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-status.1 +49 -0
  102. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-unplace.1 +57 -0
  103. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror.1 +44 -0
  104. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-cancel.1 +52 -0
  105. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-check.1 +51 -0
  106. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-request.1 +53 -0
  107. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-requests.1 +44 -0
  108. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-view.1 +47 -0
  109. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror.1 +36 -0
  110. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo.1 +48 -0
  111. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-cancel.1 +38 -0
  112. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-diagnose.1 +40 -0
  113. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-list.1 +86 -0
  114. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-logs.1 +55 -0
  115. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-rerun.1 +51 -0
  116. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-view.1 +83 -0
  117. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-watch.1 +58 -0
  118. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run.1 +60 -0
  119. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-download.1 +45 -0
  120. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-generate.1 +62 -0
  121. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-list.1 +52 -0
  122. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-view.1 +59 -0
  123. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom.1 +48 -0
  124. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-list.1 +53 -0
  125. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-reset.1 +35 -0
  126. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-schema.1 +44 -0
  127. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-set.1 +40 -0
  128. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings.1 +48 -0
  129. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-status.1 +44 -0
  130. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-tests-list.1 +55 -0
  131. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-tests.1 +37 -0
  132. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-create.1 +63 -0
  133. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-list.1 +46 -0
  134. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-revoke.1 +35 -0
  135. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-view.1 +47 -0
  136. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token.1 +49 -0
  137. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-bootstrap.1 +87 -0
  138. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-capabilities.1 +36 -0
  139. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-create.1 +108 -0
  140. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-delete.1 +50 -0
  141. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-fork.1 +53 -0
  142. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-list.1 +51 -0
  143. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-metrics.1 +52 -0
  144. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-pause.1 +50 -0
  145. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-port-forward.1 +57 -0
  146. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-rdp.1 +50 -0
  147. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-resume.1 +50 -0
  148. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-rotate-https-label.1 +41 -0
  149. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-show.1 +40 -0
  150. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-ssh-config.1 +61 -0
  151. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-ssh.1 +63 -0
  152. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-update.1 +62 -0
  153. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-usage.1 +43 -0
  154. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-vnc.1 +50 -0
  155. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm.1 +104 -0
  156. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-list.1 +52 -0
  157. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-run.1 +60 -0
  158. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-view.1 +59 -0
  159. avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow.1 +44 -0
  160. avr_cli-0.7.0.data/data/share/avr/man/man1/avr.1 +108 -0
  161. avr_cli-0.7.0.data/data/share/avr/manifest.json +172 -0
  162. avr_cli-0.7.0.data/scripts/avr-cli.exe +0 -0
  163. avr_cli-0.7.0.data/scripts/avr.exe +0 -0
  164. avr_cli-0.7.0.dist-info/METADATA +13 -0
  165. avr_cli-0.7.0.dist-info/RECORD +168 -0
  166. avr_cli-0.7.0.dist-info/WHEEL +4 -0
  167. avr_cli-0.7.0.dist-info/licenses/LICENSE +201 -0
  168. avr_cli-0.7.0.dist-info/licenses/THIRD-PARTY-NOTICES.txt +1541 -0
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright 2026 Avrea
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,461 @@
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/avrea-com/cli/main/.github/banner.png" alt="Avrea CLI" width="640" />
3
+ </p>
4
+
5
+ # Avrea CLI
6
+
7
+ Official command-line client for [Avrea](https://avrea.com/). `avr` brings runs, jobs, logs, and workflow control into your terminal.
8
+
9
+ ## Install
10
+
11
+ AVR 0.7.0 uses a native Go executable, keeping the `avr` command and existing
12
+ package-manager upgrade paths. See [installation and updates](https://github.com/avrea-com/cli/blob/main/docs/INSTALL.md)
13
+ for supported platforms, installation methods, and upgrade details.
14
+
15
+ ### Homebrew
16
+
17
+ ```sh
18
+ brew install avrea-com/tap/avr
19
+ ```
20
+
21
+ ### PyPI
22
+
23
+ ```sh
24
+ uv tool install avr-cli
25
+ ```
26
+
27
+ These commands install the latest published version. Native wheels (0.7.0+)
28
+ require Python 3.9+ for installation; the installed `avr` executable runs
29
+ without Python. The older 0.6.0 package requires Python 3.14+ at runtime.
30
+ You can also install with pip:
31
+
32
+ ```sh
33
+ pip install avr-cli
34
+ ```
35
+
36
+ ### From source
37
+
38
+ ```sh
39
+ git clone git@github.com:avrea-com/cli.git
40
+ cd cli
41
+ make go-build
42
+ ./build/go/avr --version
43
+ ```
44
+
45
+ Source builds require Go 1.27.3+ and uv (for packaging tools). Run
46
+ `make test` for native and tooling tests, and `make lint` for both languages.
47
+
48
+ ### Verifying a release
49
+
50
+ Release artefacts (the native archives and PyPI wheels) carry keyless
51
+ [SLSA build provenance](https://slsa.dev/) signed via Sigstore. Verify a
52
+ downloaded artefact against this repository with the GitHub CLI:
53
+
54
+ ```sh
55
+ gh attestation verify avr_0.7.0_linux_amd64.tar.gz --repo avrea-com/cli
56
+ ```
57
+
58
+ A successful check confirms the artefact was built by this repository's release
59
+ workflow and has not been tampered with.
60
+
61
+ ## Authenticate
62
+
63
+ Browser-based login (recommended):
64
+
65
+ ```sh
66
+ avr auth login
67
+ ```
68
+
69
+ On a remote machine, VM, or terminal without a browser:
70
+
71
+ ```sh
72
+ avr auth device-login
73
+ ```
74
+
75
+ Open the displayed link on your laptop or phone, or scan the terminal QR code.
76
+ Confirm the code and approve the request. The CLI waits for approval and saves
77
+ the credential on the machine where you ran the command. Use `--no-qr` to hide
78
+ the QR code; the sign-in link is always displayed. QR output is omitted when
79
+ piped or when the terminal cannot display it. Device login requires support
80
+ on your Avrea server; `avr auth login` keeps its existing browser flow.
81
+
82
+ Show who you are and where you're pointing:
83
+
84
+ ```sh
85
+ avr auth status
86
+ avr config # combined: host, auth, active org, default repo, all with sources
87
+ ```
88
+
89
+ Log out (revokes the active API key on the server):
90
+
91
+ ```sh
92
+ avr auth logout
93
+ ```
94
+
95
+ For non-interactive environments (CI, scripts), set a token via env var instead. See [Configuration](#configuration).
96
+
97
+ ## Your first command
98
+
99
+ Inside any git checkout of an Avrea-connected repository:
100
+
101
+ ```sh
102
+ avr run list # uses git remote to scope the query
103
+ avr run view <run-id> # full run with jobs
104
+ avr run view <run-id> --log-failed # jump straight to failed-step output
105
+ ```
106
+
107
+ Auto-detection means most commands "just work" without `--repo`. Outside a git tree (or to override), pass `--repo org/name` or `--repo rep-xxx`.
108
+
109
+ ## Common workflows
110
+
111
+ **Clone from a nearby Git mirror**
112
+
113
+ ```sh
114
+ avr repo clone foo/faa
115
+ avr repo clone foo/faa my-checkout --depth 1 --branch main
116
+ avr repo clone foo/faa --placement https://git.fi.a.avrea.io
117
+ ```
118
+
119
+ Avrea uses a single available placement directly. With multiple placements,
120
+ it picks the first mirror that responds successfully from your machine.
121
+ `--placement` accepts an advertised mirror URL or hostname to select one
122
+ explicitly. Give the `owner/repository` name or an Avrea repository ID (`rep-...`).
123
+ Requires Git 2.31 or newer. The repository must already have Git mirroring
124
+ enabled and a usable placement.
125
+
126
+ `origin` stays on the selected read-only mirror. The clone installs a
127
+ repository-local credential helper so ordinary `git fetch` and `git pull`
128
+ obtain fresh Git tokens through your Avrea login. Push changes to the source
129
+ repository using a separate remote, for example:
130
+
131
+ ```sh
132
+ git remote add upstream git@github.com:foo/faa.git
133
+ git push upstream HEAD
134
+ ```
135
+
136
+ Tokens normally last one hour; scoped API keys are limited to ten minutes or
137
+ their remaining lifetime. Git tokens are never saved in the remote URL or
138
+ repository configuration. Keep `avr` installed and logged in for later Git
139
+ operations; the helper continues to use the API host used for the clone.
140
+
141
+ **Create a mirror at a location**
142
+
143
+ ```sh
144
+ avr repo mirror locations
145
+ avr repo mirror create foo/faa --location gsc-fi
146
+ avr repo mirror create group/subgroup/project --source gitlab --location gsc-fi
147
+ avr repo mirror status --repo group/subgroup/project --source gitlab
148
+ ```
149
+
150
+ `--source` defaults to `github`; `gitlab` supports nested group names. The
151
+ repository must already be connected to your Avrea organization. Use `--org`
152
+ to select an organization. Mirror management requires the organization's
153
+ Git-mirror feature and an admin role.
154
+
155
+ `--location` accepts a cluster ID, datacenter ID, or unique name from `locations`.
156
+ The command enables mirroring and adds the placement, preserving existing
157
+ placements. Sync runs asynchronously; use `status` to check it. Repeating
158
+ `create` is safe, including when enabling succeeded but placement failed.
159
+ `locations` and `create` also support `--json` and `--jq`.
160
+
161
+ GitLab repositories cannot be mirrored until GitLab mirroring is enabled
162
+ for your organization. `--source gitlab` is available for deployments that
163
+ support it, including repositories in nested groups. If a GitLab repository
164
+ returns “not found,” check its connection to Avrea, your access, and whether
165
+ GitLab mirroring is enabled.
166
+
167
+ **Watch a run live**
168
+
169
+ ```sh
170
+ avr run watch # auto-selects the latest active run for the current repo
171
+ avr run watch <run-id> # specific run
172
+ avr run watch <run-id> --exit-status # propagate the run's success/failure into the shell exit code
173
+ ```
174
+
175
+ **Triage a failure without leaving the terminal**
176
+
177
+ ```sh
178
+ avr run view <run-id> --log-failed # only the steps that failed, grouped by job
179
+ avr run logs <run-id> # full log dump, paginated
180
+ avr job logs <job-id> --follow # tail one job in real time
181
+ ```
182
+
183
+ **Read recorded tests from a run or job**
184
+
185
+ ```sh
186
+ avr tests <run-id> --job unit # select one job by name
187
+ avr tests <github-run-id> # a single-job run needs no selector
188
+ avr tests <job-id> # names, outcomes, timings and failures
189
+ avr tests <job-id> --status failed
190
+ avr tests <job-id> --test test_login
191
+ avr tests <job-id> --suite Authentication --class TestLogin
192
+ avr tests <job-id> --json '*' # reporting state and pagination
193
+ avr tests <job-id> --limit 500 # maximum matching occurrences to return
194
+ avr tests <job-id> --cursor '<cursor>' # resume with the same filters
195
+ ```
196
+
197
+ Accepts Avrea run IDs (`run-` or `awr-`), GitHub numeric run IDs, GitHub
198
+ Actions run URLs, Avrea console run URLs, and Avrea job IDs (`job-` or
199
+ `awj-`). `avr tests list <run-or-job>` is equivalent. A run selects one job,
200
+ not all jobs together. `--job NAME` matches a case-insensitive substring and
201
+ must identify one job; ambiguous names show the available jobs and IDs.
202
+ A run containing one job selects it automatically. The job's repository is
203
+ resolved automatically, or use `--repo owner/name`.
204
+
205
+ The listing reads the job's latest confirmed execution, without substituting
206
+ an older report. GitHub run URLs with `/attempts/N` select that run attempt;
207
+ there is no separate test-execution selector. Test names match exactly and
208
+ case-sensitively; test filters combine with AND. Outcomes are `passed`,
209
+ `failed`, `skipped` and `errored`. Repeated matches stay separate, with their
210
+ recorded failure messages shown directly. `--json FIELDS` and `--jq` also work.
211
+
212
+ Each invocation returns at most 1,000 occurrences and reads at most 20 result
213
+ pages. Filtering can produce empty pages with a continuation. If the search
214
+ stops before the report ends, the command says so; resume with the same job,
215
+ filters and `--cursor`. The retained count covers all tests, before filtering.
216
+ Missing or expired reports are distinct from zero matches or a retained
217
+ report containing zero tests. Complete describes collected reports, not
218
+ whether every expected test ran.
219
+
220
+ These commands require an API deployment supporting the corresponding reads.
221
+ Filtering fails explicitly if the server does not acknowledge the selectors.
222
+ File filters and test splitting are not supported. The commands do not rerun
223
+ tests or change collection.
224
+
225
+ **Trigger a workflow_dispatch**
226
+
227
+ ```sh
228
+ avr workflow run ci.yml # default branch
229
+ avr workflow run ci.yml --ref feat/x -f env=staging # with inputs
230
+ avr workflow run "Build and Deploy" --watch --exit-status # dispatch + watch + script-friendly exit
231
+ echo '{"env":"prod"}' | avr workflow run deploy.yml --json # inputs from stdin
232
+ ```
233
+
234
+ WORKFLOW accepts an Avrea ID (`wfl-...`), the GitHub numeric ID, a filename (`ci.yml`, `ci`), or the display name.
235
+
236
+ **SSH into a running job's VM**
237
+
238
+ ```sh
239
+ avr job ssh <job-id>
240
+ avr job ssh <job-id> --print-command # just print the ssh string
241
+ ```
242
+
243
+ **Live VM metrics while a job runs**
244
+
245
+ ```sh
246
+ avr job metrics <job-id> --watch # CPU/memory/IO gauges, streamed live
247
+ avr job metrics <job-id> # static post-mortem after the job ended
248
+ ```
249
+
250
+ **Long-running dev VMs**
251
+
252
+ Durable, org-scoped VMs reachable over SSH (plus RDP/VNC for a desktop), separate from job VMs. Create one with your key, then set it up in a single command:
253
+
254
+ ```sh
255
+ avr vm create --name dev --os linux --size 2-vcpu \
256
+ --ssh-key @~/.ssh/id_ed25519.pub --wait # boot, wait for SSH, print connect
257
+ avr vm create --name ci --os linux --size 8-vcpu \
258
+ --repo org/project --disable-cache gha,packages # attach a repo, narrow which caches it uses
259
+ avr vm bootstrap <vm-id> --setup-github --install claude,codex \
260
+ --repo https://github.com/org/project --env AWS_REGION=eu-north-1
261
+ avr vm ssh <vm-id> # SSH session, host key pinned when published (or: -- <cmd>)
262
+ avr vm ssh <vm-id> --login -- claude -p 'summarize the repo' # one-off command in a login shell (sees forwarded env)
263
+ avr vm ssh <vm-id> --session dev # persistent tmux session, survives a dropped connection
264
+ avr vm ssh-config <vm-id> --append # add `ssh <alias>` (scp/rsync, VS Code Remote-SSH) to ~/.ssh/config
265
+ avr vm list ; avr vm pause <vm-id> # lifecycle
266
+ avr vm resume <vm-id> --wait
267
+ avr vm fork <paused-vm-id> --name experiment --wait
268
+ avr vm capabilities
269
+ avr vm create --os linux --arch arm64 --size 2-vcpu --https-port 3000 --https-port 8080
270
+ avr vm metrics <vm-id> --watch
271
+ ```
272
+
273
+ `bootstrap` runs each step over SSH and streams it live, feeding secrets (GitHub token, env values, agent credentials) on stdin rather than argv. `--forward-agent-creds` carries your local `ANTHROPIC_API_KEY` / `OPENAI_API_KEY`, or a Claude subscription token — if none is set it offers to run `claude setup-token` and forwards the pasted `CLAUDE_CODE_OAUTH_TOKEN`. Bootstrap changes survive pause and resume. `avr vm ssh` pins the VM's host key when its endpoint publishes one; if it doesn't, `avr` warns and falls back to trust-on-first-use — pass `--session <name>` to attach to (or create) a persistent tmux session that survives a dropped connection. A one-off `avr vm ssh -- <cmd>` runs in a non-login shell that sources no startup files, so pass `--login` when the command needs bootstrap-forwarded env (e.g. `claude`'s subscription token). `avr vm ssh-config` emits a host-key-pinned SSH config block so plain `ssh`, scp/rsync, and VS Code / Cursor Remote-SSH reach the VM without wrapping each tool — `--append` writes it into `~/.ssh/config` for you (idempotent: re-run after a resume to refresh the endpoint in place). For a desktop, `avr vm rdp` / `avr vm vnc` tunnel over the same SSH endpoint, and `avr vm port-forward` is the generic primitive (repeat `--port` to forward several ports over one connection). A VM created with `--repo` inherits that repository's build/CI caches; `--disable-cache <name>` narrows them per VM (it can turn an inherited cache off, never on).
274
+
275
+ VM references accept IDs or display names. Names are generated when omitted. TTL expiry pauses the VM, or deletes it when pausing is unavailable. Agent sandboxes boot once and cannot be paused or resumed. HTTPS URLs are public to anyone who has them; the first configured port is the default. Port updates apply live on a running VM, otherwise at the next start or resume; `avr vm rotate-https-label` replaces leaked URLs. Metrics watch uses a WebSocket stream for both VM and job metrics; explicit `--start`/`--end` windows require single-shot mode.
276
+
277
+ **Cancel or rerun a run**
278
+
279
+ ```sh
280
+ avr run cancel <run-id>
281
+ avr run rerun <run-id>
282
+ avr run rerun <run-id> --failed # only failed jobs
283
+ ```
284
+
285
+ **Workflow stats and the slowest steps**
286
+
287
+ ```sh
288
+ avr workflow list # aggregate stats per workflow over the last 30d
289
+ avr workflow view <wfl-id> # per-job p95/median/failure breakdown + recent runs
290
+ avr status # org-wide health: recent runs, slowest workflows, cache usage
291
+ ```
292
+
293
+ **Cache**
294
+
295
+ ```sh
296
+ avr cache list --repo <repo> # entries
297
+ avr cache usage --repo <repo> # size vs quota
298
+ avr cache delete --key <key> --type <type> --repo <repo>
299
+ ```
300
+
301
+ ## Scripting & automation
302
+
303
+ Every list/view command supports `--json` for structured output.
304
+
305
+ **Discover available fields**
306
+
307
+ ```sh
308
+ avr run list --json '?' # prints the field schema
309
+ ```
310
+
311
+ **Select specific fields**
312
+
313
+ ```sh
314
+ avr run list --json status,conclusion,head_branch
315
+ avr run list --json '*' # all fields
316
+ ```
317
+
318
+ **Pipe through `jq`**
319
+
320
+ ```sh
321
+ avr run list --json '*' -q '.[] | select(.conclusion == "failure") | .run_id'
322
+ avr workflow list --json name,runs -q '.[] | "\(.runs)\t\(.name)"'
323
+ ```
324
+
325
+ `-q/--jq` is built in (no need to pipe to `jq` yourself), but the schema-projected output is also `jq`-friendly.
326
+ The Go CLI uses embedded gojq, like GitHub CLI: object keys are sorted. For ordered columns use explicit fields, for example `[.status,.conclusion,.run_id]`. See [installation notes](docs/INSTALL.md#json-and-jq).
327
+
328
+ **Detect "auth required" in scripts**
329
+
330
+ ```sh
331
+ avr run list >/dev/null
332
+ case $? in
333
+ 0) ;;
334
+ 4) echo "logged out, re-auth needed"; exit 4 ;;
335
+ *) echo "transient failure" ;;
336
+ esac
337
+ ```
338
+
339
+ Exit code `4` is reserved for "auth required". `1` is general failure; `2` is a usage error. `130` means Ctrl-C
340
+ ended the command, including a watch, a log follow or a tunnel that is stopped that way.
341
+
342
+ **Scoped tokens for scripts and agents**
343
+
344
+ ```sh
345
+ avr token create --name ci-read --org <org-id> --repo acme/api --ttl 8h # prints the credential once
346
+ avr token create --name agent --org <org-id> --vm <vm-id> --allow-vm-create --vm-create-limit 3
347
+ avr token list
348
+ avr token view <token-id>
349
+ avr token revoke <token-id>
350
+ ```
351
+
352
+ A scoped token is a short-lived credential (60 seconds to 7 days, 8 hours by default) bound to one organization. Repository grants are read-only and VM grants are admin: it reads only the repositories it names, has admin access to only the VMs it names, and cannot create further tokens. `create` prints the `export AVR_TOKEN=...` and `export AVR_ORG=...` lines for whatever will use the token. Scoped tokens require the `org-...` ID in `AVR_ORG` or `--org`; they ignore the login's stored organization and cannot resolve a slug. `avr auth status` reports this configuration without checking whether the token is still live. A 403 or 404 comes with a reminder that the token reaches only what it names.
353
+
354
+ `avr repo clone acme/api` uses the `owner/repository` name directly.
355
+
356
+ With a scoped token, a repository name (`--repo acme/api`, `AVR_REPO` or the checkout's remote) is matched against the repositories the token reaches; a `rep-...` ID works as well. For runs, use the run ID rather than an Avrea console URL, whose organization slug cannot be resolved with a scoped token. Token IDs for `view` and `revoke` are `key-` followed by 32 lowercase hexadecimal characters.
357
+
358
+ Creation returns the credential only once. If `--jq` fails or removes it, the command falls back to the requested JSON without filtering and exits nonzero. Save the credential from that JSON. Output failures also report a revoke command on stderr without exposing the credential there. If the creation request is interrupted, its response is lost, or the answer is a server error (5xx), a token may already exist: check `avr token list` before retrying. Only a 503 that carries the API's own reason means that no token was created.
359
+
360
+ If `avr token create` returns a 404, check the API's reason, the organization and the API host. If scoped-token access is unavailable, contact support@avrea.com to request it. VM grants and `--allow-vm-create` also require customer VMs to be enabled for the organization. `list`, `view` and `revoke` remain available when token creation is disabled.
361
+
362
+ **Pipe-aware output**
363
+
364
+ When stdout isn't a TTY, list commands switch to tab-separated rows (no color, no truncation, ISO timestamps), so `avr run list | awk` works without flags. Control characters, Unicode line separators and bidirectional controls inside cells are escaped (`\t`, `\x1b`, `\u2028`), keeping each item on one row with stable columns. The escaping is not reversible: a literal backslash is left as it is, so a cell that reads `a\tb` may hold either a tab or a backslash and a `t`. Use `--json` when the exact value matters; JSON retains the original values. `avr run watch | jq -c .` automatically switches to NDJSON event mode.
365
+
366
+ ## Configuration
367
+
368
+ ### Environment variables
369
+
370
+ | Variable | Purpose |
371
+ | ---------------- | ------------------------------------------------------------------------------------------------ |
372
+ | `AVR_HOST` | Avrea API URL. Defaults to the active host in `hosts.json`, then `https://api.avrea.com`. |
373
+ | `AVR_TOKEN` | API key or scoped token. Overrides whatever's stored for the active host. |
374
+ | `AVR_ORG` | Default organization ID. Overrides the stored default. A scoped token needs it, or `--org`, except for `repo clone`. |
375
+ | `AVR_REPO` | Default repository (`org/name` or `rep-xxx`). Overrides git auto-detect. |
376
+ | `AVR_BROWSER` | Browser to launch for `--web` and OAuth login. Falls back to `BROWSER`, then system default. |
377
+ | `AVR_PAGER` | Pager for long output. Overrides `PAGER`. Set to empty string to disable paging. |
378
+ | `AVR_LINKS` | Set to `0` to disable OSC 8 hyperlinks. Same as `--no-links`. |
379
+ | `AVR_DEBUG` | Comma-separated debug categories. Set to `1`/`true` for general debug logging. |
380
+ | `AVR_PROMPT_DISABLED` | Refuse interactive prompts (scripts fail fast instead of hanging on stdin). |
381
+ | `AVR_CONFIG_DIR` | Override the config directory. Defaults to `$XDG_CONFIG_HOME/avrea` or `~/.config/avrea`. |
382
+ | `AVR_MACOS_NATIVE_PATHS` | Set to `1` on macOS to use `~/Library/...` instead of the default `~/.config/avrea`. |
383
+ | `NO_COLOR` | Disable colored output (any non-empty value). Same as `--no-color`. |
384
+
385
+ ### Config commands
386
+
387
+ ```sh
388
+ avr config # status: host, auth, org, repo with sources
389
+ avr config list # same as bare `avr config`
390
+ avr config set org <org-id> # store a default organization
391
+ avr config get org
392
+ avr config unset org
393
+ ```
394
+
395
+ Persistent state lives in `$XDG_CONFIG_HOME/avrea/hosts.json` (host-keyed credentials and per-host defaults).
396
+
397
+ ### Switching hosts
398
+
399
+ ```sh
400
+ avr auth switch # interactive picker across stored hosts
401
+ AVR_HOST=https://beta.api.avrea.com avr run list # one-shot override
402
+ ```
403
+
404
+ ## Tips
405
+
406
+ **Open anything on the console**
407
+
408
+ ```sh
409
+ avr run view <run-id> --web
410
+ avr workflow view <wfl-id> --web
411
+ avr cache list --repo <repo> --web
412
+ ```
413
+
414
+ **Click-to-open in your terminal**
415
+
416
+ 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.
417
+
418
+ **Tab completion**
419
+
420
+ ```sh
421
+ # bash
422
+ eval "$(_AVR_COMPLETE=bash_source avr)"
423
+ # zsh
424
+ eval "$(_AVR_COMPLETE=zsh_source avr)"
425
+ # fish
426
+ _AVR_COMPLETE=fish_source avr | source
427
+ ```
428
+
429
+ **Verbose mode**
430
+
431
+ ```sh
432
+ avr -v run list # prints HTTP requests, useful for debugging
433
+ ```
434
+
435
+ **Filter the help surface**
436
+
437
+ ```sh
438
+ avr --help # top-level groups
439
+ avr <group> --help # subcommands
440
+ avr <group> <command> --help # full flag list with examples
441
+ ```
442
+
443
+ ## Documentation
444
+
445
+ - Full command reference: [`docs/REFERENCE.md`](./docs/REFERENCE.md) (also available as `man avr`)
446
+ - Online docs: [docs.avrea.com/cli](https://docs.avrea.com/cli)
447
+ - Print the same reference inline: `avr --help` and `avr <command> --help`
448
+
449
+ ## Contributing and reporting issues
450
+
451
+ - Bug reports and feature requests: [github.com/avrea-com/cli/issues](https://github.com/avrea-com/cli/issues)
452
+
453
+ ## Reporting a vulnerability
454
+
455
+ If you believe you have found a security issue in `avr`, please email
456
+ <security@avrea.com>. Do not open a public issue. See [SECURITY.md](SECURITY.md)
457
+ for our coordinated-disclosure policy, response targets, and safe-harbour terms.
458
+
459
+ ## License
460
+
461
+ Licensed under the [Apache License, Version 2.0](./LICENSE). Copyright 2026 Avrea.