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.
- avr_cli-0.7.0.data/data/share/avr/LICENSE +201 -0
- avr_cli-0.7.0.data/data/share/avr/README.md +461 -0
- avr_cli-0.7.0.data/data/share/avr/SECURITY.md +58 -0
- avr_cli-0.7.0.data/data/share/avr/THIRD-PARTY-NOTICES.txt +1541 -0
- avr_cli-0.7.0.data/data/share/avr/completions/_avr +25 -0
- avr_cli-0.7.0.data/data/share/avr/completions/avr.bash +38 -0
- avr_cli-0.7.0.data/data/share/avr/completions/avr.fish +17 -0
- avr_cli-0.7.0.data/data/share/avr/docs/INSTALL.md +115 -0
- avr_cli-0.7.0.data/data/share/avr/docs/REFERENCE.md +3632 -0
- avr_cli-0.7.0.data/data/share/avr/docs/reference.json +14874 -0
- avr_cli-0.7.0.data/data/share/avr/install-method +1 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-delete.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-download.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-get.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact-list.1 +38 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-artifact.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-audit-events-list.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-audit-events.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-device-login.1 +21 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-login.1 +23 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-logout.1 +16 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-status.1 +26 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth-switch.1 +27 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-auth.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-download.1 +25 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-list.1 +37 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices-show.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-invoices.1 +29 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-add.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-list.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-remove.1 +26 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods-set-default.1 +23 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-payment-methods.1 +33 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-settings.1 +33 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-summary.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing-update-settings.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-billing.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-delete.1 +45 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-list.1 +69 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache-usage.1 +41 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-cache.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-get.1 +25 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-list.1 +15 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-set.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config-unset.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-config.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-add.1 +47 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-delete.1 +29 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-flow-summaries.1 +47 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-list.1 +28 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-move.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-set-default.1 +28 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall-show.1 +28 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-firewall.1 +60 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-health.1 +46 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-list.1 +77 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-logs.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-metrics.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-ssh.1 +28 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-view.1 +61 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job-watch.1 +33 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-job.1 +56 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-log-search.1 +59 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-log.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-create.1 +34 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-claim.1 +46 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-list.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-set.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain-verify.1 +46 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-email-domain.1 +34 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-add.1 +85 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-list.1 +32 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-remove.1 +41 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-rotate.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-create.1 +45 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-delete.1 +43 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-list.1 +34 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner-set.1 +45 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-runner.1 +34 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install-set-selection.1 +49 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-install.1 +42 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-list.1 +39 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-members.1 +42 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-configure.1 +73 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-enforcement.1 +40 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-remove.1 +25 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-show.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-sp-metadata.1 +30 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml-test.1 +33 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org-saml.1 +42 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-org.1 +56 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-pr-list.1 +57 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-pr.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-clone.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-list.1 +43 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-create.1 +57 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-disable.1 +53 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-enable.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-locations.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-place.1 +54 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-status.1 +49 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror-unplace.1 +57 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-mirror.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-cancel.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-check.1 +51 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-request.1 +53 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-requests.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror-view.1 +47 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo-public-mirror.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-repo.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-cancel.1 +38 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-diagnose.1 +40 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-list.1 +86 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-logs.1 +55 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-rerun.1 +51 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-view.1 +83 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run-watch.1 +58 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-run.1 +60 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-download.1 +45 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-generate.1 +62 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-list.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom-view.1 +59 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-sbom.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-list.1 +53 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-reset.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-schema.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings-set.1 +40 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-settings.1 +48 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-status.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-tests-list.1 +55 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-tests.1 +37 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-create.1 +63 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-list.1 +46 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-revoke.1 +35 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token-view.1 +47 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-token.1 +49 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-bootstrap.1 +87 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-capabilities.1 +36 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-create.1 +108 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-delete.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-fork.1 +53 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-list.1 +51 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-metrics.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-pause.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-port-forward.1 +57 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-rdp.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-resume.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-rotate-https-label.1 +41 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-show.1 +40 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-ssh-config.1 +61 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-ssh.1 +63 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-update.1 +62 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-usage.1 +43 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm-vnc.1 +50 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-vm.1 +104 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-list.1 +52 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-run.1 +60 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow-view.1 +59 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr-workflow.1 +44 -0
- avr_cli-0.7.0.data/data/share/avr/man/man1/avr.1 +108 -0
- avr_cli-0.7.0.data/data/share/avr/manifest.json +172 -0
- avr_cli-0.7.0.data/scripts/avr-cli.exe +0 -0
- avr_cli-0.7.0.data/scripts/avr.exe +0 -0
- avr_cli-0.7.0.dist-info/METADATA +13 -0
- avr_cli-0.7.0.dist-info/RECORD +168 -0
- avr_cli-0.7.0.dist-info/WHEEL +4 -0
- avr_cli-0.7.0.dist-info/licenses/LICENSE +201 -0
- avr_cli-0.7.0.dist-info/licenses/THIRD-PARTY-NOTICES.txt +1541 -0
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
#compdef avr
|
|
2
|
+
_avr_go_complete() {
|
|
3
|
+
local kind value description
|
|
4
|
+
local -a described plain
|
|
5
|
+
while IFS= read -r kind && IFS= read -r value && IFS= read -r description; do
|
|
6
|
+
case "$kind" in
|
|
7
|
+
plain)
|
|
8
|
+
if [[ "$description" == _ ]]; then
|
|
9
|
+
plain+=("$value")
|
|
10
|
+
else
|
|
11
|
+
described+=("$value:$description")
|
|
12
|
+
fi
|
|
13
|
+
;;
|
|
14
|
+
file) _files ;;
|
|
15
|
+
dir) _files -/ ;;
|
|
16
|
+
esac
|
|
17
|
+
done < <(COMP_WORDS="${(j: :)${(@q)words}}" COMP_CWORD="$((CURRENT-1))" _AVR_COMPLETE=zsh_complete "$words[1]")
|
|
18
|
+
(( ${#plain} )) && compadd -- "${plain[@]}"
|
|
19
|
+
(( ${#described} )) && _describe 'avr' described
|
|
20
|
+
return 0
|
|
21
|
+
}
|
|
22
|
+
compdef _avr_go_complete avr
|
|
23
|
+
case "${zsh_eval_context[-1]}" in
|
|
24
|
+
loadautofunc) _avr_go_complete "$@" ;;
|
|
25
|
+
esac
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
_avr_go_complete() {
|
|
2
|
+
local word quoted words="" record kind value candidate
|
|
3
|
+
COMPREPLY=()
|
|
4
|
+
if type compopt >/dev/null 2>&1; then compopt +o filenames 2>/dev/null; fi
|
|
5
|
+
for word in "${COMP_WORDS[@]}"; do
|
|
6
|
+
printf -v quoted '%q' "$word"
|
|
7
|
+
words="$words$quoted "
|
|
8
|
+
done
|
|
9
|
+
while IFS= read -r record; do
|
|
10
|
+
kind="${record%%,*}"
|
|
11
|
+
value="${record#*,}"
|
|
12
|
+
case "$kind" in
|
|
13
|
+
plain)
|
|
14
|
+
if ! type compopt >/dev/null 2>&1; then value="$value "; fi
|
|
15
|
+
COMPREPLY+=("$value") ;;
|
|
16
|
+
file|dir)
|
|
17
|
+
if type compopt >/dev/null 2>&1; then compopt -o filenames 2>/dev/null; fi
|
|
18
|
+
while IFS= read -r candidate; do
|
|
19
|
+
if [[ -d "$candidate" ]]; then candidate="$candidate/"; fi
|
|
20
|
+
# Bash 3.2 has no compopt; quote paths ourselves without
|
|
21
|
+
# classifying command suggestions as filenames.
|
|
22
|
+
if ! type compopt >/dev/null 2>&1; then
|
|
23
|
+
printf -v candidate '%q' "$candidate"
|
|
24
|
+
if [[ "$candidate" != */ ]]; then candidate="$candidate "; fi
|
|
25
|
+
fi
|
|
26
|
+
COMPREPLY+=("$candidate")
|
|
27
|
+
done < <(if [[ "$kind" == dir ]]; then compgen -d -- "$value"; else compgen -f -- "$value"; fi)
|
|
28
|
+
;;
|
|
29
|
+
esac
|
|
30
|
+
done < <(COMP_WORDS="$words" COMP_CWORD="$COMP_CWORD" _AVR_COMPLETE=bash_complete "${COMP_WORDS[0]}")
|
|
31
|
+
}
|
|
32
|
+
if type compopt >/dev/null 2>&1; then
|
|
33
|
+
complete -F _avr_go_complete avr
|
|
34
|
+
else
|
|
35
|
+
# Bash 3.2 cannot select filename handling per invocation. Add spaces
|
|
36
|
+
# explicitly for complete words, leaving directories open for more typing.
|
|
37
|
+
complete -o nospace -F _avr_go_complete avr
|
|
38
|
+
fi
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
function _avr_go_complete
|
|
2
|
+
set -l tokens (commandline -opc)
|
|
3
|
+
set -l full (commandline -cp)
|
|
4
|
+
set -l partial (commandline -ct)
|
|
5
|
+
for record in (env COMP_WORDS="$full" COMP_CWORD="$partial" _AVR_COMPLETE=fish_complete $tokens[1])
|
|
6
|
+
set -l parts (string split -m 1 , -- $record)
|
|
7
|
+
switch $parts[1]
|
|
8
|
+
case plain
|
|
9
|
+
printf '%s\n' "$parts[2]"
|
|
10
|
+
case file
|
|
11
|
+
__fish_complete_path "$parts[2]"
|
|
12
|
+
case dir
|
|
13
|
+
__fish_complete_directories "$parts[2]"
|
|
14
|
+
end
|
|
15
|
+
end
|
|
16
|
+
end
|
|
17
|
+
complete -c avr -f -a '(_avr_go_complete)'
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
# Install and update AVR
|
|
2
|
+
|
|
3
|
+
The native Go transition targets **0.7.0**, validated through CI artifacts before release.
|
|
4
|
+
These instructions describe the prepared release paths. Until that release
|
|
5
|
+
is published, normal package-manager installs still obtain Python 0.6.0.
|
|
6
|
+
PR artifacts can be downloaded and tested without changing your current `avr`.
|
|
7
|
+
|
|
8
|
+
Supported native targets: macOS 13+ on Apple Silicon, Linux AMD64/ARM64, and
|
|
9
|
+
Windows AMD64. Intel macOS builds are not included. PyPI
|
|
10
|
+
wheels support macOS 13+, glibc Linux AMD64/ARM64 and Windows AMD64. Alpine uses the standalone Linux binary and shell installer; install `curl` and
|
|
11
|
+
`ca-certificates` first. Alpine PyPI wheels and Intel macOS builds are not shipped.
|
|
12
|
+
On platforms without a compatible wheel, an unpinned PyPI upgrade may retain
|
|
13
|
+
Python 0.6.0. An exact request such as `uv tool install 'avr-cli==0.7.0'`
|
|
14
|
+
fails clearly if no compatible wheel exists. There is no fallback source distribution.
|
|
15
|
+
|
|
16
|
+
## Keep your existing installation method
|
|
17
|
+
|
|
18
|
+
| Installed with | Install | Update |
|
|
19
|
+
| --- | --- | --- |
|
|
20
|
+
| Homebrew | `brew install avrea-com/tap/avr` | `brew upgrade avr` |
|
|
21
|
+
| uv | `uv tool install avr-cli` | `uv tool upgrade avr-cli` |
|
|
22
|
+
| pipx | `pipx install avr-cli` | `pipx upgrade avr-cli` |
|
|
23
|
+
| pip, in an environment | `python -m pip install avr-cli` | `python -m pip install --upgrade avr-cli` |
|
|
24
|
+
| mise | `mise use -g github:avrea-com/cli@0.7.0` | Update your exact pin, or use `mise upgrade github:avrea-com/cli` with a floating version |
|
|
25
|
+
|
|
26
|
+
The PyPI package contains native executables named `avr` and `avr-cli`.
|
|
27
|
+
Python is needed by the package manager, but is not launched when running
|
|
28
|
+
AVR. The wheels have no Python runtime dependencies and require Python 3.9+
|
|
29
|
+
for installation. `uvx avr-cli` remains available.
|
|
30
|
+
|
|
31
|
+
For mise, the release includes `mise.toml` with an exact version, platform
|
|
32
|
+
asset names and checksums. Its built-in GitHub backend is sufficient; no AVR
|
|
33
|
+
plugin is required. Merge the `[tools]` entry into your existing configuration.
|
|
34
|
+
The GitHub-backed install can be tested end to end only after release assets
|
|
35
|
+
exist. [mise backend documentation](https://mise.jdx.dev/dev-tools/backends/github.html).
|
|
36
|
+
|
|
37
|
+
## Native installation without Python
|
|
38
|
+
|
|
39
|
+
Download `install.sh` or `install.ps1` from the desired GitHub release,
|
|
40
|
+
inspect it, then run it. Installers fetch versioned archives and verify their
|
|
41
|
+
SHA-256 sidecars before changing the destination. They do not request root,
|
|
42
|
+
modify shell profiles, or overwrite an installation belonging to a package
|
|
43
|
+
manager. Check `command -v avr` (PowerShell: `Get-Command avr`) if an older
|
|
44
|
+
installation is earlier on PATH.
|
|
45
|
+
|
|
46
|
+
Linux or macOS:
|
|
47
|
+
|
|
48
|
+
```sh
|
|
49
|
+
sh install.sh --version 0.7.0 --bin-dir "$HOME/.local/bin"
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Windows PowerShell:
|
|
53
|
+
|
|
54
|
+
```powershell
|
|
55
|
+
powershell.exe -NoProfile -ExecutionPolicy Bypass -File .\install.ps1 -Version 0.7.0 -BinDir "$env:LOCALAPPDATA\Avrea\bin"
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
The execution-policy override applies only to this process; organization policy still takes precedence. Inspect the downloaded script before running it. Both Windows PowerShell 5.1 and PowerShell 7 are tested.
|
|
59
|
+
|
|
60
|
+
Omitting the version selects the latest stable release, once a native stable
|
|
61
|
+
release exists. Re-running the installer upgrades its own installation;
|
|
62
|
+
passing an older version rolls it back. Add the printed directory to PATH.
|
|
63
|
+
An executable currently running on Windows may need to be closed first.
|
|
64
|
+
|
|
65
|
+
For manual installation, extract `avr_VERSION_TARGET.tar.gz` or `.zip`,
|
|
66
|
+
verify the checksum, and add its directory to PATH. Full archives also contain
|
|
67
|
+
completions, man pages, reference documentation and license notices. Installers
|
|
68
|
+
install only the executable. Generate completion source with
|
|
69
|
+
`_AVR_COMPLETE=bash_source avr`, `zsh_source`, or `fish_source`, and install it
|
|
70
|
+
using your shell's completion-directory conventions.
|
|
71
|
+
|
|
72
|
+
`avr vm bootstrap VM --install-avr` uses the same native shell installer to
|
|
73
|
+
install the release matching the local CLI's source version into the VM's
|
|
74
|
+
`~/.local/bin`. It needs curl, tar and SHA-256 tooling, but no Python. That
|
|
75
|
+
version must already have published release assets. The installer prints PATH
|
|
76
|
+
instructions and refuses to overwrite a package-managed installation; move or
|
|
77
|
+
remove that installation using its original package manager first.
|
|
78
|
+
|
|
79
|
+
## Credentials, rollback and admin
|
|
80
|
+
|
|
81
|
+
The command stays `avr`, using the existing configuration and credentials.
|
|
82
|
+
Installation does not log in, log out, or rewrite `hosts.json`.
|
|
83
|
+
|
|
84
|
+
Use your original package manager for rollback, for example
|
|
85
|
+
`uv tool install --force 'avr-cli==0.6.0'` or
|
|
86
|
+
`python -m pip install 'avr-cli==0.6.0'`. Python 0.6.0 requires Python 3.14+.
|
|
87
|
+
A native installer cannot install Python 0.6.0; use its former package manager.
|
|
88
|
+
|
|
89
|
+
`avr-admin` still imports Python `avrea_cli`. Its dependency must be pinned to
|
|
90
|
+
`avr-cli==0.6.0` in avrea-core before the native PyPI release. Install admin and
|
|
91
|
+
public AVR in separate environments. Existing admin installations need to
|
|
92
|
+
consume the updated dependency metadata; an older unbounded requirement is
|
|
93
|
+
not changed retroactively. Native wheels intentionally omit `avrea_cli`.
|
|
94
|
+
|
|
95
|
+
## JSON and jq
|
|
96
|
+
|
|
97
|
+
AVR uses embedded gojq, like GitHub CLI. Object keys are sorted,
|
|
98
|
+
`keys_unsorted` is unavailable, and there is no system-jq fallback. When column
|
|
99
|
+
order matters, name fields explicitly: `.[] | [.status,.conclusion,.run_id] | @tsv`.
|
|
100
|
+
|
|
101
|
+
## Update notices
|
|
102
|
+
|
|
103
|
+
Successful interactive commands may print an update notice on stderr. Checks
|
|
104
|
+
use the public GitHub stable-release feed and a local 24-hour cache. They are
|
|
105
|
+
best effort, have a two-second network deadline, and never delay command
|
|
106
|
+
completion. No Avrea credentials are sent and no update is installed.
|
|
107
|
+
The attempt timestamp is saved before the request. Short commands may exit
|
|
108
|
+
before it finishes; that attempt still suppresses another check for 24 hours.
|
|
109
|
+
|
|
110
|
+
Notices and checks are disabled for help, version, completion, hidden commands,
|
|
111
|
+
structured output, redirected stdout/stderr, CI and automation. Set
|
|
112
|
+
`AVR_NO_UPDATE_NOTIFIER=1` to disable them explicitly. Notices suggest Homebrew,
|
|
113
|
+
uv, pipx or mise commands when their installation path is recognizable;
|
|
114
|
+
otherwise they link to these instructions. Custom installation directories may
|
|
115
|
+
require choosing the appropriate package manager yourself.
|