X-Git-Url: https://git.cweiske.de/shpub.git/blobdiff_plain/059c6ab77b8e63210b9afc266d62c9f543d4d7ae..d5dbb7068eeeee3ae5e92cee77763c1e70e28c97:/src/shpub/Command/AbstractProps.php diff --git a/src/shpub/Command/AbstractProps.php b/src/shpub/Command/AbstractProps.php index c9ea8bb..b581f3c 100644 --- a/src/shpub/Command/AbstractProps.php +++ b/src/shpub/Command/AbstractProps.php @@ -107,6 +107,20 @@ class Command_AbstractProps static::addOptJson($cmd); } + protected static function addOptHtml(\Console_CommandLine_Command $cmd) + { + $cmd->addOption( + 'html', + array( + 'short_name' => '-h', + 'long_name' => '--html', + 'description' => 'Text content is HTML', + 'action' => 'StoreTrue', + 'default' => false, + ) + ); + } + protected static function addOptJson(\Console_CommandLine_Command $cmd) { $cmd->addOption(