thedudeguy / Octoprint-Install-Script

An installation script to install Octoprint on Raspbian Stretch. Includes additional functions to configure additional Octoprint utilities such as TouchUI, the official Pi 7" LCD Screen, HAProxy and a custom boot splash screen.
7 stars 6 forks source link

Split source into multiple files #3

Open shafr opened 6 years ago

shafr commented 6 years ago

One more thing - have you considered extracting unrelated source code into separate files ? You can use source util.sh command to import functions from other files, this way you can have main file clean and just validating input and calling other functions.