+ static::addOptJson($cmd);
+ }
+
+ protected static function addOptHtml(\Console_CommandLine_Command $cmd)
+ {
+ $cmd->addOption(
+ 'html',
+ array(
+ 'long_name' => '--html',
+ 'description' => 'Text content is HTML',
+ 'action' => 'StoreTrue',
+ 'default' => false,
+ )
+ );
+ }
+
+ protected static function addOptJson(\Console_CommandLine_Command $cmd)
+ {
+ $cmd->addOption(
+ 'json',
+ array(
+ 'long_name' => '--json',
+ 'description' => 'Send request data as JSON',
+ 'action' => 'StoreTrue',
+ 'default' => false,
+ )
+ );