From 1deffe0dc943d225a59e6a8010f687146dec8343 Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 6 May 2020 14:57:25 +0100 Subject: [PATCH] add list commands --- README.md | 3 +++ list-commands.sh | 13 +++++++++++++ 2 files changed, 16 insertions(+) create mode 100755 list-commands.sh diff --git a/README.md b/README.md index 505a872..7609aea 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ 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 wordpress directory from production * Script to set up local container using exported database/wordpress installation diff --git a/list-commands.sh b/list-commands.sh new file mode 100755 index 0000000..c28a29f --- /dev/null +++ b/list-commands.sh @@ -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 ""