-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
654 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/execdl |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# execdl | ||
|
||
`execdl` downloads an executable, caches it, and `exec`s it with arguments. | ||
|
||
```shellsession | ||
$ execdl --help | ||
Usage of execdl: | ||
-http-timeout duration | ||
HTTP client timeout (default 5m0s) | ||
-url value | ||
[<OS>/<architecture>=]URL (at least one required to match) | ||
|
||
execdl downloads, caches, and executes executables. | ||
|
||
The runtime OS and architecture are matched against the given URL matchers. | ||
The first matching one in the order given is chosen as the URL to download. | ||
The matcher OS and architecture may be globs. | ||
As a special case, a plain URL with no matcher part is treated as if it was given with the matcher */*. | ||
URL fragments are treated as hex encoded digests for the download, and checked. | ||
|
||
The first non-flag argument or -- terminates execdl arguments. | ||
Remaining ones are passed to the downloaded one. | ||
|
||
The EXECDL_VERBOSE environment variable controls output verbosity; false decreases, true increases. | ||
``` | ||
|
||
## License | ||
|
||
SPDX-License-Identifier: Apache-2.0 |
Oops, something went wrong.