Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Let Plugins add new Console Tasks #4241

Closed
mattab opened this Issue · 5 comments

2 participants

Matthieu Aubry Thomas Steur
Matthieu Aubry
Owner

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"
Thomas Steur
Owner

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

Thomas Steur
Owner

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

Thomas Steur
Owner

In b8fa99e: refs #4241 moving CoreConsole commands into subdirectory

Thomas Steur
Owner

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

Thomas Steur
Owner

In 225998c: refs #4241 added example command

Matthieu Aubry mattab added this to the 2.0 - Piwik 2.0 milestone
Thomas Steur tsteur was assigned by mattab
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4241 let plugins add new console commands 1a3b068
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4241 moving CoreConsole commands into subdirectory b8fa99e
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4241 we no longer use templates 085c55f
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4241 added example command 225998c
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Thomas Steur tsteur refs #4241 added a command to generate a command f72fff5
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.