Internal refactorings to install command.
This simply extract logic out of installAction into separate helper functions. This makes the inputs to each of these explicit and removes data dependencies from a distance. This will make it easier in the future to pull out behaviour to be shared between the 'install' command and the 'env' command.
Showing with 276 additions and 194 deletions