Merge pull request #10116 from mexon/mat/addon-console-command

Add "addon" console command to enable and disable addons
This commit is contained in:
Hypolite Petovan 2021-04-02 14:34:23 -04:00 committed by GitHub
commit d666b6cb42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 215 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,