#!/usr/bin/env php . */ define('INSTALLDIR', realpath(dirname(__FILE__) . '/..')); require_once INSTALLDIR.'/scripts/commandline.inc'; foreach (StatusNet::getActivePlugins() as $plugin=>$args) { echo "$plugin: "; if ($args === null) { echo "(no args)\n"; } else { foreach ($args as $arg => $val) { echo "\n $arg: "; var_export($val); } echo "\n"; } echo "\n"; }