diff --git a/blueprint.sh b/blueprint.sh index 76bcd37..fa40650 100644 --- a/blueprint.sh +++ b/blueprint.sh @@ -430,6 +430,7 @@ if [[ ( $2 == "help" ) || ( $2 == "-help" ) || ( $2 == "--help" ) ]]; then " "-build run an installation on your extension development files"" " "-export export your extension development files"" " "-runinstall rerun the blueprint installation script (advanced)"" +" "-collect collect debug information"" " "-upgrade (dev) update/reset to a newer pre-release version (advanced)"; fi; @@ -601,6 +602,13 @@ if [[ $2 == "-runinstall" ]]; then bash blueprint.sh; fi; +# -collect +if [[ $2 == "-collect" ]]; then + echo -e "@@@@@@@@@@@@ LOGS.TXT START @@@@@@@@@@@@\n\n"; + echo -e $(cat .blueprint/data/internal/debug/logs.txt); + echo -e "\n\n@@@@@@@@@@@@@ LOGS.TXT END @@@@@@@@@@@@@"; +fi; + # -upgrade if [[ $2 == "-upgrade" ]]; then log_yellow "[WARNING] This is an advanced feature, only proceed if you know what you are doing.\n";