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.

4 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_dispatch in includes/
Dispatch a given set of commands. Modules can add commands by implementing hook_drush_command().
_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 344
The Drush context API implementation.


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