flarum / framework

Simple forum software for building great communities.
http://flarum.org/
6.36k stars 835 forks source link

feat: cli command for enabling or disabling an extension #3816

Closed imorland closed 1 year ago

imorland commented 1 year ago

Changes proposed in this pull request: Adds a new CLI command to enable toggling of a given extension.

Usage:

 php flarum extension:enable blomstra-turnstile
 php flarum extension:disable blomstra-turnstile

Reviewers should focus on:

Screenshot image

image

Necessity

Confirmed

Required changes:

SychO9 commented 1 year ago

Are we planning to eventually add some kind of "enable/disable all" to this, or would that (and bisection) be a separate command?

The enabl/disable all could be eventually part of this same command I think, we'd probably use an all argument or --all option.

The bisect should be its own command imo