add list commands

This commit is contained in:
Ray Elliott 2020-05-06 14:57:25 +01:00
parent d8dbbfc462
commit 1deffe0dc9
2 changed files with 16 additions and 0 deletions

View File

@ -4,6 +4,9 @@ TODO
## TODO ## TODO
* have wp-dev command that takes a command as an argument (e.g., create,
publish, etc)
* Script to export database from production database * Script to export database from production database
* Script to export wordpress directory from production * Script to export wordpress directory from production
* Script to set up local container using exported database/wordpress installation * Script to set up local container using exported database/wordpress installation

13
list-commands.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
echo ""
echo "wp-dev-container - provision container"
echo "wp-dev-create - create new configuration file"
echo "wp-dev-publish - publish to remote"
echo "wp-dev-testdata - install test data on development server"
echo "wp-dev-webserver - provision the web server"
echo ""
echo "All commands with the exception of 'wp-dev-create' must either have a"
echo "filename supplied as an argument or the default named configuration"
echo "file ('wp-dev-config') present in the working directory."
echo ""