B0_action_kitTools for actions and unit executions.
See also B0_http.
val download_url :
?env:B0_std.Os.Env.assignments ->
?stderr:B0_std.Os.Cmd.stdo ->
?args:B0_std.Cmd.t ->
?progress:bool ->
B0_env.t ->
?mode:int ->
force:bool ->
make_path:bool ->
B0_std.Net.Url.t ->
dst:B0_std.Fpath.t ->
(unit, string) Stdlib.resultdownload_url env' url file fetches the url (redirections are followed) using curl looked up in env' and the body to file with:
progress indicates whether progress should be reported on stderr. Defaults to true.args are arguments added to the invocation.env and stderr are given to the corresponding B0_std.Os.Cmd.run.