Let Plugins add new Console Tasks #4241

Closed
mattab opened this Issue Oct 26, 2013 · 5 comments

2 participants

@mattab
Piwik Open Source Analytics member

Thanks to the new Console functionality developed as part of #4121 we now have a powerful easy way to add ./console tasks:here

This ticket is to let plugins define one or several new console tasks.

For example a particular plugin could provide long running administrative tasks via the console. We could also start using the console more widely in Piwik core (eg. API plugin would allow to execute any request to api).

Example console task:

  • CoreUpdater plugin adds a new console task "./console update" which runs: ```php index.php -- "module=CoreUpdater"
@tsteur
Piwik Open Source Analytics member

In 1a3b068: refs #4241 let plugins add new console commands

@tsteur
Piwik Open Source Analytics member

In 3a2bfb0: refs #4241 moving translation commands to LanguagesManager

@tsteur
Piwik Open Source Analytics member

In b8fa99e: refs #4241 moving CoreConsole commands into subdirectory

@tsteur
Piwik Open Source Analytics member

In 085c55f: refs #4241 we no longer use templates

@tsteur
Piwik Open Source Analytics member

In 225998c: refs #4241 added example command

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone Jul 8, 2014
@tsteur tsteur was assigned by mattab Jul 8, 2014
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 let plugins add new console commands 1a3b068
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 moving translation commands to LanguagesManager 3a2bfb0
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 moving CoreConsole commands into subdirectory b8fa99e
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 we no longer use templates 085c55f
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 added example command 225998c
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur refs #4241 added a command to generate a command f72fff5
@sabl0r sabl0r pushed a commit to sabl0r/piwik that referenced this issue Sep 23, 2014
@tsteur tsteur fixes #4241 write explicitly that the developer is not done yet dab84bf
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment