bkeepers / strappydoo

bootstrap and run any project with the same command
MIT License
77 stars 7 forks source link

Try to install dependencies for each type of project #22

Open bkeepers opened 6 years ago

bkeepers commented 6 years ago

All of the scripts currently assume that you already have the necessary tools installed. For example, if you run strappy bootstrap in a project with a Brewfile, it assumes you already have Homebrew installed, or if there is a .csproj file, it assumes the dotnet CLI is installed…

For this tool to be truly magical, it should also attempt to install the implicit prerequisites necessary to run the desired command.

This will be interesting to accomplish cross-platform, but I think it's worth attempting. Ideally there would be an abstraction around package mangers that would allow you to run strappy install <command-name> and it would use the package manager for your platform to install the command.

We could easily start with homberew on macOS and apt on Linux as a proof of concept, and add support for other tools over time.

cc @mikemcquaid

MikeMcQuaid commented 6 years ago

This is a good idea but I'm probably unlikely to get to it myself đŸ˜­.