4 * Commands and options for complete unit tests, to avoid relying on the
5 * ever-changing core command set.
9 * Implementation of hook_drush_command().
11 function completetest_drush_command() {
19 foreach ($commands as $command) {
20 $items[$command] = array(
21 'description' => 'No-op command, used to test various completions for commands that start the same as other commands.',
22 'bootstrap' => DRUSH_BOOTSTRAP_NONE,
23 'callback' => 'drush_completetest_noop',
24 'command-hook' => 'completetest_noop',
27 $items['aaaaaaaard']['arguments'] = array('name' => 'Name');
28 $items['aaaaaaaard']['options'] = array(
37 function drush_completetest_noop() {
42 * Command argument complete callback.
45 * Array of completions.
47 function completetest_completetest_noop_complete() {