Closed (works as designed)
Project:
Drush
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
28 Aug 2009 at 12:28 UTC
Updated:
1 Oct 2009 at 02:27 UTC
I've an issue with a command I'm implementing, called "cli".
I run `drush cli` and when it finish it runs also `sql cli`. What hapens is that both drush_cli_cli() and drush_sql_cli() are matched in drush_invoke() and both functions are called.
I can workaround this with no problem by changing the name of the command or explicitly define a callback. So it's not really a problem for me, but I wonder if this is the spected behaviour (by design) of drush_invoke. A feature or a bug :p
Comments
Comment #1
moshe weitzman commentedI think it is by design. Have to ask adrian for sure.