refactor: Move code into function, rename promptCallback to runCartridgeInstallation
refactor: Move code into function, rename promptCallback to runCartridgeInstallation

code-computerlove/slate-cli,cartridge/cartridge-cli,code-computerlove/quarry