Closed (fixed)
Project:
Drush
Version:
All-versions-4.x-dev
Component:
Documentation
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2011 at 14:33 UTC
Updated:
8 Jul 2011 at 03:21 UTC
Jump to comment: Most recent file
Comments
Comment #1
msonnabaum commentedComment #2
greg.1.anderson commentedOkay, this is perhaps the most picky re-open ever. :)
I was thinking that whatever function we recommend here should be guaranteed to never change, regardless of drush version, and furthermore, we should document the function as being the sanctioned function to check for in modules.
I think that drush_verify_cli is a pretty good choice, but I slightly prefer drush_main. Either way, it just needs a comment in drush.php to advertise the policy.
Comment #3
R.J. Steinert commentedAwesome! Thanks guys :).
Comment #4
greg.1.anderson commentedHere is a comment that recommends using drush_main.
Comment #5
msonnabaum commentedThat's fine with me. I just suggested drush_verify_cli because I saw features module was already using it, but drush_main is probably less likely to change.
Comment #6
moshe weitzman commentedCommitted