DokuWiki

It's better when it's simple

User Tools

Site Tools


devel:cli_plugins

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
devel:cli_plugins [2018-04-25 16:27] andidevel:cli_plugins [2019-03-10 15:23] – [Example] Inserts required initial statements turnermm
Line 43: Line 43:
  
 <code php> <code php>
 +if(!defined('DOKU_INC')) die();
 +use splitbrain\phpcli\Options;
 +
 class cli_plugin_example extends DokuWiki_CLI_Plugin { class cli_plugin_example extends DokuWiki_CLI_Plugin {
  
devel/cli_plugins.txt · Last modified: 2023-09-02 00:16 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki