about summary refs log tree commit diff stats
path: root/wiki/lib/plugins/cli.php
diff options
context:
space:
mode:
Diffstat (limited to 'wiki/lib/plugins/cli.php')
-rw-r--r--wiki/lib/plugins/cli.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/wiki/lib/plugins/cli.php b/wiki/lib/plugins/cli.php
new file mode 100644
index 0000000..721f547
--- /dev/null
+++ b/wiki/lib/plugins/cli.php
@@ -0,0 +1,11 @@
+<?php
+
+/**
+ * Base class for CLI plugins
+ *
+ * Provides DokuWiki plugin functionality on top of phpcli
+ */
+abstract class DokuWiki_CLI_Plugin extends \splitbrain\phpcli\CLI implements DokuWiki_PluginInterface {
+    use DokuWiki_PluginTrait;
+
+}