diff options
author | Erez Zukerman <1092548+ezuk@users.noreply.github.com> | 2021-11-05 13:33:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 13:33:31 -0400 |
commit | 8cc5a18796b208fff9f48414400ca703ccac9455 (patch) | |
tree | d2031f09f45023f59446865f1e21231138916b9c | |
parent | 96db616ef6d5b5cb85b2f2c16e426497b2366e06 (diff) |
Update README.md
-rw-r--r-- | README.md | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -20,6 +20,18 @@ Note: Raspberry pi users using the 32bit version of raspbian should run GOOS=linux GOARCH=arm go get -u github.com/zsa/wally-cli ``` +## Automating firmware downloads from the CLI + +To get your latest binary all you need to do is got to this url: `https://oryx.zsa.io/{layout ID}/latest/binary` + +A few things to note: + +- You can also replace the `latest` keyword with a revision ID if you want to get a specific revision. +- You can replace the `binary` keyword with `source`, to download the source code of your layout. +- The URL redirects to our CDN, so you will need to add the -L param to curl. If you use wget it should redirect by default. +- If the revision is not compiled, the endpoint will return a 404 +- If the layout is private, the endpoint will return a 401 + ## Installing dev dependencies Wally is compatible with Windows, Linux, and macOS. Developing using each platform requires some extra setup: |