show diagnostics when a command has an error
add a function to create a module repo for testing