HW08: Automating Wordpress Install due Sat 21 Oct 23:59

\begin{purpose}
In this assignment you will write a substantial script to automate installation of
Wordpress.
\end{purpose}

Description

Write a script called wpinstall that will be invoked as follows:
wpinstall subdomain.mydomain --type=all

Where mydomain is any domain to which you have rights. The subdomain. can be omitted, but if present is any valid subdomain name. There type argument can be one of three values:

If the type argument is omitted then a value of all should be assumed. Your script should do some basic checking of parameters and exit with appropriate error messages if the parameters are absent of malformed.

The script should behave as follows:

Turning In Your Work

When you are finished upload your script as a .txt file into Canvas. Also, leave a comment with the assignment telling me where on your system the script is installed.