Add "addon" console command to enable and disable addons

This commit is contained in:
Matthew Exon 2021-03-21 18:44:37 +01:00
parent 4dcdcd4d6f
commit 3545e9cfa8
2 changed files with 217 additions and 0 deletions

View file

@ -44,6 +44,7 @@ class Console extends \Asika\SimpleConsole\Console
Usage: bin/console [--version] [-h|--help|-?] <command> [<args>] [-v]
Commands:
addon Addon management
cache Manage node cache
config Edit site config
createdoxygen Generate Doxygen headers
@ -74,6 +75,7 @@ HELP;
}
protected $subConsoles = [
'addon' => Friendica\Console\Addon::class,
'cache' => Friendica\Console\Cache::class,
'config' => Friendica\Console\Config::class,
'createdoxygen' => Friendica\Console\CreateDoxygen::class,