function drush_get_command

8.0.x drush_get_command()
6.x drush_get_command()
7.x drush_get_command()
3.x drush_get_command()
4.x drush_get_command()
5.x drush_get_command()
master drush_get_command()

Return the command being executed.

5 calls to drush_get_command()
drush_command in includes/
Entry point for commands into the drush_invoke API
drush_command_default_options in includes/
Conditionally include default options based on the command used.
drush_pm_post_pm_updatecode in commands/pm/
Post-command callback for updatecode.
unit_drush_init in tests/
_drush_sitealias_user_specified_list in commands/core/
Return the list of sites (aliases or local) that the user specified on the command line. If none were specified, then all are returned.


includes/, line 360
The Drush context API implementation.


function drush_get_command() {
  return drush_get_context('command');