Closes #37
LUAFDN-784 We should try to download all tools before erroring. Currently, the tool will immediately crash if it finds a tool that it cannot install. This is not great, as a foreman.toml file may list some tools that the user doesn't have auth for, and the user will have to manually delete the entry for that tool.
Solution
Instead of halting execution when we encounter an error, catch the error and add it to an error map. Then we can display all the errors accumulated during execution after all downloads have been attempted.
Testing
Added a snapshot test for downloading all of the tools, even if there's an error in the middle.
Problem
Closes #37 LUAFDN-784 We should try to download all tools before erroring. Currently, the tool will immediately crash if it finds a tool that it cannot install. This is not great, as a foreman.toml file may list some tools that the user doesn't have auth for, and the user will have to manually delete the entry for that tool.
Solution
Instead of halting execution when we encounter an error, catch the error and add it to an error map. Then we can display all the errors accumulated during execution after all downloads have been attempted.
Testing
Added a snapshot test for downloading all of the tools, even if there's an error in the middle.