Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APP-6720 in cli module download cmd, show options when platform not found #4538

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

abe-winter
Copy link
Member

@abe-winter abe-winter commented Nov 7, 2024

What changed

...

Why

...

Example output

Error output ('available platforms' on last line is new):

$ viam module download 
Info: Using "http://localhost:8080" as base URL value
Info: found version 0.0.4
Info: using current system platform linux/amd64
Error: Platform linux/amd64 not present for version 0.0.4. available platforms: linux/arm64-distro-debian

Success output:

$ viam module download --platform linux/arm64-distro-debian
Info: Using "http://localhost:8080" as base URL value
Info: found version 0.0.4
Info: saving to 0.0.4-linux-arm64-distro-debian/awinter-package-delete-test.tar.gz

@viambot viambot added the safe to test This pull request is marked safe to test from a trusted zone label Nov 7, 2024
@viambot viambot added safe to test This pull request is marked safe to test from a trusted zone and removed safe to test This pull request is marked safe to test from a trusted zone labels Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test This pull request is marked safe to test from a trusted zone
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants