I just read the Drush Topic - A Wealth of Information article about the topic section in drush commands and I have added this topic to my drush commands:
$items['docs-onlyone'] = array( 'description' => 'Info about Only One.', 'hidden' => TRUE, 'topic' => TRUE, 'bootstrap' => DRUSH_BOOTSTRAP_DRUSH, 'callback' => 'drush_print_file', 'callback arguments' => array(dirname(__FILE__) . '/README.txt'), );
The problem is that the only way to see the new topic in the topic list once I use the
drush topic command is if I place my onlyone.drush.inc file inside the .drush folder.
Is this normal? I can't see the topic if I have my onlyone.drush.inc file inside my module folder.