Is your feature request related to a problem? Please describe.
In a CI/CD environment, command line tools are often downloaded as part of the stage/job being executed. It would be useful to have a built-in way to automatically download files to the current directory.
Describe the solution you'd like
Add a --download option to the command line and downloads section to each stage in the config file. Multiple URLs should be supported and build-magic should be able to download the files in parallel to save time. Multiple protocols should be supported such as HTTP, HTTPS, SFTP, SCP (maybe), and file. The protocol, URI, and port should be parsed from the value and handled accordingly.
Is your feature request related to a problem? Please describe.
In a CI/CD environment, command line tools are often downloaded as part of the stage/job being executed. It would be useful to have a built-in way to automatically download files to the current directory.
Describe the solution you'd like
Add a
--downloadoption to the command line anddownloadssection to each stage in the config file. Multiple URLs should be supported and build-magic should be able to download the files in parallel to save time. Multiple protocols should be supported such as HTTP, HTTPS, SFTP, SCP (maybe), and file. The protocol, URI, and port should be parsed from the value and handled accordingly.