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

@mattab
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"
@tsteur
Owner

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

@tsteur
Owner

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

@tsteur
Owner

In b8fa99e: refs #4241 moving CoreConsole commands into subdirectory

@tsteur
Owner

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

@tsteur
Owner

In 225998c: refs #4241 added example command

@mattab mattab added this to the 2.0 - Piwik 2.0 milestone
@tsteur tsteur was assigned by mattab
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur tsteur refs #4241 let plugins add new console commands 1a3b068
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur tsteur refs #4241 moving CoreConsole commands into subdirectory b8fa99e
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur tsteur refs #4241 we no longer use templates 085c55f
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur tsteur refs #4241 added example command 225998c
@sabl0r sabl0r referenced this issue from a commit in sabl0r/piwik
@tsteur 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.