From 9852dceedd3b9e55069454f0a80f1c006dd5f3b7 Mon Sep 17 00:00:00 2001 From: Alain Schlesser Date: Mon, 25 Mar 2019 11:45:47 +0100 Subject: [PATCH] Add CLI command scaffolding --- src/Console/AsmpCommand.php | 60 +++++++++++++++++++++++++++++++++++++ src/ConsoleIntegration.php | 33 ++++++++++++++++++++ src/Plugin.php | 1 + 3 files changed, 94 insertions(+) create mode 100644 src/Console/AsmpCommand.php create mode 100644 src/ConsoleIntegration.php diff --git a/src/Console/AsmpCommand.php b/src/Console/AsmpCommand.php new file mode 100644 index 0000000..8a1f298 --- /dev/null +++ b/src/Console/AsmpCommand.php @@ -0,0 +1,60 @@ + + * : ID of the change to roll back. + * + * @param array $args Positional arguments. + * @param array $assoc_args Associative arguments. + */ + public function status( array $args, array $assoc_args ) { + WP_CLI::error( 'Not implemented yet' ); + } +} diff --git a/src/ConsoleIntegration.php b/src/ConsoleIntegration.php new file mode 100644 index 0000000..130d4a3 --- /dev/null +++ b/src/ConsoleIntegration.php @@ -0,0 +1,33 @@ +